Page MenuHomePhabricator

Allow filtering the AbuseLog by wiki on wikis set as AbuseFilter central DB
Closed, ResolvedPublic

Description

Unlike the GUI https://meta.wikimedia.org/wiki/Special:AbuseLog?wpSearchUser=&wpSearchFilter=&wpSearchTitle=&wpSearchWiki=fywiki&title=Special%3AAbuseLog, the API doesn't appear to allow filtering the abuselog by wiki https://meta.wikimedia.org/w/api.php?action=help&modules=query%2Babuselog.

There is also no information (on aflprop, for example) on which wiki was affected by the AF hit, so no easy way to track global AF hits (public filters, but also the private ones, which cannot be caught with RCStream).

Event Timeline

Elfix raised the priority of this task from to Needs Triage.
Elfix updated the task description. (Show Details)
Elfix added a project: AbuseFilter.
Elfix moved this task to Backlog on the AbuseFilter board.
Elfix subscribed.

A workaround for the first point is to do a query directly on the wiki you are interested in (example: https://fy.wikipedia.org/w/api.php?action=query&list=abuselog&aflfilter=global-110), with the drawback is that it may require special rights on that wiki (for instance, only autoconfirmed users can filter by id on frwiki).

Change 407952 had a related patch set uploaded (by Matěj Suchánek; owner: Matěj Suchánek):
[mediawiki/extensions/AbuseFilter@master] Allow filtering the AbuseLog by wiki

https://gerrit.wikimedia.org/r/407952

Change 407952 merged by jenkins-bot:
[mediawiki/extensions/AbuseFilter@master] Allow filtering AbuseLog in API by wiki

https://gerrit.wikimedia.org/r/407952