Wikipedia:Bots/Requests for approval/DannyS712 bot 28


 * 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

DannyS712 bot 28
Operator:

Time filed: 03:15, Monday, April 15, 2019 (UTC)

Automatic, Supervised, or Manual: supervised

Programming language(s): Python

Source code available: Pywikipedia

Function overview: Update Database reports/Polluted categories (2)

Links to relevant discussions (where appropriate):

Edit period(s): 1 edit per run, run as needed

Estimated number of pages affected: 1

Exclusion compliant (Yes/No): No

Already has a bot flag (Yes/No): Yes

Function details: Using PAWS and pywikibot, update Database reports/Polluted categories (2). The update code doesn't work perfectly yet, so some of the category names are broken, but that doesn't pose a problem for Task 27 (which is the reason I created the database report) since it'll just skip the category when it has no members because it doesn't exist. I've tested it on the test wiki, and the current output is visible at Special:Permalink/892521503. I count less than 2 dozen broken category names.

Code available at https://paws-public.wmflabs.org/paws-public/User:DannyS712_bot/Polluted%20categories%20(2).ipynb

Discussion

 * — xaosflux  Talk 03:38, 15 April 2019 (UTC)
 * how many times do you want me to run it within those 10 days? Once a day? --DannyS712 (talk) 03:38, 15 April 2019 (UTC)
 * You said it is 'run as needed' - so whatever you expect the normal run for this will end up being (keep it under 100 edits). — xaosflux  Talk 03:41, 15 April 2019 (UTC)
 * okay, definitely. I expect to run it once every few days (assuming task 27 is approved, I'll run it twice, once before I want to run 27, and once afterwards to see what I may have missed). I've done the first edit if you want to take a look. Thanks so much, --DannyS712 (talk) 03:43, 15 April 2019 (UTC)
 * the issue with the category names is still there, but even with that bug it is still helpful, and the bug causes no harm. Thanks, --DannyS712 (talk) 04:29, 25 April 2019 (UTC)
 * can you link to the edits (it wasn't just one was it?) — xaosflux  Talk 22:08, 26 April 2019 (UTC)
 * Never mind, looks fine. — xaosflux  Talk 22:09, 26 April 2019 (UTC)
 * task approved. — xaosflux  Talk 22:10, 26 April 2019 (UTC)
 * 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.