Page MenuHomePhabricator

Add labels filter to action=query&list=watchlist API
Open, Needs TriagePublic

Description

It is possible to show watchlist labels in the action=query&list=watchlist API endpoint (with wlprop=labels), but it's not yet possible to filter the results by label IDs.

A new wllabels parameter should be added, that accepts a set of label IDs.

Event Timeline

Acknowledging request and moving to discussion to align on prioritization

The Community-Tech team intends to work on this once we've finished a few other Watchlist-Labels tasks. (Not to discourage anyone from working on it now if they want to!)

Noted. Then moving it to Radar for us.

Change #1265422 had a related patch set uploaded (by Samtar; author: Samtar):

[mediawiki/core@master] ApiQueryWatchlist: Add labels filter to action=query&list=watchlist API

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

Change #1265422 merged by jenkins-bot:

[mediawiki/core@master] ApiQueryWatchlist: Add labels filter to action=query&list=watchlist API

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