OneClickArchiver | |
---|---|
Description | Adds archive links to discussions, allowing one-click archiving of individual sections |
Author(s) | Equazcion |
Status | Stable |
Updated | October 22, 2013 |
Browsers | Firefox, Chrome, Opera |
Skins | Vector |
Source | User:Equazcion/OneClickArchiver.js |
- Note: This script is no longer being actively developed.
OneClickArchiver allows you to instantly archive a single discussion with a click, via an "archive" link that displays for each section on discussion pages.
Noticeboards and other high-traffic discussion pages, normally archived automatically by bots, have gotten long and less manageable recently due to bot instability. OneClickArchiver was created to better enable experienced editors to clear out old discussions themselves, without having to rely on bots. Any discussion page can be set up to use OneClickArchiver.
Public noticeboards should only be archived by experienced editors who understand when archiving is or is not appropriate. Respect a public page's posted archiving policy regarding how long its discussions must be inactive before they are archived. If you do not know how to do this, do not attempt to archive the page. |
Archive page
editThis script uses a page's MiszaBot configuration (see User:MiszaBot/config) to determine the archive page. You can enable OneClickArchiver support on a page without a MiszaBot configuration (such as your own user talk page) by using {{Archive basics}} and including its two required parameters. Clicking the archive link on pages without a MiszaBot configuration or {{Archive basics}} (with both required parameters) will not successfully perform an archive.
Further technical notes
edit- Activates only on pages that contain an "add section" tab.
- Only uses the bot configuration's page name and counter number. It will not respect the max archive size, for example, so it will continue archiving to the same page until the counter is changed manually or by an archiving bot.
- Its speed depends largely on the size of the archive and origin pages. Most pages archive quickly, but noticeboards that tend to get very long, like WP:ANI, can show a significant delay (in the neighborhood of 10-30 seconds, depending on how fast the servers are responding that day). The script code itself executes instantly, but the API's response time for page edits can cause delays.
Installation
editTo use this script: Copy the line below, then [click here], paste the line, and hit the save button.
{{subst:iusc|User:Equazcion/OneClickArchiver.js}}
- Report any issues on the talk page.