Разлики между версиите

ЕлементВерсия от 18:44, 1 януари 2015 на Vodnokon4eВерсия от 00:36, 25 февруари 2024 на Ted Masters
Условия на филтъра
Условия:
!("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"