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

Материал из Викицитатника
Содержимое удалено Содержимое добавлено
ограничения на имена пользователей теперь желательно вносить только глобально, иначе конфликтует с SUL
не надо это тут держать (НУВ), всегда можно достать из истории
Строка 3: Строка 3:


<pre>
<pre>
# Нежелательные символы
## Раскомментируйте следующие строки при массовой вандальной атаке
#.*Ху[иеёй].*
#.*Пиз?д.*
#.*Бля.*
#.*(\b|[аоуыиэеёъьюя])еб.*
#.*Жоп.*
#.*Муд.*

# Undesirable characters

.*[\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


# Нежелательные страницы
# Undesirable titles
.*\/[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 в названии

#from en.wp
.*[^\p{L}\d ]{5}.* # Disallows five consecutive characters that are not letters (in any script), numbers, or spaces
.*[^\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
.*([^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
.*\p{Lu}(\P{L}*\p{Lu}){9}.* <casesensitive | moveonly> # no moves with more than nine consecutive capital letters

# для навязчивого репоста
#<!-- Викицитатник:Запросы к администраторам Может быть, надо так: .*[СсCc]+[ТтTt]+[ОоOo]+[Яя]+[Лл]+[ОоOo]+[ВвBb]+.* ? -->.*[СсCc]*[ТтTt]*[ОоOo]*[Яя]*[Лл]*[ОоOo]*[ВвBb].*
</pre>
</pre>

Версия от 15:52, 12 сентября 2018

# Это список запрещённых названий, также есть глобальный список.
# Документация - на странице обсуждения.
# Нежелательные символы
.*[\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