Difference between revisions of "Sandbox"

From OpenCircuits
Jump to navigation Jump to search
(→‎$wgSpamRegex: spam urls.)
(test (just trying out using links.))
Line 16: Line 16:
 
(See also [[Meta:Sandbox]])
 
(See also [[Meta:Sandbox]])
 
----
 
----
 +
 +
[http://www.therainforestsite.com/clickToGive/home.faces?siteId=4]

Revision as of 06:10, 14 January 2008

$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.

"porno gratis"

porn is already matched by the regex, but if it's not used it's of no use o.0

Please add 50webs.com and freehostia.com--76.28.67.224 13:52, 5 October 2007 (PDT)

Table something

(moved to Techniques)


(See also Meta:Sandbox)


[1]