Page MenuHomePhabricator

Allow reports_bot to operate on more than just English Wikipedia
Open, HighPublic

Description

Currently, reports_bot assumes that it is working on English Wikipedia. This is especially the case in project_index.py, which contains the WikiProjectTools class that houses a PyMySQL wrapper. At minimum, this wrapper should support more than just enwiki and the internal reports_bot database. Really, the thing should be re-architected to support any number of Wikimedia projects.

This could be accomplished through a class that comes up with all the pages in a WikiProject (or arbitrary listing of pages; see T116680), or all the WikiProjects that a page is a part of. This class could pull information directly from the wiki for such wikis that handle their WikiProjects in a sane manner, or from special databases created by maintenance scripts. (Essentially, project_index.py will become an enwiki-specific maintenance script.)

Event Timeline

Harej assigned this task to XZise.
Harej raised the priority of this task from to High.
Harej updated the task description. (Show Details)
Harej added a project: WikiProject-X.
Harej added subscribers: Aklapper, Harej.
Harej set Security to None.
Harej renamed this task from Make wikiproject_scripts project-agnostic to Allow wikiproject_scripts to operate on more than just English Wikipedia.Nov 5 2015, 1:49 AM
Harej moved this task from Needs Triage to Bugs/Improvements on the WikiProject-X board.
Harej renamed this task from Allow wikiproject_scripts to operate on more than just English Wikipedia to Allow reports_bot to operate on more than just English Wikipedia.Apr 11 2016, 2:59 PM
Harej updated the task description. (Show Details)
Harej added a subscriber: XZise.
Aklapper added a subscriber: Earwig.

This task has been assigned to the same task owner for more than two years. Resetting task assignee due to inactivity, to decrease task cookie-licking and to get a slightly more realistic overview of plans. Please feel free to assign this task to yourself again if you still realistically work or plan to work on this task - it would be welcome!

For tips how to manage individual work in Phabricator (noisy notifications, lists of task, etc.), see https://phabricator.wikimedia.org/T228575#6237124 for available options.
(For the records, two emails were sent to assignee addresses before resetting assignees. See T228575 for more info and for potential feedback. Thanks!)