|
|
| page_namespace == 3 & | | page_namespace == 3 & |
| !contains_any(user_groups, "sysop", "bot") & | | !contains_any(user_groups, "sysop", "bot") & |
| !("/" in page_title) & | | !("/" in page_title) & |
| !(user_name in page_title) & | | !(user_name in page_title) & |
| ( | | ( |
| regexp := '(div class="user-block"|If you think there are good reasons for being unblocked,)'; | | regexp := '(div class="user-block"|If you think there are good reasons for being unblocked,)'; |
| (added_lines rlike regexp) & | | (added_lines rlike regexp) & |
| !(removed_lines rlike regexp) | | !(removed_lines rlike regexp) |
| ) & | | ) & |
| !(summary irlike "(?:revert|rv|undid|restore)|AFCH|WP:TW|reFill") | | |
| | /* Exclusions */ |
| | rcount("=+\w+=+", added_lines) < 2 & |
| | edit_delta < 5000 & |
| | !(summary irlike "revert|rv|undid|restore|\brmv?\b|AFCH|WP:TW|reFill") |