Meta:Spam Blacklist: Difference between revisions

From Perplex City Wiki
Jump to navigationJump to search
(Testing local rules for spam blacklist)
 
mNo edit summary
Line 1: Line 1:
#<!-- leave this line exactly as it is --> <pre>
#
# In simple terms:
#    * Everything from a "#" character to the end of the line is a comment
#    * Every non-blank line is a regex fragment which will only match inside URLs
#
# Internally, a regex is formed which looks like this:
#
#    !http://[a-z0-9\-.]*(line 1|line 2|line 3|....)!Si
#
# A few notes about this format. It's not necessary to add www to the start of
# hostnames, the regex is designed to match any subdomain. Don't add patterns
# to your file which may run off the end of the URL, e.g. anything containing
# ".*". Unlike in some similar systems, the line-end metacharacter "$" will not
# assert the end of the hostname, it'll assert the end of the page.
#
# Test blacklist
# Test blacklist
example\.com
example\.com
Line 6: Line 23:
adipex
adipex
tramadol
tramadol
#</pre> <!-- leave this line exactly as it is -->

Revision as of 22:24, 16 October 2006

#

 
#
# In simple terms:
#    * Everything from a "#" character to the end of the line is a comment
#    * Every non-blank line is a regex fragment which will only match inside URLs
#
# Internally, a regex is formed which looks like this:
#
#    !http://[a-z0-9\-.]*(line 1|line 2|line 3|....)!Si
#
# A few notes about this format. It's not necessary to add www to the start of
# hostnames, the regex is designed to match any subdomain. Don't add patterns
# to your file which may run off the end of the URL, e.g. anything containing 
# ".*". Unlike in some similar systems, the line-end metacharacter "$" will not
# assert the end of the hostname, it'll assert the end of the page.
#

# Test blacklist
example\.com

# Spammer URL partials added 2006-10-16
casino-games
adipex
tramadol

 #