Difference between revisions of "MediaWiki:Spam-blacklist"

From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
Jump to navigationJump to search
Line 7: Line 7:
 
#  * Everything from a "#" character to the end of the line is a comment
 
#  * 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 hosts inside URLs
 
#  * Every non-blank line is a regex fragment which will only match hosts inside URLs
\b[A-Za-z0-9.-]+\.(com|net|org|tk|me|co|io|de|ru|cc|nl|cz|cn|fr|de|biz|int|uk|webcam|men|gq|reise|racing|cf|click|date|work|ga|club|science|it|hu|party|pw)[\/A-Za-z0-9._~:?@\[\]!$&'()*+,;%=-]*\b
+
\b[A-Za-z0-9.-]+\.(com|net|org|tk|me|co|io|de|ru|cc|nl|cz|cn|fr|de|biz|int|uk|webcam|men|gq|reise|racing|cf|click|date|work|ga|club|science|it|hu|party|pw|ch)[\/A-Za-z0-9._~:?@\[\]!$&'()*+,;%=-]*\b
 
  #</pre> <!-- leave this line exactly as it is -->
 
  #</pre> <!-- leave this line exactly as it is -->

Revision as of 03:13, February 14, 2020

#

# External URLs matching this list will be blocked when added to a page.
# This list affects only this wiki; refer also to the global blacklist.
# For documentation see https://www.mediawiki.org/wiki/Extension:SpamBlacklist
#
# Syntax is as follows:
#   * 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 hosts inside URLs
\b[A-Za-z0-9.-]+\.(com|net|org|tk|me|co|io|de|ru|cc|nl|cz|cn|fr|de|biz|int|uk|webcam|men|gq|reise|racing|cf|click|date|work|ga|club|science|it|hu|party|pw|ch)[\/A-Za-z0-9._~:?@\[\]!$&'()*+,;%=-]*\b
 #