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).