Hallo,
again and again, a user with a user name in numbers like "1145347339" is spamming our wiki. We just have installed SpamBlacklist extension, but it didn't help against this spammer.
The spammer is creating a lot of pages with spam content beginning with the following text:
----- <div style="display:none"> [We are delicate. We do not delete your content.] [l_sp979] ... -----
How can we block this type of spam, when the default SpamBlacklist doesn't work?
Regards Karl Kirst ---------------------- post@karl-kirst.de ---------------------- www.karl-kirst.de ---------------------- Mitarbeit am ZUM-Wiki: www.zum.de/wiki
On 18/04/06, Karl-Otto Kirst post@karl-kirst.de wrote:
How can we block this type of spam, when the default SpamBlacklist doesn't work?
If the spam follows a particular pattern, use $wgSpamRegex to block particular text entries. This takes a regular expression and can be used to perform a large amount of pattern matching on edits.
Rob Church
If the spam follows a particular pattern, use $wgSpamRegex to block particular text entries. This takes a regular expression and can be used to perform a large amount of pattern matching on edits.
I am already using $wgSpamRegex: ----- $wgSpamRegex="/overflow\s*:\s*auto/i"; -----
How do I ad a block for "<div style="display:none">"? Maybe like this:
----- $wgSpamRegex="/overflow\s*:\s*auto/i", "/display:none/"; -----
Is that working?
Regards Karl Kirst
On 18/04/06, Karl-Otto Kirst post@karl-kirst.de wrote:
How do I ad a block for "<div style="display:none">"?
http://www.regular-expressions.info/
Rob Church
On 18/04/06, Karl-Otto Kirst post@karl-kirst.de wrote:
How do I ad a block for "<div style="display:none">"?
Thanks for the advice. Meanwhile I am using:
$wgSpamRegex="/overflow\s*:\s*auto/i"; $wgSpamRegex="/display:none/";
It seems to work.
Regards Karl Kirst
Moin Karl,
On Tuesday 18 April 2006 20:09, Karl-Otto Kirst wrote:
On 18/04/06, Karl-Otto Kirst post@karl-kirst.de wrote:
How do I ad a block for "<div style="display:none">"?
Thanks for the advice. Meanwhile I am using:
$wgSpamRegex="/overflow\s*:\s*auto/i"; $wgSpamRegex="/display:none/";
make that "/display\s*:\s*none/i" to catch things like "display : None" :)
Best wishes,
Tels
On 4/18/06, Tels nospam-abuse@bloodgate.com wrote:
Moin Karl,
On Tuesday 18 April 2006 20:09, Karl-Otto Kirst wrote:
On 18/04/06, Karl-Otto Kirst post@karl-kirst.de wrote:
How do I ad a block for "<div style="display:none">"?
Thanks for the advice. Meanwhile I am using:
$wgSpamRegex="/overflow\s*:\s*auto/i"; $wgSpamRegex="/display:none/";
make that "/display\s*:\s*none/i" to catch things like "display : None" :)
He still needs to combine them into a single regex
$wgSpamRegex="/overflow\s*:\s*auto|display\s*:\s*none/i";
-- Rick DeNatale
Visit the Project Mercury Wiki Site http://www.mercuryspacecraft.com/
mediawiki-l@lists.wikimedia.org