[Mediawiki-l] more spam issues

Jake Ford jake at debatrix.org
Mon Jul 20 16:57:52 UTC 2009


1. Try pulling the Blacklist from Mediawiki or wikipedia using their URLs
like below.
2. Instead of adding blacklist items to 'Project:Title blacklist' add them
to the special page 'Mediawiki:TitleBlacklist' (I am not sure if this will
help because I have added nothing to this page yet at my site.

#TitleBlacklist extension 
require_once( "{$IP}/extensions/TitleBlacklist/TitleBlacklist.php" );

$wgTitleBlacklistSources = array(
    array(
         'type' => TBLSRC_LOCALPAGE,
         'src'  => 'Mediawiki:TitleBlacklist',
    ),
    array(
         'type' => TBLSRC_URL,
         'src'  =>
'http://meta.wikimedia.org/w/index.php?title=Title_blacklist&action=raw',
    ),
    array(
         'type' => TBLSRC_FILE,
         'src'  => '/home/wikipedia/blacklists/titles',
    ),
);


jake4d
jake at debatrix.org
615.418.3858
www.debatrix.org

-----Original Message-----
From: Bill Traynor [mailto:wmat at naoi.ca] 
Sent: Monday, July 20, 2009 11:28 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] more spam issues

On Wed, Jul 15, 2009 at 08:48, Jake Ford<jake at debatrix.org> wrote:
>
>
> I have been getting an average of 5 or 6 spam user accounts created per
day
> on my site of the "buy Viagra type. I just installed two extensions in the
> hope of blocking future attacks.
>
> 1. http://www.mediawiki.org/wiki/Extension:Title_Blacklist

I can't seem to get Title_Black list to work.  I've added the
extension and have added the following to LocalSettings.php:

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>

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

Am I missing something?

> 2. http://www.mediawiki.org/wiki/Extension:SpamBlacklist





More information about the MediaWiki-l mailing list