MediaWiki:Titleblacklist: различия между версиями

Материал из Викицитатника
Содержимое удалено Содержимое добавлено
не надо это тут держать (НУВ), всегда можно достать из истории
полузащита на {{lang-xx}} и {{ref-xx}}
 
Строка 3: Строка 3:


<pre>
<pre>
# Частично защищённые страницы
Шаблон:(Lang|Ref)-.* <noedit|autoconfirmed> # стандартные шаблоны языковых ссылок

# Нежелательные символы
# Нежелательные символы
.*[\x{00A0}\x{1680}\x{180E}\x{2000}-\x{200B}\x{2028}\x{2029}\x{202F}\x{205F}\x{3000}].* <casesensitive | errmsg=titleblacklist-custom-nbsp> # Non-breaking and other unusual spaces, with [[MediaWiki:titleblacklist-custom-nbsp|custom error message]]
.*[\x{00A0}\x{1680}\x{180E}\x{2000}-\x{200B}\x{2028}\x{2029}\x{202F}\x{205F}\x{3000}].* <casesensitive | errmsg=titleblacklist-custom-nbsp> # Non-breaking and other unusual spaces, with [[MediaWiki:titleblacklist-custom-nbsp|custom error message]]
.*\x{00AD}.* <casesensitive> # Soft-hyphen
.*\x{00AD}.* <casesensitive> # Soft-hyphen


# Нежелательные страницы
# Нежелательные названия
.*\/[Ww]\/[Ww]\/index\.php # spam-bots targets, e.g. /w/w/w/index.php
.*\/[Ww]\/[Ww]\/index\.php # spam-bots targets, e.g. /w/w/w/index.php
.*(?:http|https|ftp|mailto|torrent|ed2k)\:\/\/[\w:@\-]+\.[\w\-]+.* # URL в названии
.*(?:http|https|ftp|mailto|torrent|ed2k)\:\/\/[\w:@\-]+\.[\w\-]+.* # URL в названии

Текущая версия от 15:56, 12 сентября 2018

# Это список запрещённых названий, также есть глобальный список.
# Документация - на странице обсуждения.
# Частично защищённые страницы
Шаблон:(Lang|Ref)-.* <noedit|autoconfirmed> # стандартные шаблоны языковых ссылок

# Нежелательные символы
.*[\x{00A0}\x{1680}\x{180E}\x{2000}-\x{200B}\x{2028}\x{2029}\x{202F}\x{205F}\x{3000}].* <casesensitive | errmsg=titleblacklist-custom-nbsp> # Non-breaking and other unusual spaces, with [[MediaWiki:titleblacklist-custom-nbsp|custom error message]]
.*\x{00AD}.* <casesensitive> # Soft-hyphen

# Нежелательные названия
.*\/[Ww]\/[Ww]\/index\.php      # spam-bots targets, e.g. /w/w/w/index.php
.*(?:http|https|ftp|mailto|torrent|ed2k)\:\/\/[\w:@\-]+\.[\w\-]+.* # URL в названии
.*[^\p{L}\d ]{5}.* # Disallows five 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>  # no moves with more than nine consecutive capital letters