[Mediawiki-l] more spam issues

Matthias Korn matsch at rockinchina.com
Mon Jul 20 17:32:00 UTC 2009


Hi,

Am Mon, 20 Jul 2009 12:28:22 -0400
schrieb Bill Traynor <wmat at naoi.ca>:

[..]

> require_once( "{$IP}/extensions/TitleBlacklist/TitleBlacklist.php" );
> $wgTitleBlacklistSources = array(
> array(
>          'type' => TBLSRC_LOCALPAGE,
>          'src'  => 'Project:Title blacklist',
>       ),
> );
> 
> I've set up Project: Title blacklist as follows:
> 
> # This is a title blacklist. Titles and users that match a regular
> expression here cannot be created.
> # Use "#" for comments.
> # This is case insensitive by default
> 
> \d*\sbuy\s.*  <newaccountonly>

You do not necessarily need to configure the $wgTitleBlacklistSources.
It suffices to put the require_once statement in your LocalSettings.php
and then edit MediaWiki:Titleblacklist

> Yet, I can still add account called "Buy Viagra" or whatever.

The Regexp entry above I provided does not match "Buy Viagra". It only
matches the specific spam accounts (e.g. "123 buy anything") with the
following rule

any number of digets + a white space character + the string "buy" + a
white space character + any number of arbitrary characters

best,
matsch

> Am I missing something?
> 
> > 2. http://www.mediawiki.org/wiki/Extension:SpamBlacklist
> >
> > I will let you guys know if it worked.
> >
> > Jake4d
> > www.debatrix.org
> >
> > -----Original Message-----
> > From: Jake Ford [mailto:jake at debatrix.org]
> > Sent: Saturday, July 11, 2009 2:51 AM
> > To: 2007 at gmaskfx.com; 'MediaWiki announcements and site admin list'
> > Subject: Re: [Mediawiki-l] more spam issues
> >
> > I recently started getting the same spam. I am going to install the
> > SpamBlacklist extension tonight or tomorrow and will let you know
> > how it works.
> >
> > Jake4d using v1.14
> >
> > -----Original Message-----
> > From: 2007 at gmaskfx.com [mailto:2007 at gmaskfx.com]
> > Sent: Friday, July 10, 2009 3:53 PM
> > To: MediaWiki announcements and site admin list
> > Subject: [Mediawiki-l] more spam issues
> >
> >
> > Is anybody else getting tons of user registrations that have spam
> > in the user pages and the usernames are soemthing like "180 buy
> > Viagra"?
> >
> > I haven't had a chance to test it but doesn't the keyword blacklist
> > block the usage of those words in usernames and userpages?
> >
> > Also is there a better captcha available.. this bot is getting
> > around the math question
> >
> > AD
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l at lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l at lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l at lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 


-- 
Rock in China
http://wiki.rockinchina.com/
http://www.rockinchina.com/



More information about the MediaWiki-l mailing list