Wikipedia:Bots/Requests for approval/OKBot 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: Automatic on a manually selected category.
Programming Language(s): Python using pywikipediabot
Function Summary: Tagging non-free images higher or wider than 500 pixels as {{Non-free reduce}}.
Edit period(s) (e.g. Continuous, daily, one time run):
Already has a bot flag (Y/N): Y
Function Details: I scanned first files in Category:Fair use posters and made a list of all images that are higher or wider than 500 pixels. All these images need to be resized, to add them to the log, this bot will add {{Non-free reduce}} at the top of the image page.
Discussion
[edit]What method are you using so the bot only adds the template once? BJTalk 22:50, 16 October 2008 (UTC)[reply]
- There is a "skipword" list, the bot gets the page, and searches for these skip words, which are {{Non-free reduce}} and its redirects.--OsamaK 02:26, 17 October 2008 (UTC)[reply]
- What if a human editor reviews the image and determines that a reduction is not needed? BJTalk 05:39, 18 October 2008 (UTC)[reply]
- What about adding a comment such as "
<!--FUReduce, Never delete this comment.-->
" and adding "FUReduce
" to the skipword list? I actually do not know how does a bot programmer think in this case :)--OsamaK 18:22, 18 October 2008 (UTC)[reply]
- What about adding a comment such as "
- Well. After IRC discussion, I think that the best is to log all tagged image into a local log, then it'll checks it every time before tagging. --OsamaK 10:25, 19 October 2008 (UTC)[reply]
- {{BAGAssistanceNeeded}} What about this task?--OsamaK 02:32, 3 November 2008 (UTC)[reply]
- What if a human editor reviews the image and determines that a reduction is not needed? BJTalk 05:39, 18 October 2008 (UTC)[reply]
Approved for trial (20 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Mr.Z-man 17:59, 7 November 2008 (UTC)[reply]
- Trial complete.--OsamaK 02:45, 16 November 2008 (UTC)[reply]
- Looks good, one minor problem, it shouldn't tag SVG images. Mr.Z-man 05:13, 21 November 2008 (UTC)[reply]
- Hum, why not?--OsamaK 05:57, 21 November 2008 (UTC)[reply]
- done.--OsamaK 19:45, 23 November 2008 (UTC)[reply]
- Approved. Mr.Z-man 19:47, 23 November 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.