Page MenuHomePhabricator

Should be able to generate watchlist like results for a generator
Open, LowPublicFeature

Description

I can request a list of recent changes for items from my watchlist:
https://en.m.wikipedia.org/wiki/Special:ApiSandbox?useformat=desktop#action=query&list=watchlist&format=json
generated from articles in my raw watchlist - https://en.m.wikipedia.org/wiki/Special:ApiSandbox?useformat=desktop#action=query&list=watchlistraw&format=json

Logically it seems that you might be able to use a generator to swap out the pages used to generate the watchlist e.g. rather than watchlistraw pass in a list of pages in a given category (for example https://en.m.wikipedia.org/wiki/Special:ApiSandbox?useformat=desktop#action=query&list=categorymembers&format=json&cmtitle=Category%3ABirds) to show edits across them.

This would be extremely useful to get delivered in a single API request allowing us to build all sorts of web apps and explore multiple watchlist type functionality.

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added subscribers: Jdlrobson, Tgr.

In other words, it would be nice to have a prop-type watchlist API instead of / next to the current list-type one. One thing that could be implemented with it that's currently available via the web UI but not via the API is linked recent changes / category recent changes.

One thing that could be implemented with it that's currently available via the web UI but not via the API is linked recent changes / category recent changes.

See also T17552 (which would be a less generic solution for that).

This seems like this is close to a duplicate of T57377: API: Implement rctitles parameter in query=recentchanges, unless you really insist on sticking with the "rctitle" there instead of being able to use a generator.

This seems like this is close to a duplicate of T57377: API: Implement rctitles parameter in query=recentchanges, unless you really insist on sticking with the "rctitle" there instead of being able to use a generator.

I don't. Krinkle might :)

Aklapper changed the subtype of this task from "Task" to "Feature Request".