Wikipedia:Bots/Requests for approval/Harej bot
- 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: Harej (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 22:47, Monday, July 27, 2015 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available: Source on GitHub
Function overview: Moves WikiProject "meta-categories" (e.g. Category:Science WikiProjects) from a WikiProject's page to its eponymous category (e.g., from Wikipedia:WikiProject Biology to Category:WikiProject Biology) for those WikiProjects that have their own categories.
Links to relevant discussions (where appropriate): Discussion at WikiProject Council
Edit period(s): An initial run which will take several hours, followed by monthly runs
Estimated number of pages affected: Approximately 3,200 WikiProject pages and categories
Exclusion compliant (Yes/No): Yes, as pywikibot respects the bots template.
Already has a bot flag (Yes/No): Yes. Harej bot is older than dirt; its user page links to its original approval which pre-dates the BRFA process.
Function details: The bot pulls a list of WikiProjects that have categories identical to their name. There are currently 1,602 of these WikiProjects. The bot takes categories that are of the style "X WikiProjects" (e.g. Category:Science WikiProjects) and migrates them from the WikiProject page to its category. In each edit summary, the bot will link to a page explaining the edit.
This category migration will make WikiProject categories easier to browse through; rather than WikiProjects being sorted into a category twice through its page and its category, they are only sorted once through its category. It also makes it easier to update categories; they only need to be updated in one place instead of two. These WikiProject "meta-categories" are used to create pages in the WikiProject Directory and streamlining the categorization scheme will make it easier for the community to properly categorize these projects. Properly categorized WikiProjects are discoverable WikiProjects.
In the future the bot could migrate additional categories, but it is currently only migrating WikiProject meta-categories so as to create the narrowest, least controversial bot proposal.
Discussion
edit((BAGAssistanceNeeded)) Harej (talk) 22:47, 27 July 2015 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. -- Magioladitis (talk) 01:11, 2 August 2015 (UTC)[reply]
{{OperatorAssistanceNeeded}} Magioladitis (talk) 10:00, 11 August 2015 (UTC)[reply]
- Uh, I somehow forgot about this until last night. I will do a trial run soon. Harej (talk) 13:04, 11 August 2015 (UTC)[reply]
- Done. Magioladitis, the bot made 51 edits. (Sorry for going one over!) It appears all of the edits have been to remove categories from project-space pages, rather than add them to category-space pages, because the categories in question are already on those category-space pages. However, I suspect that if there was any difference between the two, the bot would have reconciled them. Also the bot has been making null edits (see e.g. [1]) but I regard these as mostly harmless. Other than that, bot is behaving as expected. Harej (talk) 17:13, 17 August 2015 (UTC)[reply]
Harej can you fix the null edits thing? -- Magioladitis (talk) 17:19, 17 August 2015 (UTC)[reply]
- This edit should take care of it. Harej (talk) 17:41, 17 August 2015 (UTC)[reply]
Approved. -- Magioladitis (talk) 18:32, 17 August 2015 (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.