ID filtru: | 98 |
Popis:
- (veřejně viditelný)
|
|
Skupina filtrů: | |
Podmínky: | words := "https?:\/\/";
words_in_tags := '(<ref( [^>]+)?>[^<]*(' + words + ')[^<]*</ref>|{{[^}]*?(' + words + ')|(' + words + ')([^{}]|{{[^{}]+?}})*?}})';
old_count_simple := rcount(words, lcase(removed_lines));
new_count_simple := rcount(words, lcase(added_lines));
old_count_tags := rcount(words_in_tags, lcase(removed_lines));
new_count_tags := rcount(words_in_tags, lcase(added_lines));
article_namespace == 0
& new_count_simple - new_count_tags > old_count_simple - old_count_tags
& (
new_link_header := strpos(lcase(new_wikitext), "externí odkazy");
new_link_header === false |
(
new_after_text := substr(lcase(new_wikitext), new_link_header);
new_after_count := rcount(words, new_after_text);
old_link_header := strpos(lcase(old_wikitext), "externí odkazy");
old_after_count := old_link_header !== false
? rcount(words, substr(lcase(old_wikitext), old_link_header))
: 0;
(new_count_simple - new_count_tags) - (old_count_simple - old_count_tags) > new_after_count - old_after_count
)
)
|
Poznámky: |
|
Příznaky: | |
Poslední změna filtru: | 3. 8. 2018, 08:52, Matěj Suchánek (diskuse | příspěvky) |
Historie: | Zobrazit historii tohoto filtru |
Nástroje: | Export tohoto filtru pro jinou wiki
|