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.
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.
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| ApiQueryWatchlist: Add labels filter to action=query&list=watchlist API | mediawiki/core | master | +108 -12 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T416615 Make watchlist labels usable via API calls | |||
| Open | TheresNoTime | T420839 Add labels filter to action=query&list=watchlist API |
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!)
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
Change #1265422 merged by jenkins-bot:
[mediawiki/core@master] ApiQueryWatchlist: Add labels filter to action=query&list=watchlist API