|
|
| !("autoconfirmed" in user_groups) | | !("autoconfirmed" in user_groups) |
| /* this edit_delta ignores large blankings that are treated by another filter */ | | /* this edit_delta ignores large blankings that are treated by another filter */ |
| & edit_delta >= -3000 | | & edit_delta >= -3000 |
| & article_namespace == 0 | | & page_namespace == 0 |
| /* No added lines usually mean a blanking which is dealt with by other filter */ | | /* No added lines usually mean a blanking which is dealt with by other filter */ |
| & length(added_lines) != 0 | | & length(added_lines) != 0 |
| & !("#redirect" in lcase(added_lines)) | | & !("#redirect" in lcase(added_lines)) |
| /*Counts of more reference tags are removed than added */ | | /*Counts of more reference tags are removed than added */ |
| & (rcount("(<ref>|<ref\s+(name|group)|</ref>)",removed_lines) > rcount("(<ref>|<ref\s+(name|group)|</ref>)",added_lines)) | | & (rcount("(<ref>|<ref\s+(name|group)|</ref>)",removed_lines) > rcount("(<ref>|<ref\s+(name|group)|</ref>)",added_lines)) |
| /*Excludes changing to the named reference format and removing closing tags attached to formerly named refs. Unequality is to account for closing the first named tag */ | | /*Excludes changing to the named reference format and removing closing tags attached to formerly named refs. Unequality is to account for closing the first named tag */ |
| & !(rcount("<ref>",removed_lines) = rcount("<ref\s+(name|group)",added_lines) | rcount("</ref>",removed_lines) <= rcount("<ref\s+(name|group)",added_lines)) | | & !(rcount("<ref>",removed_lines) = rcount("<ref\s+(name|group)",added_lines) | rcount("</ref>",removed_lines) <= rcount("<ref\s+(name|group)",added_lines)) |
| /*Excludes removal of references to Wikipedia itself */ | | /*Excludes removal of references to Wikipedia itself */ |
| & !(count("http://tr.wikiquote.org",removed_lines) > count("http://tr.wikiquote.org",added_lines)) | | & !(count("http://tr.wikiquote.org",removed_lines) > count("http://tr.wikiquote.org",added_lines)) |