Operator: -- uǝʌǝs ʎʇɹnoɟ ʇs(st47)
Automatic or Manually Assisted: Automatic
Programming Language(s): Perl
Function Summary: Removes links to non-free images
Edit period(s) (e.g. Continuous, daily, one time run): weekly
Edit rate requested: 10-15 per minute
Already has a bot flag (Y/N): N
Function Details: uses a list generated here to check for and remove any links to non-free images from pages outside of mainspace. If a page is orphaned, it will tag it.
Does it use Perlwikipedia? Will it handle images with wikilinks in caption properly? What about galleries? Will it simjply remove images, or replace them with a placeholder image? MaxSem( Han shot first!) 05:35, 27 November 2007 (UTC) reply
How robust are the pattern matches? If blah.jpg is a fair use image in a non-article page, will this remove any instances of blahblah.jpg and blah.jpg.jpg on the same page? Gimmetrow 04:15, 29 November 2007 (UTC) reply
$linktext=~s/(?<=(?:\[\[))$page(?=[\|\]])/Image:Example.jpg/g;
while ($linktext=~s/(\<gallery\>[\n.]+)(?<![\[\]\|])($page(\|[^\|\n]+)?)\n/\1/gis) {};
(unindent) Approved for trial (2 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. If that is what is required, if not, what? You can remove what is below, if it is. < DREAMAFTER> < TALK> 03:13, 6 December 2007 (UTC) reply
P.S.: I do realise that it wors on a backlog, so you have two days to complete a trial. < DREAMAFTER> < TALK> 03:16, 6 December 2007 (UTC) reply