Hi,
What query should I use to find to which Wiki an image belongs ? Most of the images in Wikipedia are stored in Wikimedia Commons, but there may be some stored on Local Wiki.
Right now I'm using this query to fetch image list for a given title:
http://en.wikipedia.org/w/api.php?action=parse&page=Pune&prop=images...
Regards, Siteshwar Vashisht
On Fri, May 13, 2011 at 8:41 PM, Siteshwar Vashisht siteshwar@gmail.com wrote:
Hi,
What query should I use to find to which Wiki an image belongs ? Most of the images in Wikipedia are stored in Wikimedia Commons, but there may be some stored on Local Wiki.
Right now I'm using this query to fetch image list for a given title:
http://en.wikipedia.org/w/api.php?action=parse&page=Pune&prop=images...
That's currently not possible with action=parse.
Hello,
I'm not bound to use action=parse, and open for alternate queries.
On Sat, May 14, 2011 at 4:01 PM, Bryan Tong Minh bryan.tongminh@gmail.comwrote:
On Fri, May 13, 2011 at 8:41 PM, Siteshwar Vashisht siteshwar@gmail.com wrote:
Hi,
What query should I use to find to which Wiki an image belongs ? Most of
the
images in Wikipedia are stored in Wikimedia Commons, but there may be
some
stored on Local Wiki.
Right now I'm using this query to fetch image list for a given title:
http://en.wikipedia.org/w/api.php?action=parse&page=Pune&prop=images...
That's currently not possible with action=parse.
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Regards, Siteshwar Vashisht
On Sat, May 14, 2011 at 10:02 PM, Siteshwar Vashisht siteshwar@gmail.com wrote:
Hello,
I'm not bound to use action=parse, and open for alternate queries.
Use generator=images on action=query with prop=imageinfo; it will then give you the imagerepository proper, which will either be local or shared.
Bryan
Hi,
By default information about maximum 10 images is returned. How can I increase this number ? imlimit parameter doesn't seem to work.
On Sun, May 15, 2011 at 1:41 PM, Bryan Tong Minh bryan.tongminh@gmail.comwrote:
On Sat, May 14, 2011 at 10:02 PM, Siteshwar Vashisht siteshwar@gmail.com wrote:
Hello,
I'm not bound to use action=parse, and open for alternate queries.
Use generator=images on action=query with prop=imageinfo; it will then give you the imagerepository proper, which will either be local or shared.
Bryan
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
On Sun, May 22, 2011 at 7:04 PM, Siteshwar Vashisht siteshwar@gmail.com wrote:
Hi,
By default information about maximum 10 images is returned. How can I increase this number ? imlimit parameter doesn't seem to work.
If you're using imageinfo as a generator, you have to set gimlimit instead of imlimit.
Roan Kattouw (Catrope)
mediawiki-api@lists.wikimedia.org