On
https://pt.wikipedia.org/wiki/Special:AbuseFilter/70?uselang=en
There is the following line
Flags: Warning: This filter was automatically disabled as a safety measure. It reached the limit of matching more than 5.00% of actions.
But a few lines above it has this:
Statistics: Of the last 3,518 actions, this filter has matched 2 (0.06%). On average, its run time is 1.99 ms, and it consumes 288 conditions of the condition limit.
Obviously, 0.06% < 5.00%, so one of the message is wrong.
Besides, the latest edit to that filter was on 20:33, 15 July 2013, but there is no timestamp indicating when that warning was added. The filter's log has many (correct) detections since the last edit was made:
https://pt.wikipedia.org/wiki/Special:AbuseLog?dir=prev&wpSearchFilter=70&offset=20130715203331&uselang=en
and the option "Enable this filter" is still marked ([x] instead of [ ]), indicating it is indeed enabled.
If the extension indeed disabled the filter, but enabled it again automatically at some point, it should say so. And if it didn't disable the filter, it should not say it is disabled.
The current situation is confusing.
Version: unspecified
Severity: major
Acceptance criteria
- Update the error message to TBD (see comments)
- The message should only be shown if the filter actually has any restricted actions it can perform.
- Update https://www.mediawiki.org/wiki/Extension:AbuseFilter#Configuration for clarity