Jump to content

User:andrybak/Scripts/Archiver

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Andrybak (talk | contribs) at 21:32, 25 July 2024 (How to install: {{User:Andrybak/Templates/How to install}}). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Archiver
DescriptionSimplifies manual archiving
Author(s)Σ, Enterprisey, andrybak
First released2022-10-02
UpdatedOctober 1, 2024
    (8 months ago)
SkinsVector 2022, Vector (2010), MonoBook, Timeless
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

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

Preferences → Gadgets → Advanced → Tick 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');

Instructions

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.

History