Wikipedia:Bots/Requests for approval/Erwin85Bot 4
- 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.
Automatic or Manually Assisted: Unsupervised from Toolserver
Programming Language(s): python
Function Summary: Notify the uploader when an image is tagged with {{NowCommons}}.
Edit period(s) (e.g. Continuous, daily, one time run): Continuous
Already has a bot flag (Y/N): Y
Function Details: It idles in #en.wikipedia. Each time an image is edited it gets the current and old version and checks if {{NowCommons}} was added. If so, it gets the new file name and uploader's name, waits 10 minutes and if the uploader hasn't been notified by then leaves a message informing that the image is now available on Commons.
Source code: fisheye.toolserver.org
Discussion
editThis bot was created on request, see Wikipedia:Bot requests. --Erwin85 (talk) 10:28, 6 August 2008 (UTC)[reply]
- Note, the backlog-cleanup version of this bot is at Wikipedia:Bots/Requests for approval/Erwin85Bot 5. The original bot request is currently at Wikipedia:Bot requests/Archive 22#Now Commons Notification. – Quadell (talk) 13:20, 6 August 2008 (UTC)[reply]
- Should this wait until task 5 is complete before running, even for a trial? Is there a problem with them trialing concurrently? – Quadell (talk) 14:24, 6 August 2008 (UTC)[reply]
- Task 5 will check if an image is linked from the author's talk page. So they won't interfere. They can trial concurrently and if both are approved I will run them at the same time, because task 4 shouldn't start too long after task 5 starts. --Erwin85 (talk) 15:48, 6 August 2008 (UTC)[reply]
Approved for trial (5 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Let's see it. – Quadell (talk) 17:54, 8 August 2008 (UTC)[reply]
- It's running now. --Erwin85 (talk) 13:30, 9 August 2008 (UTC)[reply]
- Restarted to only notify in case of changed file names. --Erwin85 (talk) 09:30, 10 August 2008 (UTC)[reply]
- Restarted so the author won't be notified if he tagged the image himself. --Erwin85 (talk) 15:59, 10 August 2008 (UTC)[reply]
- Restarted new version with api.php support and support for multiple Wiki's. I plan on using this on the Dutch Wikipedia as well. --Erwin85 (talk) 10:32, 12 August 2008 (UTC)[reply]
- Restarted to leave a message for the last as well as the first uploader. I do the same for an IfD notifier that I've been running on the Dutch Wikipedia for over a year now. --Erwin85 (talk) 21:08, 12 August 2008 (UTC)[reply]
- Restarted new version with api.php support and support for multiple Wiki's. I plan on using this on the Dutch Wikipedia as well. --Erwin85 (talk) 10:32, 12 August 2008 (UTC)[reply]
- Actually, it would be preferable if it tagged images with the same name too. If an image is unused on EN then there is a good chance that the uploader will never be able to find it, or know what happened to it. If it is in thier watchlist, they will just come back and find it deleted. Even if it is used, they may not understand. Please see User talk:Mets501 for examples of this type of confusion. This may also encourage them to upload future free images straight to the Commons. ~ JohnnyMrNinja 15:57, 11 August 2008 (UTC)[reply]
- It doesn't matter to me. My bot can do both. Do others (BAG) agree in leaving a message for all tagged images? --Erwin85 (talk) 10:32, 12 August 2008 (UTC)[reply]
- I think that it's only useful for images with changed names. Even if an image is unused on EN, as Johnny says, then they can still pull up the image the same ways they always did. They won't find it deleted; they'll find in the same place, just with a "This is a file from the Wikimedia Commons..." notice. I didn't see any confusion on User talk:Mets501 regarding a user not able to find an image he uploaded, when the image was moved to Commons with the same name. So I still prefer the notice only for changed names. (But this is just my personal opinion as a Wikipedian. As a BAGger, I'm willing to approve the bot either way; it's up to Erwin85.) – Quadell (talk) 13:00, 12 August 2008 (UTC)[reply]
- It doesn't matter to me. My bot can do both. Do others (BAG) agree in leaving a message for all tagged images? --Erwin85 (talk) 10:32, 12 August 2008 (UTC)[reply]
- Restarted so the author won't be notified if he tagged the image himself. --Erwin85 (talk) 15:59, 10 August 2008 (UTC)[reply]
- Restarted to only notify in case of changed file names. --Erwin85 (talk) 09:30, 10 August 2008 (UTC)[reply]
- This user forgot to type ".jpg" in the CommonsHelper, so the transfer didn't work. [1] Would it be possible to adjust the bot to check commons to see if the image exists and/or is a duplicate? ~ JohnnyMrNinja 16:07, 11 August 2008 (UTC)[reply]
- Good idea. I was already working on it actually. It now checks that the _target image exists and that the hashes are equal. --Erwin85 (talk) 10:32, 12 August 2008 (UTC)[reply]
Approved. Good trial, looks like it was informative. Let's go live. – Quadell (talk) 13:32, 13 August 2008 (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.