User:Andrybak/Scripts/Archiver
|screenshot=Wikipedia andrybak Archiver screenshot.png
|screenshotalt=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".
|screenshot-caption=Archiver in action. Two sections were clicked: "Regular section at the top" and "With subsections". The corresponding subsections are selected automatically.
|author=Σ, Enterprisey, andrybak
|released=2022-10-02
|desc=Simplifies manual archiving
|skins = {{plainlist|
- {{y&}} Vector 2022
- {{y&}} Vector (2010)
- {{y&}} MonoBook
- {{y&}} Timeless
- {{y&}} Modern
- {{y&}} Cologne Blue
- {{n&}} Minerva Neue (mobile)
}}
}}
{{for|similar scripts|Wikipedia:One click archiving}}
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
{{User:Andrybak/Templates/How to install}}
Instructions
How to use the script after installation.
- Open the talk page you want to archive
- Click on "ⵙCA" (stands for "ⵙne Click Archiver") in "Tools"
- Click "[archive]" near the headers of sections you want to archive
- Click the big button "archive <number> selected threads" at the bottom of the page
- In the popup, check the full page name of the destination, which is calculated automatically.
= Warning =
The script does not respect {{tlg|DNAU}}.
= Destination page calculation =
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 {{CURRENTYEAR}}
(format for annual archives) and a similar format with slashes instead of spaces ({{nowrap|/Archive/1
}}, not supported for yearly subpages). The script doesn't use templates that configure automatic archiving by bots (like {{tlg|User:MiszaBot/config}}), which is done by other similar scripts.
History
- Currently, this script is a fork of User:Enterprisey/archiver (Special:Permalink/1113588553) – [{{fullurl:Special:ComparePages|page1={{urlencode:User:Enterprisey/archiver.js}}&page2={{urlencode:User:Andrybak/Scripts/Archiver.js}}}} current diff]
- Before incorporating changes of Enterprisey's version, this script was originally a fork of User:Σ/Testing facility/Archiver (Special:Permalink/1003561411) – [{{fullurl:Special:ComparePages|page1={{urlencode:User:Σ/Testing facility/Archiver.js}}&page2={{urlencode:User:Andrybak/Scripts/Archiver.js}}}} current diff]