Sandbox
Revision as of 08:57, 12 August 2007 by 85.25.140.211 (talk) (→$wgSpamRegex: breaking new spam pattern)
$wgSpamRegex
$wgSpamRegex = '/(\[http[^\]]*\]\s*){6,}|ringtones|viagra|porn|anal.sex|xanax|tramadol|zocor|hydrocodone|levitra|diazepam|lortab|ultram|s-url.net|tylka|tykarl/';
First alternative blocks any sequence of urls that contains more than 5 links which are only seperated by whitespaces. That pattern wouldn't apply to the links section cause there is usually text between the links! Alternatively the number could be raised.
Table something
(moved to Techniques)
(See also Meta:Sandbox)