User:Zackmann08/SetupAutoArchive
Appearance
| Description | Adds an option to enable automated archival in just one click to the More drop-down on talk pages |
|---|---|
| Author | Zackmann08 |
| Updated | October 26, 2025 (0 days ago) |
| Source | User:Zackmann08/SetupAutoArchive.js |
This lightweight script adds an option to enable automated archival in just one click to the More drop-down on talk pages.
It was created as a fork of User:Anne drew/SetupAutoArchive.js.
Installation
[edit]- Go to your common JavaScript and paste in the following line:
{{subst:iusc|User:Zackmann08/SetupAutoArchive.js}}
- Save the page.
Usage
[edit]- Go to any talk page and click the More dropdown
- Click "Setup Archive"
Disable on certain pages
[edit]There are a number of users who have expressed they DO NOT want their pages archived. To prevent the script from working on their page, you can add the following to your common JavaScript.
DoNotArchive = ['UserName1', 'UserName2'];
importScript('User:Zackmann08/SetupAutoArchive.js'); // Backlink: [[User:Zackmann08/SetupAutoArchive.js]]
This will result in the script aborting if you attempt to Setup Archiving on those pages. NOTE: It omits the namespace. So Talk:UserName1 and User talk:UserName1 are both disabled by the code above.