|
|
| article_namespace == 0 | | article_namespace == 0 |
| & !("autoconfirmed" in user_rights) | | & !("autoconfirmed" in user_rights) |
| & !("confirmed" 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 */ |
| & action=="edit" | | & action=="edit" |
| & edit_delta >= -2000 | | & edit_delta >= -2000 |
| /* 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 |
| &!(contains_any (lcase(added_lines),"#تحويل","#redirect")) | | &!(contains_any (lcase(added_lines),"#تحويل","#redirect")) |
| /*Counts of more reference tags are removed than added */ | | /*Counts of more reference tags are removed than added */ |
| & (rcount("(<ref>|<ref\sname|</ref>)",removed_lines) > rcount("(<ref>|<ref\sname|</ref>)",added_lines)) | | & (rcount("(<ref>|<ref\sname|</ref>)",removed_lines) > rcount("(<ref>|<ref\sname|</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\sname",added_lines) | rcount("</ref>",removed_lines) <= rcount("<ref\sname",added_lines)) | | & !(rcount("<ref>",removed_lines) = rcount("<ref\sname",added_lines) | rcount("</ref>",removed_lines) <= rcount("<ref\sname",added_lines)) |
| /*Excludes removal of references to Wikipedia itself */ | | /*Excludes removal of references to Wikipedia itself */ |
| & !(count("http://ar.wikipedia.org",removed_lines) > count("http://ar.wikipedia.org",added_lines)) | | & !(count("http://ar.wikipedia.org",removed_lines) > count("http://ar.wikipedia.org",added_lines)) |