On Mon, Jul 20, 2009 at 12:57, Jake Ford<[email protected]> wrote:
> 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',
>    ),
> );

Still no luck with the following:

# 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',
   ),
);

Mediawiki:TitleBlacklist
\d*\sbuy\s.* <newaccountonly>

I also just commented out in TitleBlacklist.php the following:
/** Array of title blacklist sources */
#$wgTitleBlacklistSources = array();

The Localsettings.php overrides this anyway, I think.

I'm running 1.15.1, btw.


>
>
> jake4d
> [email protected]
> 615.418.3858
> www.debatrix.org
>
> -----Original Message-----
> From: Bill Traynor [mailto:[email protected]]
> 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<[email protected]> 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
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to