Hi,
the prop=images query uses the imagelinks table[1] that doesn't store information about old revisions.
The only place where the information you want is still present is the actual text of the old revision. I think your only chance is to retrieve that text and parse it yourself, looking for the images.
[1]: http://www.mediawiki.org/wiki/Manual:Imagelinks_table
Petr Onderka [[User:Svick]]
On Sun, Jan 8, 2012 at 12:44, Abhishek abhishek.nagaraj@gmail.com wrote:
Hello all,
I'm looking to get imageinfo type information for two different revisions of the same page.
I'm thought the following would work: (revids are both for the page on Yogi Berra)
http://en.wikipedia.org/w/api.php?action=query&format=xml&prop=image...
http://en.wikipedia.org/w/api.php?action=query&format=xml&prop=image...
However both these queries give me the same response. Something I'm doing wrong? How should I go about doing this?
Abhishek
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api