Is it possible to get a list of licenses for all the images on wikipedia programmatically? Just the licenses, and a count of how many images have which particular license.
priyank bagrecha wrote:
Is it possible to get a list of licenses for all the images on wikipedia programmatically? Just the licenses, and a count of how many images have which particular license.
Well, more or less. The licenses are noted with templates, and the templates also add categories, so if you look at the templates/categories that are in the image page, you can find out.
Hi Priyank,
Op 5-8-2011 21:37, Platonides schreef:
priyank bagrecha wrote:
Is it possible to get a list of licenses for all the images on wikipedia programmatically? Just the licenses, and a count of how many images have which particular license.
Well, more or less. The licenses are noted with templates, and the templates also add categories, so if you look at the templates/categories that are in the image page, you can find out.
https://secure.wikimedia.org/wikipedia/commons/w/index.php?title=Special:Mos... and https://secure.wikimedia.org/wikipedia/commons/w/index.php?title=Special:Mos... might be of use. For example the GFDL license seems to be used almost 3 million times.
Maarten
Maarten Dammers wrote:
Hi Priyank,
Op 5-8-2011 21:37, Platonides schreef:
priyank bagrecha wrote:
Is it possible to get a list of licenses for all the images on wikipedia programmatically? Just the licenses, and a count of how many images have which particular license.
Well, more or less. The licenses are noted with templates, and the templates also add categories, so if you look at the templates/categories that are in the image page, you can find out.
https://secure.wikimedia.org/wikipedia/commons/w/index.php?title=Special:Mos... and https://secure.wikimedia.org/wikipedia/commons/w/index.php?title=Special:Mos... might be of use. For example the GFDL license seems to be used almost 3 million times.
Maarten
That will list just the most important ones. For a full list he should look at http://commons.wikimedia.org/wiki/Category:License_tags and all its descendants.
wikitech-l@lists.wikimedia.org