Wikipedia:Bots/Requests for approval/SoxBot 15


SoxBot 15

[[User:SoxBot|SoxBot]] 15

{{Newbot|SoxBot|15}}

Operator: Xclamation point

Automatic or Manually Assisted: Automatic

Programming Language(s): PHP

Function Overview: A bot is requested to ensure that bad image tags ({{tl|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 {{tl|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 {{tl|badimage}}
  3. If it is, it skips. If it isn't, it adds it.

=Discussion=

  • It appears as if the template is [{{fullurl:Special:WhatLinksHere/Template:Badimage|limit=500&hidelinks=1}} 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. Xclamation 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)
  • {{BotTrial|edits=50}} MBisanz talk 04:50, 3 May 2009 (UTC)
  • Done at Wikipedia:Bots/Requests for approval/SoxBot 15/Trial (NSFW). Xclamation point 00:39, 4 May 2009 (UTC)

{{BotApproved}} 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)

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