|
|
| /* new page */ | | /* new page */ |
| old_size == 0 | | old_size == 0 |
|
| |
|
| & added_lines contains "http" | | & added_lines contains "http" |
|
| |
|
| /* page does not contain opening template braces */ | | /* page does not contain opening template braces */ |
| & !("{{" in added_lines) | | & !("{{" in added_lines) |
|
| |
|
| /* page has less than 2 wiki headings */ | | /* page has less than 2 wiki headings */ |
| & rcount("(?:^|\n)(={1,6})[^=\n].+[^=\n]\1(?:\n|$)", added_lines) < 2 | | & rcount("(?:^|\n)(={1,6})[^=\n].+[^=\n]\1(?:\n|$)", added_lines) < 2 |
|
| |
|
| /* ignore on user css and js pages */ | | /* ignore on user css and js pages */ |
| & !(page_namespace == 2 & contains_any(page_title, ".css", ".js")) | | & !(page_namespace == 2 & contains_any(page_title, ".css", ".js")) |
| | |
| | /* ignore in the module namespace */ |
| | & !(page_namespace == 828) |
|
| |
|
| /* ignore if the user has 2 or more edits, or is in a priveleged group */ | | /* ignore if the user has 2 or more edits, or is in a priveleged group */ |
| & user_editcount < 2 | | & user_editcount < 2 |
| & !"abusefilter-modify" in user_rights | | & !"abusefilter-modify" in user_rights |