MediaWiki:Titleblacklist

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
  1. This is a disallowed titles list. Titles and usernames that match a regular expression here cannot be created.
  2. Use "#" for comments.
  3. This is case-insensitive by default
  1. Examples:
  2. Foo <autoconfirmed|noedit|errmsg=blacklisted-testpage> # This page name is not allowed
  3. [Bb]ar # No one should create article about it
  4. .*pandora.* # This word is not allowed in any part of a page name
  1. Each entry may also contain optional attributes, enclosed in <> and separated with |.
  1. autoconfirmed - also allows autoconfirmed users to perform such actions
  2. casesensitive - do not ignore case when checking title for being put on the block list
  3. noedit - also forbid editing the page (if it already exists)
  4. moveonly - forbid moves but allow ordinary creation (rev:35163)
  5. newaccountonly - forbid creation of matching usernames, but allow page creation (rev:38977)
  6. reupload - allow reuploads of existing blocked files (rev:33656)
  7. errmsg - the name of the message that should be displayed instead of standard
  8. If the AntiSpoof extension is installed, you can also use the ‎<antispoof> attribute.
  1. What is referred to here as regular expressions are not proper regular expressions, but rather subpatterns that are inserted into a hard-coded regular expression. i.e. the subpattern Foo from above would create a # regular expression like /^Foo$/usi.
  1. Underscores ("_") in regular expressions will be converted to spaces by the extension, because titles are matched against its text form ("Page title" instead of "Page_title").