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 Approved.
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
[edit]Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. --ST47Talk·Desk 00:31, 23 August 2007 (UTC)[reply]
- 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)[reply]
- 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:[1][2]. 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. ~ Wikihermit 19:26, 23 August 2007 (UTC)[reply]
- Okay, I've been running it with no problems. Some diffs:tag, notify. Approve? ~ Wikihermit 00:01, 24 August 2007 (UTC)[reply]
- Approved. --ST47Talk·Desk 17:31, 24 August 2007 (UTC)[reply]
- Okay, I've been running it with no problems. Some diffs:tag, notify. Approve? ~ Wikihermit 00:01, 24 August 2007 (UTC)[reply]
- 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:[1][2]. 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. ~ Wikihermit 19:26, 23 August 2007 (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.