|
|
| action == 'edit' & !'bot' in user_groups & | | action == 'edit' & !'bot' in user_groups & |
| (article_namespace % 2 == 1) & edit_delta > 100 & | | (article_namespace % 2 == 1) & edit_delta > 100 & |
| summary rlike '^\/\* [^*]+ \*\/ ?$' & | | summary rlike '^\/\* [^*]+ \*\/ ?$' & |
| count ('~~~~', added_lines) == 1 & | | count ('~~~~', added_lines) == 1 & |
| | removed_lines != '' & |
| count('\n', removed_lines) <= 1 & | | count('\n', removed_lines) <= 1 & |
| rcount('\n==[^=].*== ?\n', added_lines) == 1 & | | rcount('\n==[^=].*== ?\n', added_lines) == 1 & |
| ( | | ( |
| sum := substr(summary, 3, length(summary)-7); | | sum := substr(summary, 3, length(summary)-7); |
| ! contains_any(added_lines, '\n=='+sum, '\n== '+sum, '\n== [['+sum) | | ! contains_any(added_lines, '\n=='+sum, '\n== '+sum, '\n== [['+sum) |
| & contains_any(old_wikitext, '\n=='+sum, '\n== '+sum, '\n== [['+sum) | | & contains_any(old_wikitext, '\n=='+sum, '\n== '+sum, '\n== [['+sum) |
| ) | | ) |