|
|
| action == 'edit' &! 'autoconfirmed' in user_groups & | | (action == 'edit') |
| (article_namespace == 0 | article_namespace == 14) & | | & !('autoconfirmed' in user_groups) |
| removed_lines rlike '^\[\[([a-z]{2,3}|Categoria):.*\]\] *$' & | | & (article_namespace == 0 | article_namespace == 14) |
| strpos(added_lines, removed_lines) == 0 & | | & (removed_lines rlike '^\[\[([a-z]{2,3}|Categoria):.*\]\] *$') |
| ( | | & (strpos(added_lines, removed_lines) == 0) |
| add := substr(added_lines, length(removed_lines));
| | & ( |
| substr(new_wikitext, length(new_wikitext)+1-length(add)) + '\n' == add
| | add := substr(added_lines, length(removed_lines)); |
| &! contains_any(add,'{{','[[')
| | substr(new_wikitext, length(new_wikitext)+1-length(add)) + '\n' == add |
| | & !(contains_any(add,'{{','[[')) |
| ) | | ) |