Page MenuHomePhabricator

Be able to filter Wikibase edits in Recent Changes on type of change
Open, Needs TriagePublic


[Stolen from]

It would be lovely to add a filter group for RecentChanges/Watchlists for Wikibase edits based on type of edit:

  • sitelink
  • label
  • description
  • alias

    For the above four, you'd probably want to filter explicitly on adds/changes/removes, and on a match list of languages (maybe pre-populated from the user's Babel stack)?
  • statement

    For this, you'd want add/changes/removes, but also details within changes like added/removed qualifiers, and possibly match to a list of properties (e.g. show me changes that remove instanceOf claims).

From my poking around the DBs, this is going to be a serious epic if we do this. Wikibase doesn't store any of this information inside the DB stack, instead calculating it on the fly from deserialised entities fetched from external storage, so there's nothing in the recentchanges table for the filtering code to use, nor anything even to join onto.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Restricted Application added a project: Growth-Team. · View Herald TranscriptFeb 15 2019, 6:15 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

A prototype of this could likely be pretty good just filtering on the edit summary used.
We could also look at using rc_params?

Edit summary is in a different table so that would be a bit expensive, but probably doable? Of course it'd be tricked by people manually writing the trigger terms into the edit comment of a normal edit, but that's maybe sufficient for a start?

JTannerWMF added a subscriber: JTannerWMF.

We will consider this for the future, however, it is not currently in scope.