<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,9 +2,12 @@
 use strict;
 use warnings;
 use lib '..';
+use List::MoreUtils qw(any);
 use Bibliotech::Fake;
 use Bibliotech::Component::Wiki;
 
 my $bibliotech = Bibliotech::Fake-&gt;new;
-my $wiki = Bibliotech::Component::Wiki-&gt;new({bibliotech =&gt; $bibliotech});
-print map { &quot;$_\n&quot; } $wiki-&gt;list_spam_nodes;
+my $wiki_component = Bibliotech::Component::Wiki-&gt;new({bibliotech =&gt; $bibliotech});
+my @whitelist = @ARGV ? (map { chomp; $_; } (&lt;&gt;)) : ();
+my $whitelisted = sub { my $node = shift; return any { lc($node) eq lc($_) } @whitelist; };
+print map { &quot;$_\n&quot; } grep { !$whitelisted-&gt;($_) } $wiki_component-&gt;list_spam_nodes;</diff>
      <filename>admin_util/wiki_find_spam</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>87bf71319d110412a5e2bffefc7081f184b26cd8</id>
    </parent>
  </parents>
  <author>
    <name>Martin Flack</name>
    <email>martin@neoreality.com</email>
  </author>
  <url>http://github.com/IanMulvany/connotea-public/commit/2c14ecea447f0b76355f120bbda4717ae81d7130</url>
  <id>2c14ecea447f0b76355f120bbda4717ae81d7130</id>
  <committed-date>2008-11-11T20:42:55-08:00</committed-date>
  <authored-date>2008-11-11T20:42:55-08:00</authored-date>
  <message>add whitelist support to wiki_find_spam

darcs-hash:20081112044255-41d90-124d0a9d22abcc7ed70b0fcd2b8b69a12390fdeb.gz</message>
  <tree>65e9e83d4e7c841e7fdc6b259386bdced49f0bdc</tree>
  <committer>
    <name>Martin Flack</name>
    <email>martin@neoreality.com</email>
  </committer>
</commit>
