Wikipedia:Bots/Requests for approval/DuckBot
Operator: Allmightyduck (talk · contribs)
Automatic or Manually assisted: Automatic, unsupervised
Programming language(s): PHP using the Peachy Framework, and one direct API query.
Source code available: http://debugwiki.bot.duckydude.com/index.php?title=Source
Function overview: Notify sysop who has last event in block log of any WP:AIV backlogs.
Links to relevant discussions (where appropriate):
Edit period(s): Continuous
Estimated number of pages affected: Probably not more than 10 a week, AIV doesn't backlog that easily.
Exclusion compliant (Y/N): Yes
Already has a bot flag (Y/N):
Function details: This bot, every 5 minutes, will scan WP:AIV for the category Category:Administrative backlog, and if it is on the page, will read the block log from an API query. The sysop who performed the most recent entry in the block log will be given a template message on their talk page politely asking them if they would mind clearing that backlog.
Discussion
Is there consensus for this? I doubt a bot that "spams" (I realize it isn't spam, but it's an unrequested message) random sysops would have consensus, so it would be nice to see more discussion on this. It would be nice if instead of looking for the last blocks from all sysops, it looked for the last action from a list of sysops that have opted in to being notified by the bot. This would ensure that only administrators interested in clearing the backlog get the message, instead of for example a checkuser who happened to block someone last but is not involved in AIV getting the message. Ideally the list should be an on-wiki protected page, so admins can add and remove themselves easily as they wish. By the way, if you need any help with the programming, feel free to contact me on-wiki, on IRC, or by email, I've done a fair bit of programming with Peachy, so am able to help out or review your code. - EdoDodo talk 19:55, 3 September 2010 (UTC)
- This needs wider discussion. I'll go ahead and post to WP:VPP and WT:AIV. —I-20the highway 01:28, 6 September 2010 (UTC)
- Also, would this bot only inform one admin per backlog, or every admin that makes a block until the backlog is cleared? For example, say Admin A blocks a user, and then a backlog appears at AIV. Bot informs Admin A. While Admin A is clearing out the backlog, Admins B, C, and D all make blocks as well. Do admins B, C, and D also get notices? And will Admin A get a duplicate notice for every block he makes while clearing out the backlog? (This scenario assumes that A-D are all on any opt-in lists.) I would find that more than a little annoying, especially if these four all end up tripping over each other's feet trying to block everyone. Hersfold (t/a/c) 16:37, 8 September 2010 (UTC)
- Personally, I suggest the bot send the message to another admin only if the backlog isn't cleared after a specific amount of time, perhaps one hour, that the first message has been sent. - EdoDodo talk 17:09, 8 September 2010 (UTC)
- Also, would this bot only inform one admin per backlog, or every admin that makes a block until the backlog is cleared? For example, say Admin A blocks a user, and then a backlog appears at AIV. Bot informs Admin A. While Admin A is clearing out the backlog, Admins B, C, and D all make blocks as well. Do admins B, C, and D also get notices? And will Admin A get a duplicate notice for every block he makes while clearing out the backlog? (This scenario assumes that A-D are all on any opt-in lists.) I would find that more than a little annoying, especially if these four all end up tripping over each other's feet trying to block everyone. Hersfold (t/a/c) 16:37, 8 September 2010 (UTC)