MediaWiki:Titleblacklist
From cppreference.com
- This is a title blacklist. Titles and users that match a regular expression here cannot be created.
- Use "#" for comments.
- This is case insensitive by default
- only allow ascii names
[^:]*:.*[^\x00-\x7F].* #Non ascii usernames/articles are not allowed
[^:]*[^\x00-\x7F][^:]* #Non ascii usernames/articles are not allowed
- Editnotice pseudospace
Template:Editnotices\/.* <noedit|errmsg=titleblacklist-custom-editnotice>
- EXCESSIVE PUNCTUATION OR REPETITION
.*[!?]{3}(?<!!!!).*
.*[!?]{2}(?<!!!!).* <moveonly>
.*[!?]\s+[!?].*
.*[\p{Z}]{2}.* # Disallows two adjacent "separator" characters (mostly funky spaces)
.*[^\p{L}\d ]{6}.* # Disallows six consecutive characters that are not letters (in any script), numbers, or spaces
.*([^0])\1{4}.* <moveonly> # Disallows four or more of the same character from page moves
.*\p{Lu}(\P{L}*\p{Lu}){9}.* <casesensitive | moveonly> # Disallows moves with more than nine consecutive capital letters
(.*[^0-9'])?'{2,}.*|.*'{2,}([^'\-].*)? # Multiple consecutive apostrophes get interpreted as wiki markup, so shouldn't be used in page titles
- Temporarily disallow all page moves by non-admins
.* <moveonly|errmsg=titleblacklist-custom-temp-move>
- Disallow non-autoconfirmed edits to templates
Template:.* <autoconfirmed|noedit>
- Temporarily disallow all edits by non-autoconfirmed
.* <autoconfirmed|newaccountonly|errmsg=titleblacklist-custom-temp-account> # not strictly needed, but better UI .* <autoconfirmed|noedit|errmsg=titleblacklist-custom-temp-edit>