Operator: Mike Peel (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 20:21, Tuesday, January 1, 2019 (UTC)
Function overview: Fix or remove commons category links that are missing, or are to category redirects or disambiguation categories
Automatic, Supervised, or Manual: Automatic
Programming language(s): python (pywikibot)
Source code available: on bitbucket
Links to relevant discussions (where appropriate): Template_talk:Commons_category#The_next_steps_with_this_template_and_Wikidata (and threads below that)
Edit period(s): Daily
Estimated number of pages affected: Of order 10,000 to start with, maybe around 10 per day afterwards
Namespace(s): Articles and categories
Exclusion compliant (Yes/No): No
Function details: The bot looks through the contents of the maintenance categories at Category:Commons category link is locally defined and Category:Commons category link is defined as the pagename (which track differences between local commons sitelinks and those on wikidata) to find cases where the locally defined category links are to non-existent categories (then either removing the commons category completely, e.g. [1], or removing the local definition to use the commons sitelink from Wikidata, e.g. [2]), or are to category redirects or disambiguation categories (then removing the local link if the redirect/disambig page points to the commons sitelinked category).