Wikipedia:Bots/Requests for approval/RonBot 7


 * 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

RonBot 7
Operator:

Time filed: 19:50, Thursday, July 19, 2018 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python

Source code available: User:RonBot/7/Source1

Function overview: Adds Category:Association footballers not categorized by position to footballers articles, where their position has not been categorised.

Links to relevant discussions (where appropriate): Bot_requests/Archive_76

Edit period(s): Monthy

Estimated number of pages affected: Initial run 47,000, subsequent runs will be very small.

Namespace(s): Mainspace/Articles

Exclusion compliant (Yes/No): Yes

Function details:


 * Constructs a list(1) of players already categorised with a position.
 * To that list(1), adds a list of pages that do not need any attention (Category:Association football player non-biographical articles),
 * Checks the contents of the existing Category:Association footballers not categorized by position for correctness. If they should be there then add to the list(1) (so we don't process again), if they have be categorised then remove the category.
 * Get a list(2) of all football players. If they are in list(1) then ignore. Otherwise construct a list(3) for action later.
 * When all checked use list(3) to add the category.

The adding and removing subroutines tested on user space pages - Special:Contributions/RonBot at 18:15, 16 July 2018. A dummy run, saving the list of players to a file, and then pasted gave User:Ronhjones/Sandbox5 as the potential list of pages to be changed on the first run.

NB: The list in Item 2 is currently at Category:Association football player support pages, we are moving the category to a more meaningful name. Cat rename done

Discussion

 * please report back here after trial is done with diff range. — xaosflux  Talk 16:09, 20 July 2018 (UTC)
 * Five random pages were artificially "fixed" with Category:Association footballers not categorized by position :- (Brigitte Klinz, Nancy Gutiérrez, Laura Bassett, Vince Bartram, Denis Adamov, bot removed the category correctly at 16:54, 20 July 2018. Then correctly added the category to 45 pages, see Special:Contributions/RonBot at 19:15, 20 July 2018 to 19:16, 20 July 2018. Page User:Ronhjones/Sandbox5 contains the full list of pages (44503 pages) needing the category (including the 45 done in the trial)
 * Some example diffs:-
 * Removals...
 * https://en.wikipedia.org/w/index.php?title=Vince_Bartram&type=revision&diff=851186215&oldid=851185086
 * https://en.wikipedia.org/w/index.php?title=Nancy_Guti%C3%A9rrez&type=revision&diff=851186223&oldid=851185104
 * Additions...
 * https://en.wikipedia.org/w/index.php?title=Aaron_Maund&type=revision&diff=851202988&oldid=835723371
 * https://en.wikipedia.org/w/index.php?title=Aaron_Williams_%28footballer%29&type=revision&diff=851203072&oldid=849151601
 * Ron h jones (Talk) 19:30, 20 July 2018 (UTC)
 * We added a very minor tweak to stop it following redirects when it goes to add the category (won't add the category if it is a redirect). Ideally redirects should not be categorised, but it can be a left over from a change from an article. Ron h jones (Talk) 23:51, 23 July 2018 (UTC)
 * Trial was over a week ago, no negative feedback received, can we more forward with this one? Ron h jones (Talk) 18:46, 27 July 2018 (UTC)


 * with the following ramp-up schedule (you may always go slower and delay "wave 1":
 * Wave 1: 1000 edits, 1 day pause
 * Wave 2: 2000 edits, 1 day pause
 * Wave 3: 3000 edits, 1 day pause
 * Open editing.
 * — xaosflux  Talk 01:49, 1 August 2018 (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.