Jump to content

Wikipedia:Bots/Requests for approval/DuckBot

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by EdoDodo (talk | contribs) at 19:55, 3 September 2010 (Discussion: Comment.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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)[reply]