Přeskočit na obsah

Správa filtrů zneužití

Rozdíly mezi verzemi

PoložkaVerze z 26. 6. 2012, 18:05 od uživatele TchořVerze z 7. 5. 2013, 20:34 od uživatele Matěj Suchánek
Základní informace
Poznámky:
nyní již skoro žádné záznamy, bude nutné jej přepsat; přidávám jako náhradu podobnou detekci
přidáno varování -- Tchoř
přidáno varování -- Tchoř


Importováno z en wiki (#351) -- Tchoř
Importováno z en wiki (#351) -- Tchoř


Adding per request at [[Wikipedia:Edit filter/Requested]], let's see how good this is. Od Mishehu
Adding per request at [[Wikipedia:Edit filter/Requested]], let's see how good this is. Od Mishehu
Attribution note: This was written by [[User:Alex Smotrov]], based on the Russian filter #74. --Od Mishehu
Attribution note: This was written by [[User:Alex Smotrov]], based on the Russian filter #74. --Od Mishehu
Podmínky filtru
Podmínky:
action == 'edit' &! 'autoconfirmed' in user_groups &
action == 'edit' &! 'autoconfirmed' in user_groups &
(article_namespace == 0) &
(article_namespace == 0) &
removed_lines rlike '^\[\[([a-z]{2,3}|Kategorie):.*\]\] *$' &
(removed_lines rlike '^\[\[Kategorie:' & added_lines rlike '^\[\[Kategorie:[^\]]+\]\] *\w+'
| removed_lines rlike '^\[\[([a-z]{2,3}|Kategorie):.*\]\] *$' &
strpos(added_lines, removed_lines) == 0 &
strpos(added_lines, removed_lines) == 0 &
(
(
   add := substr(added_lines, length(removed_lines));
   add := substr(added_lines, length(removed_lines));
   substr(new_wikitext, length(new_wikitext)+1-length(add)) + '\n' == add
   substr(new_wikitext, length(new_wikitext)+1-length(add)) + '\n' == add
   &! contains_any(add,'{{','[[')
   &! contains_any(add,'{{','[[')
)
)
)