MediaWiki:Titleblacklist: различия между версиями
Содержимое удалено Содержимое добавлено
Titleblacklist replaces username blacklist; questions? |
update from ruwiki |
||
Строка 1: | Строка 1: | ||
# Это список запрещённых названий, также есть [[m:Title blacklist|глобальный список]]. |
|||
<pre style="line-height:1.7em;font-size:110%"> |
|||
# Документация - на [[MediaWiki talk:Titleblacklist|странице обсуждения]]. |
|||
# Это список запрещённый названий |
|||
# Любая статья, название которой попадает под этот список, не может быть создана |
|||
# Используйте « # » для комментариев |
|||
<pre> |
|||
## Раскомментируйте следующие строки при массовой вандальной атаке |
## Раскомментируйте следующие строки при массовой вандальной атаке |
||
.*Ху[иеёй].* |
#.*Ху[иеёй].* |
||
.*Пиз?д.* |
#.*Пиз?д.* |
||
.*Бля.* |
#.*Бля.* |
||
.*(\b|[аоуыиэеёъьюя])еб.* |
#.*(\b|[аоуыиэеёъьюя])еб.* |
||
.*Жоп.* |
#.*Жоп.* |
||
.*Муд.* |
#.*Муд.* |
||
# Undesirable characters |
|||
#Usernames |
|||
.*(?i:(lvova|львова|львoвa|lvоvа)?).* <newaccountonly># antivandal |
|||
.*[\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 |
|||
⚫ | |||
.*(\bm|M)(?i:oderator).* <newaccountonly> |
|||
.*(?i:[gг]+[[:punct:] ]+[оo0]+[[:punct:] ]+[mм]+[[:punct:] ]+[оo0]+).* <newaccountonly> |
|||
.*(?i:(gomik|гомик)).* <newaccountonly> |
|||
.*(?i:(некро(зоо)?(ф|п))).* <newaccountonly> |
|||
.*(?i:(pedi|педи)).* <newaccountonly> |
|||
.*(?i:(pedе|педе)).* <newaccountonly> # не объединяется из-за бага в PCRE |
|||
.*(?i:(pedr[^o]|педр[^о])).* <newaccountonly> |
|||
.*(?i:жоп).* <newaccountonly> |
|||
# Undesirable titles |
|||
.*(?i:пид[ао]?р).* <newaccountonly> |
|||
.*(?i:nug[oa]?).* <newaccountonly> |
|||
.*(?i:пизда?).* <newaccountonly> |
|||
.*\/[Ww]\/[Ww]\/index\.php # spam-bots targets, e.g. /w/w/w/index.php |
|||
.*(?i:(хуесос|huesos)).* <newaccountonly> |
|||
.*(?:http|https|ftp|mailto|torrent|ed2k)\:\/\/[\w:@\-]+\.[\w\-]+.* # URL в названии |
|||
.*(?i:(ебущи|ебать)).* <newaccountonly> |
|||
.*(?i:(shluch|шлюх)[аa]?).* <newaccountonly> |
|||
# Undesirable account names |
|||
.*(?i:ne[dg]ep).* <newaccountonly> |
|||
.*(?i:[кk][[:punct:] ]*[оo0][[:punct:] ]*[лl][[:punct:] ]*[пp][[:punct:] ]*[аa]).* <newaccountonly> |
|||
.*(?i:\b(anus|ass\b|bastard|bitch|buttocks|[cċç][o0][cċç]k|cunnilingus|cunt|d[iíl][lI]do|fellatio|[fs]uck|moron|p[eéèê][nñ][[iíìl1]s|p[o0]rn[o0]|pr[o0óò]st[iíì]t[uúù]|scr[o0]tum|shit\b|slut\b|va[gġ]ina)).* <newaccountonly> # offensive words, English |
|||
.*(?i:[сc][[:punct:] ]*[аa][[:punct:] ]*[мm][[:punct:] ]*[оo][[:punct:] ]*[хx][[:punct:] ]*[в][[:punct:] ]*[аa]).* <newaccountonly> |
|||
.*(?i:жоп|письк|ху[йяёеиъ]|\bhu[iy](\b|[aueoyi])|пи[з3]д|nu[3z][dg]|(ъ|\b)[её]б|\bбля|\bbl[jy]a|shluch|шлюх).* <newaccountonly> # offensive words, Russian |
|||
.*(?i:\bпример\b) # используется, например, на ВП:ЗКА.* <newaccountonly> |
|||
.*(?i:пид[аоеaoe]?р|nug[oaep]|pedr[^o]|педр[^о]|ped[ei]|пед[еи]|некро(зоо)?[фп]|г[^ ]*о[^ ]*м[^ ]*(о|ик)|gomik).* <newaccountonly> # homo |
|||
.*(?i:(\.(ru|com|net|org|info|kz|ua)\b)).* <newaccountonly> |
|||
.*(?i:куклач).* <newaccountonly> |
|||
.{30,} <newaccountonly> # too long |
|||
(?:[OoIl0-9]{1,3}\.){3}.* <newaccountonly> # pseudo-IP addresses |
|||
.*\.(ru|com|net|org|biz|info)$ <newaccountonly> # domain names |
|||
.*(?i:[vw]ik[it]|вики)(pedia|ionary|books|versity|species|source|quote|news|педия|словарь|уч?[ёе]бник|верситет|виды|тека|цитатник|новости).* <newaccountonly> # reserved for WMF projects |
|||
.*((([oOоОаАaAыЫиИ]й|[аАaAяЯеЕeE]я|[oOоОеЕeE]е).*?){2}[^ ]+).* <newaccountonly> |
|||
.*(?i:[a4]dm[il1í]n|sys[o0óò]p|m[o0óò]d.r[a4]t.+r).* <newaccountonly> # we already have them ;) |
|||
.*[Rr][Oo0óòОо][MmМм][AaАа][Ss][HhН][EeЕе][Vv][Iil][CcСс][HhН].* <newaccountonly> # Ромашевич |
|||
.*[РрP][ОоOo0óò][Мм][АаAa][Шш][ЕеEe][ВвB][Ии][Чч].* <newaccountonly> # он же :) |
|||
# some of our attacked admins |
|||
⚫ | |||
# прочее |
|||
.*\(.+\)$ <newaccountonly> # Участник:%username%_(сексуалист) |
|||
⚫ | |||
#from en.wp |
|||
.*[^\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 |
|||
</pre> |
Версия от 14:29, 23 декабря 2008
# Это список запрещённых названий, также есть глобальный список. # Документация - на странице обсуждения.
## Раскомментируйте следующие строки при массовой вандальной атаке #.*Ху[иеёй].* #.*Пиз?д.* #.*Бля.* #.*(\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{00AD}.* <casesensitive> # Soft-hyphen # Undesirable titles .*\/[Ww]\/[Ww]\/index\.php # spam-bots targets, e.g. /w/w/w/index.php .*(?:http|https|ftp|mailto|torrent|ed2k)\:\/\/[\w:@\-]+\.[\w\-]+.* # URL в названии # Undesirable account names .*(?i:\b(anus|ass\b|bastard|bitch|buttocks|[cċç][o0][cċç]k|cunnilingus|cunt|d[iíl][lI]do|fellatio|[fs]uck|moron|p[eéèê][nñ][[iíìl1]s|p[o0]rn[o0]|pr[o0óò]st[iíì]t[uúù]|scr[o0]tum|shit\b|slut\b|va[gġ]ina)).* <newaccountonly> # offensive words, English .*(?i:жоп|письк|ху[йяёеиъ]|\bhu[iy](\b|[aueoyi])|пи[з3]д|nu[3z][dg]|(ъ|\b)[её]б|\bбля|\bbl[jy]a|shluch|шлюх).* <newaccountonly> # offensive words, Russian .*(?i:пид[аоеaoe]?р|nug[oaep]|pedr[^o]|педр[^о]|ped[ei]|пед[еи]|некро(зоо)?[фп]|г[^ ]*о[^ ]*м[^ ]*(о|ик)|gomik).* <newaccountonly> # homo .{30,} <newaccountonly> # too long (?:[OoIl0-9]{1,3}\.){3}.* <newaccountonly> # pseudo-IP addresses .*\.(ru|com|net|org|biz|info)$ <newaccountonly> # domain names .*(?i:[vw]ik[it]|вики)(pedia|ionary|books|versity|species|source|quote|news|педия|словарь|уч?[ёе]бник|верситет|виды|тека|цитатник|новости).* <newaccountonly> # reserved for WMF projects .*(?i:[a4]dm[il1í]n|sys[o0óò]p|m[o0óò]d.r[a4]t.+r).* <newaccountonly> # we already have them ;) .*[Rr][Oo0óòОо][MmМм][AaАа][Ss][HhН][EeЕе][Vv][Iil][CcСс][HhН].* <newaccountonly> # Ромашевич .*[РрP][ОоOo0óò][Мм][АаAa][Шш][ЕеEe][ВвB][Ии][Чч].* <newaccountonly> # он же :) # some of our attacked admins .*(?i:(джимбо|jimbo)).* <newaccountonly> # прочее .*\(.+\)$ <newaccountonly> # Участник:%username%_(сексуалист) .*([\w\d]+([\s-_]+[\w\d]+){3,}).* <newaccountonly> # 4+ words #from en.wp .*[^\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