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