Wikipedia:Bots/Requests for approval/APersonBot 8
- 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: APerson (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 19:53, Saturday, May 28, 2016 (UTC)
Automatic, Supervised, or Manual: supervised
Programming language(s): Python
Source code available: https://github.com/APerson241/APersonBot/blob/master/battle-catsort/battle-catsort.py
Function overview: Provides a sensible defaultsort for articles with titles that look like "Battle of X"
Links to relevant discussions (where appropriate): WP:BOTREQ#Proper catsorting and Wikipedia_talk:WikiProject_Military_history/Archive_135#Providing_a_sensible_defaultsort
Edit period(s): One time run
Estimated number of pages affected: Many (on the order of 5,000)
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: When the bot encounters an article about a military battle whose title has the form "Battle of X" that doesn't already have a defaultsort, it adds one with the sort key "X" in the proper spot (right before the categories).
Discussion
edit- {{BotTrial}}. — xaosflux Talk 14:57, 29 May 2016 (UTC)[reply]
- {{OperatorAssistanceNeeded}} Was this trial ever run? — xaosflux Talk 16:38, 11 June 2016 (UTC)[reply]
- I ran a few edits and realized I needed to make the logic a bit more complex. Then I started using mwparserfromhell. I sort of stopped working on it because I was busy with other projects, but I'll try diagramming the logic on paper and writing it in today. Enterprisey (talk!) (formerly APerson) 16:44, 11 June 2016 (UTC)[reply]
- Approved for trial (200 edits or 10 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. OK - restarting the trial timer. — xaosflux Talk 20:49, 11 June 2016 (UTC)[reply]
- Trial complete. @Xaosflux:. Enterprisey (talk!) (formerly APerson) 03:42, 12 June 2016 (UTC)[reply]
- Approved. Task approved. — xaosflux Talk 17:47, 17 June 2016 (UTC)[reply]
- Please use a staggered execution to leave time for any unusual use case feedback:
- 1000 edits, 2 day wait
- 1000 edits, 2 day wit
- Rest of your run
- — xaosflux Talk 17:47, 17 June 2016 (UTC)[reply]
- Please use a staggered execution to leave time for any unusual use case feedback:
- 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.