On Mon, Jul 20, 2009 at 13:32, Matthias Korn<[email protected]> wrote: > Hi, > > Am Mon, 20 Jul 2009 12:28:22 -0400 > schrieb Bill Traynor <[email protected]>: > > [..] > >> 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
Thx for that tip. > >> 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 Thx again, I see that now. My mistake. The regex does indeed work as you describe. > > 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:[email protected]] >> > Sent: Saturday, July 11, 2009 2:51 AM >> > To: [email protected]; '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: [email protected] [mailto:[email protected]] >> > 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 >> > [email protected] >> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >> > >> > >> > >> > _______________________________________________ >> > 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 >> > >> >> _______________________________________________ >> MediaWiki-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >> > > > -- > Rock in China > http://wiki.rockinchina.com/ > http://www.rockinchina.com/ > > _______________________________________________ > 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
