|
|
| action == 'edit' & !'uploader' in user_groups | | action == 'edit' |
| &(article_articleid | article_namespace > 0 | length(new_text) > 150) | | &(!'user' in user_groups | user_editcount < 10) |
| & edit_delta < 10000 &! added_links
| | &(old_size > 0 | article_namespace > 0 | length(new_text) > 150) |
| | &!added_links |
| &( | | &( |
| add := rmwhitespace(added_lines);
| |
| rem := rmwhitespace(removed_lines);
| |
| m1 := "([а-яА-Я]{1,3})\1{5}"; | | m1 := "([а-яА-Я]{1,3})\1{5}"; |
| m2 := "([^_:*'&|=}{a-fA-F\d-]{1,3})\1{9}"; | | m2 := "([^_:*'&|=}{a-fA-F\d-]{1,3})\1{9}"; |
| m3 := "([^_:*'&|=}{<>-]{4,30})\1{3}"; | | m3 := "([^_:*'&|=}{<>-]{4,30})\1{3}"; |
| (add rlike m1 &! rem rlike m1)| | | m4 := "[a-zа-я\d]{40}"; |
| (add rlike m2 &! rem rlike m2)| | | add := rmwhitespace(added_lines); |
| (add rlike m3 &! rem rlike m3 &! rcount('(!![^!]|\|\|[^|])', add) > 2) | | (add rlike m1 &! rmwhitespace(removed_lines) rlike m1)| |
| | (add rlike m2 &! rmwhitespace(removed_lines) rlike m2)| |
| | (add rlike m3 &! rmwhitespace(removed_lines) rlike m3 |
| | &! rcount('(!![^!]|\|\|[^|])', add) > 2)| |
| | (lcase(added_lines) rlike m4 &! lcase(removed_lines) rlike m4) |
| ) | | ) |