|
|
| (action == "edit") & | | (action == "edit") & |
| !('bot' in user_groups) & | | !('bot' in user_groups) & |
| ( | | ( |
| (page_namespace == 2 & '/' in page_title) | | | (page_namespace == 2 & '/' in page_title) | |
| (page_namespace % 2 == 1) | | (page_namespace % 2 == 1) |
| ) & | | ) & |
| ( | | ( |
| re := '(?i)\[\[\s*(Kategória|Category)\s*:'; | | re := '(?i)\[\[\s*(Kategória|Category)\s*:'; |
| rcount(re, added_lines) > rcount(re, removed_lines) | | rcount(re, added_lines) > rcount(re, removed_lines) |
| ) & | | ) & |
| ( | | ( |
| !contains_any(new_wikitext, '<includeonly>', '<nowiki>', '<!--', '<pre>') | | | !contains_any(new_wikitext, '<includeonly>', '<nowiki>', '<!--', '<pre>', '<pre ') | |
| new_wikitext rlike '(?i)(</nowiki>|</includeonly>|-->|</pre>|^)((?!<nowiki>|<pre>|<includeonly>|<!--)[\w\W])*\[\[\s*(Kategória|Category)\s*:' | | new_wikitext rlike '(?i)(</nowiki>|</includeonly>|-->|</pre>|^)((?!<nowiki>|<pre>|<includeonly>|<!--)[\w\W])*\[\[\s*(Kategória|Category)\s*:' |
| ) | | ) |