Archiver
Screenshot of usage of user script Archiver on a sandbox page. Several threads are selected for archival. Mouse cursor is hovering over the [archive] button near the heading of section titled "With subsections".
Archiver in action. Two sections were clicked: "Regular section at the top" and "With subsections". The corresponding subsections are selected automatically.
DescriptionSimplifies manual archiving
AuthorsΣ, Enterprisey, andrybak
First released2022-10-02
UpdatedAugust 17, 2025
    (3 months ago)
SkinsVector 2022, Vector (2010), MonoBook, Timeless, Modern, Cologne Blue
SourceUser:Andrybak/Scripts/Archiver.js

Archiver is a user script for semi-automatically archiving multiple talk page sections at a time. The script doesn't require manually typing archive pagename in most cases.

How to install

edit

On English Wikipedia it is recommended to install this script using the script-installer gadget, which can be turned on at:

Preferences → Gadgets → Advanced →   Install scripts without having to manually edit JavaScript files (documentation) (direct link)

Then you can go back to this page and click the big blue "Install" button in the infobox.

To install the script on another wiki (including your global.js), use the following snippet:

mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Andrybak/Scripts/Archiver.js&action=raw&ctype=text/javascript'); // Backlink: [[wikipedia:User:Andrybak/Scripts/Archiver.js]]

Instructions

edit

How to use the script after installation.

  1. Open the talk page you want to archive
  2. Click on "ⵙCA" (stands for "ⵙne Click Archiver") in "Tools"
  3. Click "[archive]" near the headers of sections you want to archive
  4. Click the big button "archive <number> selected threads" at the bottom of the page
  5. In the popup, check the full page name of the destination, which is calculated automatically.

Warning

edit

The script does not respect Category:Pages that should not be manually archived.

Destination page calculation

edit

To find the destination page for the archived sections, the script looks through subpages and tries to find an archive page with the highest number. Supported formats are /Archive 1 (most commonly used format), /Archive 2025 (format for annual archives) and a similar format with slashes instead of spaces (/Archive/1, not supported for yearly subpages). The script doesn't use templates that configure automatic archiving by bots (like {{User:MiszaBot/config}}), which is done by other similar scripts.

Usage

edit

Please consider not using any of these tools on talk pages you're otherwise not involved in. Also please respect local consensus regarding archiving old discussions; for instance, if you see parameters for an archive bot, that probably means you archiving (using these tools or otherwise) isn't necessary or even appreciated.[a] Also please consider not emptying out talk pages completely or reducing the number of topics below four (4). Some editors find a blanked-out talk page[b] visually jarring/unfamiliar and significantly less welcoming to newbie editors (keeping some existing discussions - even if very old - is a very user-friendly way of saying "you are welcome to contribute here"). Thank you for your understanding.

History

edit

Notes

edit
  1. ^ In particular, if the bot has ceased working properly, consider fixing the problem instead of using these tools
  2. ^ or even, if using the legacy Vector skin, a page with no Table of Content; one appears automatically only on pages with four or more top-level sections