Dəyişiklik süzgəclərinin idarə olunması

Naviqasiyaya keç Axtarışa keç

Versiyalar arasındakı fərqlər

ElementNemoralis adlı istifadəçinin 00:15, 13 yanvar 2021 tarixli versiyasıToghrul R adlı istifadəçinin 07:23, 31 yanvar 2023 tarixli versiyası
Süzgəcləmə şərtləri
Şərtlər:
!("autoconfirmed" in user_groups)
!("confirmed" in user_groups) &
/* this edit_delta ignores large blankings that are treated by another filter */
page_namespace == 0 &
& edit_delta >= -3000
/* narrow down edits to just those dealing with references */
& article_namespace == 0
removed_lines contains "<ref" &
/* No added lines usually mean a blanking which is dealt with by other filter */
/* this edit_delta ignores large blankings treated by another filter */
& length(added_lines) != 0
edit_delta >= -3000 &
& !("#redirect" in lcase(added_lines))
/* No added lines usually means a blanking which is dealt with by other filters */
/*Counts of more reference tags are removed than added */
length(added_lines) != 0 &
& (rcount("(<ref>|<ref\s+(name|group)|</ref>)",removed_lines) > rcount("(<ref>|<ref\s+(name|group)|</ref>)",added_lines))
!("#redirect" in lcase(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 */
    (
& !(rcount("<ref>",removed_lines) = rcount("<ref\s+(name|group)",added_lines) | rcount("</ref>",removed_lines) <= rcount("<ref\s+(name|group)",added_lines))
        /* More opening ref tags are removed than added */
/*Excludes removal of references to Wikipedia itself */
        rcount("(<ref\b)", removed_lines) > rcount("(<ref\b)", added_lines)
& !(count("http://tr.wikipedia.org",removed_lines) > count("http://az.wikipedia.org",added_lines))
    ) | /* OR */ (
        /* More closing ref tags are removed than added */
        rcount("(<ref\b[^>]*\>)", removed_lines) > rcount("(<ref\b[^>]*\>)", added_lines)
    )
) &
/* Exclude removal of references to Wikipedia */
count("//en.wikipedia.org", removed_lines) <= count("//en.wikipedia.org", added_lines) &
/* If  removed empty ref, probs OK */
count("<ref></ref>", removed_lines) <= count("<ref></ref>", added_lines) &
/* ignore conversion between <ref> and </ref> */
rcount("</?ref>", removed_lines) > rcount("</?ref>", added_lines) &
/* if they removed a probable comment with ref tag then its probs OK */
rcount("<!--.*</?ref>.*-->", removed_lines) <= rcount("<!--.*</?ref>.*-->", added_lines)