Does this mean that to stop the spam attacks I just have to add this line or is there some other things that have to be done as well?
Laurie
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of admin Yellowikis Sent: Tuesday, 13 December 2005 12:04 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] boards2go spam attack
$wgSpamRegex="/overflow:\s*auto/";
Works fine.
Paul
On 12/12/05, admin Yellowikis yellowikis@gmail.com wrote:
Thanks Rick.
On 12/12/05, Rick DeNatale rick.denatale@gmail.com wrote:
On 12/12/05, admin Yellowikis yellowikis@gmail.com wrote:
We've been attacked too - It also adds a long list of links to http://buy-ativan.fil.ph lower on the page.
we had:
$wgSpamRegex="/overflow:auto/";
in LocalSettings.php
but an extra space has been added after the ...overflow: auto....
so now we have both $wgSpamRegex="/overflow:auto/"; $wgSpamRegex="/overflow: auto/";
Of course since $wgSpamRegex is a scalar, only the second value will be in effect, overwriting the first.
I think that something like $wgSpamRegex="/overflow:\s*auto/
would work. The \s* matches zero or more whitespace characters.
This
might be slightly off since I'm not completely up on php regex
pattern
syntax.
Rick DeNatale
Visit the Project Mercury Wiki Site http://www.mercuryspacecraft.com/ _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-- Yellowikis is to Yellow Pages, as Wikipedia is to The Encyclopedia
Britannica
-- Yellowikis is to Yellow Pages, as Wikipedia is to The Encyclopedia Britannica _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l