Wikipedia:Bots/Requests for approval/HermesBot 11


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

HermesBot
Operator: Wikihermit

Automatic or Manually Assisted: Auto - unsupervised most likely

Programming Language(s): C#

Function Summary: find images with no source and tag them

Edit period(s) (e.g. Continuous, daily, one time run): continuous

Edit rate requested: 1 or 2 edits per minute

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

Function Details: Find images with no source/licensing information. If an image has any amount of text on the page, the bot skips it. This will help eliminate errors. If the bot finds an image with no source information (ie no text) the bot tags it with Di-no source then proceeds to notify the person who uploaded the image.

Discussion
--ST47 Talk·Desk 00:31, 23 August 2007 (UTC)
 * Just a comment about the code (As i re-wrote most of it for Wikihermit). As the bot is only tagging images where the description text is "", or is just whitespace, which when trimmed, is "", It is making an assumption that the last editor was the creator (Which IMHO is fairly valid - if someone had changed it, they would have tagged it somehow), so it may not necesserily be the creator/uploader, but in most cases it should be. Seems there is a potential minorish bug that Wikihermit has noted on Martinp23's talk page, as he requested help there first Reedy Boy 10:26, 23 August 2007 (UTC)
 * Yup, I came upon another bug Reedy Boy. The bot was working fine on most images, except it had the line pl.Remove(i.text); which I believe made it make these edits:. I added a line which makes it only edit the page if the page size is 0 bytes, which should make it work now. I'll keep running the trial to iron out any more errors. ~   Wi ki  her mit  19:26, 23 August 2007 (UTC)
 * Okay, I've been running it with no problems. Some diffs:tag, notify. Approve? ~   Wi ki  her mit  00:01, 24 August 2007 (UTC)
 * --ST47 Talk·Desk 17:31, 24 August 2007 (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.