Správa filtrů zneužití

Rozdíly mezi verzemi

PoložkaVerze z 16. 7. 2015, 10:02 od uživatele Matěj SuchánekVerze z 19. 9. 2015, 17:00 od uživatele Matěj Suchánek
Základní informace
Poznámky:
výjimka pro {{smazat}}, kontrola všech uživatelských skupin
typo
typo


osekání, úpravy
osekání, úpravy
----
----
Z en:
Z en:


Requires #redirect to appear at the start of an article, unless it is part of a list (i.e. the other use for #).
Requires #redirect to appear at the start of an article, unless it is part of a list (i.e. the other use for #).


add tag "unusual redirect" - Cen
add tag "unusual redirect" - Cen


warn. - Jarry1250
warn. - Jarry1250
disallow (no need for tag). - Jarry1250
disallow (no need for tag). - Jarry1250


Added exceptions for {{rfd}} and {{db-r?}}. Some tweaks. - Ruslik
Added exceptions for {{rfd}} and {{db-r?}}. Some tweaks. - Ruslik


Back to warn, no reason to deny it, we can't deny all incorrect syntax, so no reason to try to catch this one case -P
Back to warn, no reason to deny it, we can't deny all incorrect syntax, so no reason to try to catch this one case -P
Podmínky filtru
Podmínky:
! "autopatrolled" in user_groups
article_namespace == 0
& article_namespace == 0
& (
& lcase(added_lines) rlike "#\s*?(přesměruj|redirect)\s*?\["
lcase(added_lines) rlike "#\s*?(přesměruj|redirect)\s*?\["
&! lcase(new_wikitext) rlike "^\s*?#\s*?(redirect|přesměruj)\b"
& (
  ! lcase(new_wikitext) rlike "^\s*?#\s*?(redirect|přesměruj)\b"
  & (
  ! contains_any(lcase(new_wikitext), "{{smazat", "{{delete")
  )
)
)