[go: up one dir, main page]

Page MenuHomePhabricator

Find or invent a method for archiving SAL page messages
Open, Needs TriagePublicFeature

Description

SAL pages like https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.wikibugs/SAL (and certainly https://wikitech.wikimedia.org/wiki/Server_Admin_Log) often grow to a point where it is both difficult for MediaWiki to render the page and for users to find useful information.

I tried to apply archivebot.py to keeping SAL pages readable via archiving, but as @MarcoAurelio kindly pointed out that script does not understand how to deal with SAL which is not structured like a Talk page full of signed messages.

Stashbot uses a consistent method for adding content to SAL pages. This algorithm should be documented clearly somewhere that does not require source code analysis. That could then be used to generate requirements for an archiving script to be added to Stashbot itself or as a pywikibot script.

Event Timeline

Pages the archive marker template has now been removed from:

The config attempted on all 5 was this modulo the page titles:

<noinclude>{{User:MABot/config
|archive = Nova Resource:Tools.wikibugs/SAL/Archive %(counter)d
|algo = old(31d)
|counter = 1
|maxarchivesize = 31T
|minthreadsleft = 1
|minthreadstoarchive = 1
|archiveheader = {{Archive-header}}
}}
{{Archive box auto|base=Nova Resource:Tools.wikibugs/SAL}}
</noinclude>

I was apparently attempting to make roughly monthly archive pages although that is not exactly what this configuration would have resulted in.

I think it would be reasonable to offer annual archiving to a TITLE/YYYY subpage or monthly archiving to a TITLE/YYYY/MM subpage. This probably should be an opt-in action, or at the very least include an opt-out that can be applied to https://wikitech.wikimedia.org/wiki/Server_Admin_Log until there is some consensus about changing the (manual) archive mechanism there.