2010/9/10 Bryan Tong Minh <[email protected]>:
> Just use prop=images as a generator on en.wikipedia.org. This will
> yield the thumb urls as well as the urls of the commons pages, which
> can then be fetched separately.
>
Concrete example:

http://en.wikipedia.org/w/api.php?action=query&generator=images&gimlimit=max&titles=Albert_Einstein&prop=imageinfo&iiprop=url|dimensions&iiurlwidth=200

Licensing info is not available through the API because it's just some
text or template on the image description page; it has no meaning to
the MediaWiki software.

Roan Kattouw (Catrope)

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to