Add search for filter patterns

Authored by Daimona Eaytoy <daimona.wiki@gmail.com> on Feb 17 2018, 2:09 PM.

Description

Add search for filter patterns

Adds an option for searching filters with a
specific pattern in the main page, together with already existing options.
Plain search and regex are available, only for users with the
view-private right. The search is performed directly on the database.
If the user actually searched for something, it is also added a column to
Special:AbuseFilter showing a snippet of the pattern from each filter, with the query match highlighted.

Depends on: I8144062b1f273d0d8932203ffcb7a71aca60bba9

Bug: T87455
Change-Id: Ibcd84ff84edca481328210ee857b0ab723028632

Details

Committed
Daimona Eaytoy <daimona.wiki@gmail.com>Mar 13 2018, 4:01 PM
Parents
rEABFc58e4191c765: Convert Special:AbuseFilter to OOUI
Branches
Unknown
Tags
Unknown
References
refs/changes/93/411593/22
ChangeId
Ibcd84ff84edca481328210ee857b0ab723028632
Daimona Eaytoy <daimona.wiki@gmail.com> committed rEABF3c9a2bb1f584: Add search for filter patterns (authored by Daimona Eaytoy <daimona.wiki@gmail.com>).Mar 13 2018, 4:01 PM