Filter ID: | 3 |
Description:
- (publicly viewable)
|
|
Statistics: | Of the last 32 actions, this filter has matched 1 (3.13%).
On average, its run time is 1.93 ms, and it consumes 2.9 conditions of the condition limit. |
Conditions: | !("confirmed" in user_groups) &
page_namespace == 0 &
/* narrow down edits to just those dealing with references */
removed_lines contains "<ref" &
/* this edit_delta ignores large blankings treated by another filter */
edit_delta >= -3000 &
/* No added lines usually means a blanking which is dealt with by other filters */
length(added_lines) != 0 &
!("#redirect" in lcase(added_lines)) & (
(
/* More opening ref tags are removed than added */
rcount("(<ref\b)", removed_lines) > rcount("(<ref\b)", 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)
|
Notes: |
|
Flags: | |
Filter last modified: | 23:35, 7 September 2021 by WikiDwarf (talk | contribs) |
History: | View this filter's history |
Tools: | Export this filter to another wiki
|