Wikipedia:Bots/Requests for approval/Main Page Image Bot
- The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Withdrawn by operator.
Operator: Chris
Automatic or Manually Assisted: Auto
Programming Language(s): PHP using my classes
Function Overview: Uploads images from commons that are on the mainpage locally if they're not protected at commons.
Edit period(s): Continuous
Already has a bot flag (Y/N): N
Function Details: Bot has two parts, one watches the irc feed for edits to the mainpage templates, and uploads as nessary. The other part runs on a five minute crontab which deletes images that are no longer on the mainpage and also runs an extra image check in case part A missed an image.
Discussion
editSource is here --Chris 10:19, 8 February 2009 (UTC)[reply]
- This is really useful, as it saves me from reporting which images need to be protected to commons administrators daily. However, I am a little bit vary of having the bot delete images. I remember the last main page bot did not do that, if I remember correctly. How will you ensure that it only deletes those particular images that it uploads. NuclearWarfare (Talk) 15:10, 8 February 2009 (UTC)[reply]
- East's one didn't delete, X!'s did. I don't see it deleting any images that it hasn't uploaded. This is how the deletion works:
- When the bot uploads an image it adds it to the bottom of a text file
- When the deletion part of the bot runs it loads all the images from the text file, if they're still on the mainpage it leaves them otherwise it deletes them and removes them from the text file. --Chris 12:26, 9 February 2009 (UTC)[reply]
- Are you planning to also implement functions that User:MPUploadBot had that gets the images on the TFA, SA, and POTD for tomorrow's Main Page? It was a concern raised on MPUploadBot's RBA. Cheers. Zzyzx11 (Talk) 21:16, 8 February 2009 (UTC)[reply]
- I hadn't thought about that, but I think I will --Chris 12:26, 9 February 2009 (UTC)[reply]
- As a side note, this bot would be excellent and save many users, including both en.wiki admins and commons admins alike a *lot* of time! :) The Helpful One 00:21, 9 February 2009 (UTC)[reply]
- Approved for trial (5 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. As usual, to be run under your main account, please clearly identify the bot edits as such. Richard0612 23:45, 13 February 2009 (UTC)[reply]
- De facto Withdrawn by operator. Operator has retired. Richard0612 18:04, 19 February 2009 (UTC)[reply]
- Approved for trial (5 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. As usual, to be run under your main account, please clearly identify the bot edits as such. Richard0612 23:45, 13 February 2009 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.