Page MenuHomePhabricator

Make AWB checkpage(s) more structured
Open, Needs TriagePublicFeature

Description

This is specifically related to https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/CheckPage/Version

It should really be changed to being some sort of JSON type format (maybe even taking advantage of JSONConfig? Maybe overkill), and maybe a simple lua module to make a human readable version to be displayed on https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/CheckPage

Similar for Messages too, and other stuff after enabled users... Which itself should probably become JSON at somepoint, but adds to maintenance burden doing that just yet.

Current version:

==Enabled versions==
The following versions are enabled:
<!-- Current version: 5860 --><!-- Newest version: 5860 --><!-- Updater version: 2100 --><!-- Please always place the current version here for the AutoUpdater in this exact format without periods/full stops -->

* 4.6.2.0 enabled
* 5.8.6.0 enabled
* 5.8.6.1 enabled (svn)

==Global users==
<!--globalusers-->
* Addihockey10 (automated)
* Magioladitis
* MaxSem
* Reedy
* Rjwilmsi
<!--globalusersend-->

New version, WIP at https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/CheckPage/VersionJSON :

{
    "currentversion": "5860",
    "newestversion": "5860",
    "updaterversion": "2100",
    "enabledversions": [
        "4.6.2.0",
        "5.8.6.0",
        "5.8.6.1"
    ],
    "globalusers": [
        "Addihockey10 (automated)",
        "Magioladitis",
        "MaxSem",
        "Reedy",
        "Rjwilmsi"
    ]
}

I think we can simplify some of the duplication in version checking too... We don't need 2 seperate version formats for the updater and AWB itself... WIP!

Event Timeline

I thought there was some bug about moving wiki specific configuration onwiki.... Or am I thinking of T113152 doing it in AWB (when it could/should probably be onwiki too)

This comment was removed by Reedy.
Aklapper changed the subtype of this task from "Task" to "Feature Request".Nov 22 2022, 5:18 PM