On 08/01/12 13:07, Petr Onderka wrote:
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.

Actually, he could request the API to parse it for him and return the images: * http://en.wikipedia.org/w/api.php?action=parse&format=xml&prop=images&oldid=254862759 * http://en.wikipedia.org/w/api.php?action=parse&format=xml&prop=images&oldid=462841413

Note however that this is an expensive operation for the servers.

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to