Wikipedia:Bots/Requests for approval/TheSandBot 5
- 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: TheSandDoctor (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 05:01, Sunday, June 23, 2019 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: 1; User:RonBot/10/Source2 - only updated for running with TheSandBot
Function overview: Removes blank lines, duplicate entries and sorts sections of 2 defined pages
This is a 'take over' of Wikipedia:Bots/Requests for approval/RonBot 10 per request by Headbomb.
Links to relevant discussions (where appropriate): Special:Diff/903044794#Wikipedia:Bot_requests#Take_over_part_of_User:RonBot
Edit period(s): Daily
Estimated number of pages affected: 2
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: From RonBot 10's BRFA:
"From bot request - User:JL-Bot/Questionable.cfg and User:JL-Bot/Citations.cfg have a lot of entries. The botreq is simply to take every section and alphabetized them (case insensitive), strip linebreaks, and remove exact duplicates (case sensitive)"
This is a takeover using the same source code and only to be run so long as Ronhjones is gone, unless requested otherwise by Ron.
Discussion
[edit]Approved for trial. Please provide a link to the relevant contributions and/or diffs when the trial is complete. (1 full run) I'm involved, but this is so trivial a task that no one would care, and I'm about the only person affected by this. Trial granted for one full run. Headbomb {t · c · p · b} 05:11, 23 June 2019 (UTC)[reply]
- Trial complete. Headbomb. Special:Diff/907163331. --TheSandDoctor Talk 23:24, 20 July 2019 (UTC)[reply]
- @TheSandDoctor: what about User:JL-Bot/Publishers.cfg / User:JL-Bot/Citations.cfg / User_talk:JL-Bot/Citations.cfg? Headbomb {t · c · p · b} 07:27, 21 July 2019 (UTC)[reply]
- It wasn't in the code I picked up per your request. I will look into it asap, but it is getting far too late tonight. --TheSandDoctor Talk 07:31, 21 July 2019 (UTC)[reply]
- @TheSandDoctor: what about User:JL-Bot/Publishers.cfg / User:JL-Bot/Citations.cfg / User_talk:JL-Bot/Citations.cfg? Headbomb {t · c · p · b} 07:27, 21 July 2019 (UTC)[reply]
- For User:JL-Bot/Publishers.cfg, it just happened that the bot never touched that page because I asked Ron to do that after he disappeared. But for that one, just run the same code you ran on User:JL-Bot/Questionable.cfg.
- For User:JL-Bot/Citations.cfg, it's possible because the page was 'clean'. I added a test case that should get picked up.
- There also seems to be some issues with inline category sorting. It should basically be
{{JCW-selected|Foobar|Category:A|Category:B|Category:C|...|Article A|Article B|Article C|...}}
. This is possible a bug in the original code.
Feel free to re-run the bot on these pages. Headbomb {t · c · p · b} 07:43, 21 July 2019 (UTC)[reply]
- Approved. Primefac (talk) 22:16, 7 August 2019 (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.