Wikipedia:Bots/Requests for approval/MonoBot 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 Symbol neutral vote.svg Request Expired.

MonoBot
Operator:  Mønobi

Automatic or Manually Assisted: auto - unsupervised

Programming Language(s): python

Function Summary: remove orphan template from fair use images used in articles

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

Edit rate requested: maxlag = 5

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

Function Details: Remove the orphan template from images used in the mainspace. If an image is used outside the mainspace the bot replaces that image with Image:NonFreeImageRemoved.svg. I've been running this task for a while now but I need "official approval".

Discussion
Don't replace anything in content namespaces (Template, Category, Portal) with that image, it's self-referential. I suggest to remove 'em completely. Max S em(Han shot first!) 15:15, 18 March 2008 (UTC)
 * Okay. The only annoying thing with removal is the crazy  [[Image:Example.jpg|thumb|200px|CommentComment[[Comment]]]] . Those are annoying with regexes, although I think pywikipediabot has a built-in image removal function. Do you mean removal for User space etc too? Mønobi  20:13, 18 March 2008 (UTC)
 * This regex might work for that, if I remember correctly:
 * If that helps. Essentially, it matches any number of links inside the description field. It is also known to cause headaches in anyone who attempts to understand it. --uǝʌǝsʎʇɹoɟʇs (st47) 22:11, 19 March 2008 (UTC)
 * Looks like one of my earlier attempts at getting OrphanBot's regex right. How does it handle image links of the form [[Image:whatever.jpg|]] ? --Carnildo (talk) 06:36, 22 March 2008 (UTC)
 * Stares at it in horror and then does nothing. --uǝʌǝsʎʇɹoɟʇs (st47) 12:58, 22 March 2008 (UTC)
 * Actually, I think I'll just remove it if it is used in an article, and won't touch it if it is used out of the article space. Mønobi  22:11, 22 March 2008 (UTC)
 * Ok. --uǝʌǝsʎʇɹoɟʇs (st47) 11:52, 23 March 2008 (UTC)
 * Isn't a trial a little redundant here, given that's already been running? Alai (talk) 06:25, 26 March 2008 (UTC)
 * I can't find any edits from this task in your contribs. Have you run this task recently? SQL Query me!  14:25, 19 April 2008 (UTC)
 * I can't find any edits from this task in your contribs. Have you run this task recently? SQL Query me!  14:25, 19 April 2008 (UTC)


 * What's the status of this bot request? --uǝʌǝsʎʇɹoɟʇs (st47) 16:03, 27 April 2008 (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.