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.naga...@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=images&revids=254862759
>
> http://en.wikipedia.org/w/api.php?action=query&format=xml&prop=images&revids=462841413
>
> However both these queries give me the same response. Something I'm doing
> wrong? How should I go about doing this?
>
> Abhishek
> ------------
> http://abhishek.mit.edu
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to