I'm looking at the related changes feature and wondering if there is an API to access it. I see API's for the watchlist and for recent changes, both of which are similar. I'm completely new to mediawiki related programming. I'm interesting in getting related changes on Wikipedia.
Topic on Project:Support desk
This is information that you can get from the API, but I don't see a single "related changes" call. From the page you linked to:
- The "Related changes" feature lists all recent changes (before MediaWiki 1.5: only the last) in each page linked to from the specified page, or all recent changes in each page with a link to the specified page.
I looked at this for a bit, though, and didn't see a way to get a list of changes on a page or list of pages. I thought something like the following would work:
https://www.mediawiki.org/w/api.php?action=query&titles=API|MediaWiki&list=recentchanges
But apparently it doesn't. If I'm right (and not simply ignorant) then this looks worthy of a bug report.
Indeed. I've also tried and failed to get it to work. I was also expecting it to work using links
as a generator but it returns both results as if I used list=recentchanges and prop=links
https://www.mediawiki.org/w/api.php?action=query&list=recentchanges&generator=links&titles=API|MediaWiki
Thanks for looking at this. I can't say I quite understand the issue enough to file a bug report. I haven't even used the API yet at all, was just going to experiment. I think I will just use the watchlist API for starters, it is the same idea but for one fixed "page". If later I really want to use "get related changes" I will circle back and pursue this. But if someone else wants to file the bug report in the meantime, that would great also. Thanks.
I believe this is the feature request for what I wanted to do: bug 15552
Hi! any update regarding this issue? been trying also to get the related changes of a certain page. Like what is the output in this sample: Help:Related changes
Tried some bunch of queries but still no avail. One close enough is to get all the links that are associated with that page and get their revisions, problem is that there's too many of the returned links and all i want is the related changes that are recently updated of a certain page.
This feature request is tracked in task T17552
Thanks, will subscribe to that task.