Hi,

I have a question on the PageImages MediaWiki extension. I have installed
it on my instanse of MediaWiki apache. It looks like it is working because
with the following hit:

api.php?action=query&prop=pageimages&format=xml&pithumbsize=500&pilimit=10&titles=Paris|Lille|Rennes

I am seeing the following response:

<api>
    <query>
    <pages>
        <page pageid="50116" ns="0" title="Lille"/>
        <page pageid="22989" ns="0" title="Paris"/>
        <page pageid="46132" ns="0" title="Rennes"/>
    </pages>
    </query>
</api>

I am not able to see any images info in the response, was expecting to see
something similar to:

http://en.wikipedia.org/w/api.php?action=query&prop=pageimages&format=xml&pithumbsize=500&pilimit=10&titles=Paris|Lille|Rennes

In mysql wikipedia DB I have populated *image* and *imagelinks* table using
dumps from wikipedia.

I am assuming that this extension uses data from *page_images* table which
is empty on my instance. How to populate this data (where to get the dump
from?).

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

Reply via email to