[Mediawiki-l] SpamBlacklist extension

Rick DeNatale rick.denatale at gmail.com
Tue Nov 8 16:46:59 UTC 2005


On 11/8/05, Hamish <lists at subvs.co.uk> wrote:
> Hello
> Having been hit quite badly by a spammer (bot?) similar to what others are
> describing, I have tried to put some anti-spam measures in place, but I'm
> getting confused with the SpamBlacklist extension (using with mediawiki
> 1.5.0). I got the files from cvs and put them in extensions/SpamBlacklist/,
> then after having a tricky time getting the raw list from mediawiki (does it
> still need to use a cron to fetch this, the "load_lists" file did not seem to
> be in current cvs), I got the chonqued list as so:
>
>   wget -O chongqed_blacklist_raw 'http://blacklist.chongqed.org'
>   cut -d? -f3 chongqed_blacklist_raw > chongqed_blacklist
>
> I then added the include for SmapBlacklist in Localsettings.php:
>
>   require_once( "$IP/extensions/SpamBlacklist/SpamBlacklist.php" );
>   $wgSpamBlacklistFiles = array(
>         "$IP/extensions/SpamBlacklist/wikimedia_blacklist", // Wikimedia
>         "$IP/extensions/SpamBlacklist/chongqed_blacklist"
>
> //          database    title
> //      "DB: wikidb My_spam_blacklist",
> );
>
> wikimedia_blacklist is a zero size file.
>
> Now when I try to edit a page, I can add a pattern from the chonqued_blacklist
> and still save the page with no warnings or blocks. Here is a section of the
> tail of chonqued_blacklist (I have prepended "1" onto all urls):
>
>   1zytemp\.com\.cn
>   1zzdh\.com
>   1zzdx\.com
>
> This seems similar to the wikimedia format, but when I edit a page and add for
> example http://1zzdx.com, the page saves fine. Am I missing something?
> Thanks for any suggestions,

There seems to be a bug in the spam blacklist extension which causes
it (possible under certain unknown conditions) to only process items
from the first file in a list of blacklist files.

There was some talk on wikizilla (or whatever it's really called) and
I've seen this myself, but I've never been able to figure out what the
problem is.



More information about the MediaWiki-l mailing list