|
|
| !("autoconfirmed" in user_groups) | | !"confirmed" in user_groups |
| & edit_delta >= -1000 | | & edit_delta >= -1000 |
| & article_namespace == 0 | | & page_namespace == 0 |
| & length(added_lines) != 0 | | & length(added_lines) != 0 |
| & !("#redirect" in lcase(added_lines)) | | & !added_lines irlike "^#(?:виж|пренасочване|redirect)\s*\[\[" |
| /* Checks if there more references grouping tags are being removed than added*/ | | /* Checks if there more references grouping tags are being removed than added*/ |
| & (line1:="(\{\{(r|R)eflist|\{\{(r|R)efs|<references\s?/>|</references\s?>)"; | | & ( |
| rcount(line1, removed_lines)) > (rcount(line1, added_lines)) | | line1:="<references\s*/>|</?references\s*>|\{\{\s*[rR]ef(?:list|erences)\b"; |
| /* Excludes instances where you start with duplicates in the article */ | | rcount(line1, removed_lines) > rcount(line1, added_lines) |
| & !(rcount(line1,(old_wikitext)) > 1) & rcount("<ref(\s|>)",new_wikitext)!=0 | | ) |
| | /* Exclude instance of possible duplicates */ |
| | & rcount(line1, old_wikitext) <= 1 |
| | /* Text still has ref tags */ |
| | & new_wikitext irlike "<ref\b" |