Wikipedia:Bots/Requests for approval/SoxBot 15


 * 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 Symbol keep vote.svg Approved.

SoxBot 15
Operator: X clamation point

Automatic or Manually Assisted: Automatic

Programming Language(s): PHP

Function Overview: A bot is requested to ensure that bad image tags (badimage) on image pages are kept synchronized with MediaWiki:Bad image list. Per BOTREQ

Edit period(s): Daily

Already has a bot flag (Y/N): Y

Function Details: The bot will do the following:
 * 1) Get transclusions of badimage
 * 2) For each one, it will check that it is on the bad image list
 * 3) If it is, it skips. If it isn't, it removes it.
 * 4) (addendum) If it is on the file talk page, it removes it and adds it to the file page.

And it will also...


 * 1) Get all images on the bad image list
 * 2) For each one, it checks if it transcludes badimage
 * 3) If it is, it skips. If it isn't, it adds it.

Discussion
The diffs look correct. I wish I hadn't made the mistake of looking at some of those images, though. Anomie⚔ 03:23, 4 May 2009 (UTC)
 * It appears as if the template is [ sometimes placed on the File page, and sometimes on File talk]. How are you going to handle this? Easiest and probably sufficient is to only add it to the File page, but to also remove transclusions from the respective File talk if its no longer on MediaWiki:Bad image list. Amalthea  00:50, 3 May 2009 (UTC)
 * Makes sense. Addendum made. X clamation point  01:01, 3 May 2009 (UTC)
 * Hmm, I'm guessing the "... and adds it to the file page" at #4 is a mistake though? Amalthea  11:16, 3 May 2009 (UTC)
 *  MBisanz  talk 04:50, 3 May 2009 (UTC)
 * Done at Bots/Requests for approval/SoxBot 15/Trial (NSFW). X clamation point  00:39, 4 May 2009 (UTC)


 * 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.