Page MenuHomePhabricator

Testing filters against individual changes always fails to match the filter
Closed, DuplicatePublic

Description

On Persian Wikipedia, if we go to abuse filter log[1] and then click on "examine" next to any of them, and then load the same filter ID, and finally click on "Test filter" button, no matter what the conditions are, it always returns a "The filter did not match this change" response.

Even for a very simple condition like 2>1 the test always fails to match.[2]

Although the "Test a filter against previous edits"[3] still works fine, but still this bug has made testing and development of filters hard and confusing.

[1]: https://fa.wikipedia.org/wiki/ویژه:سیاههٔ_خرابکاری?&uselang=en
[2]: https://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%98%D9%87:%D9%BE%D8%A7%D9%84%D8%A7%DB%8C%D9%87%D9%94_%D8%AE%D8%B1%D8%A7%D8%A8%DA%A9%D8%A7%D8%B1%DB%8C/examine/log/609324?&uselang=en
[3]: https://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%98%D9%87:%D9%BE%D8%A7%D9%84%D8%A7%DB%8C%D9%87%D9%94_%D8%AE%D8%B1%D8%A7%D8%A8%DA%A9%D8%A7%D8%B1%DB%8C/test/122?&uselang=en

Event Timeline

Dalba created this task.May 16 2015, 3:08 AM
Dalba raised the priority of this task from to Needs Triage.
Dalba updated the task description. (Show Details)
Dalba added a project: AbuseFilter.
Dalba added a subscriber: Dalba.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 16 2015, 3:08 AM
Huji added a subscriber: Huji.May 16 2015, 2:28 PM

I am not sure if I understand the bug correctly, but it is *not* specific to Persian Wikipedia. Try test Wikipedia for example:

https://test.wikipedia.org/wiki/Special:AbuseFilter/examine/log/6093

It seems like no matter what criteria you use, the filter never matches the edit.

Huji renamed this task from Examining individual changes always fails on Persian Wikipedia to Testing filters against individual changes always fails to match the filter.May 16 2015, 2:30 PM
Huji set Security to None.
Huji added a subscriber: Mormegil.