|
|
| action == 'edit' & article_namespace == 0 | | action == 'edit' & article_namespace == 0 |
| & !'bot' in user_groups & user_editcount < 200 | | & !'bot' in user_groups & user_editcount < 100 |
| & lcase(added_lines) contains 'в украине' | | & contains_any(lcase(added_lines), 'в украине', 'в [[украина|') |
| &( | | &( |
| old := lcase(old_wikitext); new := lcase(new_wikitext); | | old := lcase(old_wikitext); |
| m1 := '[^а-яёА-Я]на украине'; m2 := '[^а-яёА-Я]в украине'; | | new := lcase(new_wikitext); |
| rcount(m1, old) > rcount(m1, new) & | | m1 := '[^а-я]на\s(\[\[украина\|)?украине'; |
| | m2 := '[^а-я]в\s(\[\[украина\|)?украине'; |
| | rcount(m1, old) > rcount(m1, new) & |
| rcount(m2, old) < rcount(m2, new) | | rcount(m2, old) < rcount(m2, new) |
| ) | | ) |