Page MenuHomePhabricator

Provide special page with a table of aggregated statistics about filters
Closed, DuplicatePublic

Description

As of Jul 5 2013, when we visit the page of each filter, e.g.
https://en.wikipedia.org/wiki/Special:AbuseFilter/135
there is a line with statistics like this:

Of the last 4,255 actions, this filter has matched 7 (0.16%). On average, its run time is 3.55 ms, and it consumes 1 condition of the condition limit.

(nowadays, the last information is unavailable unless $wgAbuseFilterProfile = true)

There should be a special page which displays a table with the data of the above line for every existing filter. See an example at ptwiki:
https://pt.wikipedia.org/wiki/Special:PermaLink/36315096

This makes it easier to identify filters which may be improved to reduce the number of conditions or its execution time.

See Also:
T20302: Display average runtime per filter to Special:AbuseFilter table

Details

Reference
bz50837

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:50 AM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz50837.
bzimport added a subscriber: Unknown Object (MLST).
He7d3r created this task.Jul 5 2013, 8:55 PM
He7d3r added a comment.EditedJul 5 2013, 9:00 PM

By the way, that table on ptwiki was generated by this script:
https://github.com/he7d3r/mw-gadget-AbuseFilterExecutionStats

He7d3r updated the task description. (Show Details)Feb 22 2015, 9:36 PM
He7d3r set Security to None.
Dalba awarded a token.Jun 1 2015, 5:03 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 22 2016, 7:03 PM
He7d3r updated the task description. (Show Details)Oct 17 2016, 1:54 PM