Wikipedia:Bots/Requests for approval/Amalthea (bot) 2
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was
Approved.
Operator: Amalthea (talk · contribs)
Time filed: 17:42, Monday February 6, 2012 (UTC)
Automatic-unsupervised, Automatic-supervised, or Manual: Automatic-unsupervised
Programming language(s): C#
Source code available: No
Function overview: WP:SPI clerking, specifically maintaining lists of open SPI case pages.
Links to relevant discussions (where appropriate): Task was approved previously and had been in operation during the last 18 months, but Δ appears to have left the project.
Edit period(s): Runs usually every fifteen minutes, each run will take roughly a dozen API queries and make up to five edits.
Estimated number of pages affected: Five pages.
Exclusion compliant (Y/N): No, the affected pages are explicitly and exclusively maintained by bot edits.
Already has a bot flag (Y/N): Yes.
Function details:
WP:SPI cases are organized as subpages of WP:Sockpuppet investigations. For easier processing of the cases they are transcluded on WP:SPI in four separate sections depending on their status, and listed in one case overview list. Maintaining those lists can be done by bot, and had been done by Δbot for 18 months. Since the user has apparently left the project and the bot stopped editing, this task shall now be taken over.
I point out that the bot is actually already doing the work detailed above and maintains those lists in my userspace since 20:15, 5 February 2012. Those userspace lists are also already transcluded on the SPI main page, to facilitate smooth functioning of the SPI process. There have been no problems or complaints thus far, the few spot checks I made also showed no mistakes.
Rough algorithm:
- Query Category:Open SPI cases to find all open cases, along with categorization timestamp
- Query current content of open cases to find the current case status, indicated by parameter to {{SPI case status}} template
- Query page history for all open cases to find last CU/clerk who edited the page (if necessary)
- Update case summary page at WP:Sockpuppet investigations/Cases/Overview
- Update transclusion pages (/Cases/Open, /Cases/Awaiting administrator, /Cases/Awaiting clerk, /Cases/Awaiting checkuser)
I may add an recent changes IRC listener at some point in the future to make the listing of new cases more prompt: filers are sometimes confused if they can't find their new case page on WP:SPI and regularly transclude it themselves incorrectly.
To summarize, task was approved previously, bot is more or less already in production without any problems. Formal approval would allow me to move the pages to project space where they belong.
Amalthea 17:42, 6 February 2012 (UTC)[reply]
Discussion
[edit] Approved for trial (7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. and you can keep running it at the end of the trial pending approval i the interest of system stability. MBisanz talk 21:40, 6 February 2012 (UTC)[reply]
Trial complete.
Almost missed it. Edits are good as far as I can tell. I made one minor tweak to case classification after clerk input, and there was a glitch a few hours ago when I transitioned from one server to a more stable one and the slightly updated code battled with the old one until I deactivated the old cronjob.
Amalthea 23:08, 13 February 2012 (UTC)[reply]
Approved. MBisanz talk 00:31, 14 February 2012 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.