From OpenCircuits
Revision as of 08:57, 12 August 2007 by (talk) (→‎$wgSpamRegex: breaking new spam pattern)
Jump to navigation Jump to search


$wgSpamRegex = '/(\[http[^\]]*\]\s*){6,}|ringtones|viagra|porn||xanax|tramadol|zocor|hydrocodone|levitra|diazepam|lortab|ultram||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)