ArchiveTool allows for the easy archiving of talk pages on your wiki.
Features
- Select single lines, sections or the whole talk page simply by clicking.
- Simply hit the "archive" button, select the lines/sections you want to archive, then hit "save".
- Multi-language support
- Supports ISO 639-1 localization.
Installation
Configuration
If you would like to change the options, insert the following above the script import:
window.ArchiveToolConfig = { archiveListTemplate: 'Archives', archivePageTemplate: 'Archivepage', archiveSubpage: 'Archive', userLang: true };
For an explanation of the available options, see "Options" below.
Please note that the ArchiveList template requires the DynamicPageList extension to be enabled on your wiki and this script automatically assumes it is present. You can find out if this extension is enabled by searching for "DynamicPageList" on Special:Version at your wiki. If it is not present, you will need to contact Wikia to request that it be enabled, otherwise the ArchiveList template will not generate any results and display raw code.
Options
- archiveListTemplate
- The name of the template that will be placed on top of the talk page, linking to the different archives.
- archivePageTemplate
- The name of the template that will be placed on top of the archive page, explaining that it is an archive.
- archiveSubpage
- The subpage name of archived pages on your wiki. For example, setting this to "Storage" would mean archived talk pages on your wiki are named "Talk:Example/Storage 1" etc.
- userLang
- By default, the script tries to display messages in the following languages:
- The user's language (specified in his/her preferences)
- The wiki's content language
- English if there are no messages in a desired language.
- You can disable this by setting the userLang option to false.
Updates
- 21 November 2011
- MarkosBoss: Added Polish translation.
- 20 November 2011
- Porter21: Fixed bug which prevented saving archives with numbers greater than 10.
- 5 September 2011
- Porter21: Update for new user page masthead (Wikia skin).
- 30 June 2011
- Porter21: Removed enclosing
''
for "archiving from/to" messages. - 24 May 2011
- Porter21: Added check for user blog comments and tidied up variable names for skin-specific settings.
- 22 May 2011
- Porter21: Small change to address warnings which appeared in the error console of certain browsers.
- 14 December 2010
- Porter21: Cosmetic changes.
- 29 November 2010
- Porter21: Made script use proper button mechanism for each skin
- 25 November 2010
- Porter21: Added support for multiple languages (using function by Dantman)
- Porter21: Changed config mechanism & added option to specify name of archive pages
- 24 November 2010
- Porter21: Added support for Monobook & Oasis
- Porter21: Added "abort" button
- Porter21: Fix for script not recognizing custom "ArchiveList" template on target page
- 30 June 2009
- Dantman: ArchiveTool finished and posted up