User:Elli/OneClickArchiver
| Authors | Elli (current), Evad37, Technical 13, and Equazcion |
|---|---|
| Status | Release |
| Updated | 17 July 2026 |
| Source | User:Elli/OneClickArchiver.js |
OneClickArchiver (source) – rewritten version of User:Evad37/OneClickArchiver.
- Please report issues on the talkpage (and be sure to ping me).
Features
[edit]- Rewritten as of July 2026 to no longer use jQuery
- Tags edits (see the latest changes made with the script)
- Now supports {{User:ClueBot III/ArchiveThis}} in addition to {{User:MiszaBot/config}}
- Supports both counter-based archiving and date-based archiving
- Works with the new section heading format (this was the original reason for forking)
Setup archiving on a page
[edit]This script requires archiving be setup on a page to work. To do this, you can add {{subst:Setup auto archiving}} to the top of the page.
If you want OCA to work but you only want manual archiving, you can use {{Archive basics}}.
Settings
[edit]To change the size of the "Archive" link, set the variable window.OCALinkSize = SIZE; in your common.js file; the default value is 0.6.
Responsible usage
[edit]Please consider not using this tool on talk pages you're otherwise not involved in, and make sure to respect local consensus regarding archiving norms.[1] Emptying out talk pages completely is also discouraged. Keeping some existing discussions—even if very old—is a very user-friendly way of saying "you are welcome to contribute here" to newer editors.
Notes
[edit]This script is designed for English Wikipedia. However, it may work for other wikis as well. If you would like to report an issue with how this script works on other wikis, please use the talkpage here.
Installation instructions
[edit]Hint: It's much easier if you get ScriptInstaller, then navigate to User:Elli/OneClickArchiver.js and click "Install" at the top.
However, here's the manual method:
- Place
{{subst:iusc|User:Elli/OneClickArchiver.js}}on Special:MyPage/common.js or a skin-specific page, like Special:MyPage/vector.js. - Clear your cache and enjoy!
- ↑ If an archiving bot has ceased working properly, consider fixing the problem instead of using this tool.