MediaWiki:Titleblacklist

From Wikimedia Incubator
# That's a title blacklist
# Every title that matches regex here are forbidden to create and edit
# Use "#" for comments
# Disallow creating of pages in (main), Template, Module and Category namespaces (and their talks) with title in incorrect form.
# Lazy "langcode" checking for the beginning, however disallowing any suffixes but existing on Special:SiteMatrix.
# Whitelist (applies to appropriate talk namespaces as well):
#  Template:Welcome and its translations
#  Pseudo-namespaces in the category namespace: Category:Users:, Category:Incubator:, Category:Help:, Category:Maintenance:, Category:Templates:
# SHOULD BE REWRITTEN TO 1) Block langcodes with hyphens (all xy(z)-blabla except some valid ones) and 2) separate rule to block editing File namespace
(?!(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?W[bnpqty]\/(?:[a-z]{2,3}|bat-smg|be-x-old|cbk-zam|fiu-vro|map-bms|nds-nl|roa-(?:rup|tara)|zh-(?:classical|min-nan|yue))(?:\/.+)?$|(?:(?:Help|Incubator|MediaWiki|Translations|User)(?: talk)?):.+|Template(?: talk)?:Welcome\/[a-z]{2,3}$|Category(?: talk)?:(Users|Incubator|Help|Maintenance|Templates):.+$).* <casesensitive|errmsg=Titleblacklist-incorrect-title>
# Invalid ISO 639 codes or rejected projects:

(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?Wp\/pec.* <noedit> # "pec" is an invalid I:ISO 639 language code. The correct code for Pecheneg is "xpc". So please replace "pec" by "xpc" in the page title.
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?W(?:p\/(?:bp|bzc|cc|dl|dv-mahl|dzu|fed|grk|gsc|hnl|plm|pt-riv|roa-abr|scm)|t\/x-Kadazandusun)\/.* <noedit> # This project has been deleted because of not having valid I:ISO 639 language code. You can ask on I:AN for exported and archived XML dump of it though.
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?Wp\/mol?\/.* <noedit> # This test project has been deleted as it was meant to be written in Moldovan, which however is only another name for the Romanian language. Please contribute to the Romanian Wikipedia at http://ro.wikipedia.org.
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?Wp\/amz.* <noedit> # "amz" is a language code belonging to Atampaya, an extinct language of Australia, and not to Tamazight. See Wp/ber (or Wp/shi, Wp/tzm, Wp/rif).
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?Wq\/arc.* <noedit> # Please contribute to Wq/syc. For any questions, ask on the I:Community Portal.
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?Wp\/kas.* <noedit> # Please contribute to Kashmiri Wikipedia at ks.wikipedia.org.
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?Wp\/swg.* <noedit> # Please contribute to Swabian content on als.wikipedia.org.
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?Wp\/wae.* <noedit> # Please contribute to Walser content on als.wikipedia.org.
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?Wp\/qdp.* <noedit> # This prefix (Wp/qdp) is for testing purposes by admins only.
# ISO 639-3 codes of projects that exist under an ISO 639-1 code
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?Wp\/rus.* <noedit> # Russian Wikipedia can be found at ru:.
# Test-projects misused for "language revivals"
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?W[bnpqty]\/kir.* <noedit> # If you would like to contribute in this language, please contact the Language Committee for help.
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?W[bnpqty]\/sux.* <noedit> # If you would like to contribute in this language, please contact the Language Committee for help.
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?W[bnpqty]\/xas.* <noedit> # If you would like to contribute in the Kamassian language, please contact the Language Committee for help.
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?W[bnpqty]\/ykg.* <noedit> # If you would like to contribute in this language, please contact the Language Committee for help.
(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?W[bnpqty]\/yux.* <noedit> # If you would like to contribute in this language, please contact the Language Committee for help.
# Montenegrin
#(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?Wp\/cnr.* <noedit>
# Maintenance categories and their talkpages for keeping pages using unprefixed templates.
# Just lazy "langcode" checking.
Category(?: talk)?:(?:W[bnpqstvy]\/[a-z]{2,3}(-[^\/]+)?\/|Maintenance:)(?:Page|Article|Talk|Categorie|Category talk|Template(?: talk)?)s using unprefixed template.* <errmsg=Titleblacklist-using-unprefixed-template-categories>
#
.*index\.php.*
#
.User:Өөрд Хальмг *
.User talk:Өөрд Хальмг *