Hi, I'm trying to use the MediaWiki API to compare the sets of media items across different revisions of the same page. For that, I thought I'd use the Images API and pass it different revids parameters, then compare the results.
Consider, for example, this edit which adds an image to my User page. The old revision is 817810268 and the new is 999395482.
Expected result:
https://en.wikipedia.org/w/api.php?action=query&revids=817810268&format=json&prop=images and https://en.wikipedia.org/w/api.php?action=query&revids=999395482&format=json&prop=images should give me different results. The former should return no images, and the latter should tell me there is now an image.
Actual result:
Both return the image that is currently there.
It looks like the revids parameter is used only for revolving the page id. Is this intended behavior? If so, is there some other recommended way to achieve what I need with the current API?