Licensing information is not stored in a computer readable format, it's just a template on the page. You'll need to get a list of license templates and look for them in the text.
On Fri, Jul 29, 2011 at 1:09 AM, Zhao Han cx.chenghai@gmail.com wrote:
So, how do you get the license of a image? Seems there is no straightforward way.
For example, http://commons.wikimedia.org/wiki/File:Turner,_J._M._W._-_The_Fighting_T%C3%... in the public domain.
Thanks, Zhao
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api