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: 20:40, Saturday, March 7, 2020 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Python (using pywikibot)

Source code available: github

Function overview: Remove blocked users from Category:Wikipedia usernames with possible policy issues.

Links to relevant discussions (where appropriate):

Edit period(s): Periodic run

Estimated number of pages affected: Total number unknown, but well under <4000 for the first run

Exclusion compliant (Yes/No): No

Already has a bot flag (Yes/No): Yes

Function details: The bot will create user page objects based on the page titles within Category:Wikipedia usernames with possible policy issues. It will then use pywikibot's user.isBlocked(). If the user is indeed blocked, then the category is removed as it is redundant. I have not started programming this bot, but will update with source code when done. Regarding concerns of pinging blocked users: this can be alleviated through having the edit marked as a minor bot edit. Minor bot edits do not trigger talk page notifications, as I figured out on accident when trying to trigger them in a commons bot task.

Discussion[edit]

This is a good idea. That category is very polluted with blocked usernames that make it far less useful. TSD is a trusted, experienced botop. This seems like the perfect application for Speedily Approved.. SQLQuery me! 02:35, 8 March 2020 (UTC)[reply]


Per SQL's confirmation this has been expanded to include locked accounts in its removal. Edit summaries are different for both events, but have the same outcome/result otherwise. In the event that an account is both locked and blocked, the "locked" edit summary wins out. This behaviour can be adjusted if desired through opening a discussion (and pinging me, preferably) on the talk page. --TheSandDoctor Talk 23:52, 8 April 2020 (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.