Last modified: 2014-08-14 14:25:51 UTC
CommonsMetadata uses File::getDescriptionText() to figure out a bunch of properties from license and description templates, like LicenseShortName or ImageDescription. This does not work on beta wikis which get the image from beta Commons. For example, this image is hosted on beta Commons (and there is no image with the same name on real Commons): http://commons.wikimedia.beta.wmflabs.org/wiki/File:Produce.jpg The extmetadata API shows LicenseShortName: http://commons.wikimedia.beta.wmflabs.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Produce.jpg&iiextmetadatalanguage=vo However, it is missing when called on some other beta wiki: http://en.wikipedia.beta.wmflabs.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Produce.jpg&iiextmetadatalanguage=vo Not sure if related, or some different configuration issue, but the description is missing on the wiki page too: http://en.wikipedia.beta.wmflabs.org/wiki/File:Produce.jpg On live sites, Commons and other wikis show the same output: http://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Across_the_Combe_to_Poynings_-_geograph.org.uk_-_377166.jpg http://en.wikipedia.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Across_the_Combe_to_Poynings_-_geograph.org.uk_-_377166.jpg
(In reply to Tisza Gergő from comment #0) > Not sure if related, or some different configuration issue, but the > description is missing on the wiki page too: > > http://en.wikipedia.beta.wmflabs.org/wiki/File:Produce.jpg Very likely related, since that page and the extmetadata API both load the beta Commons file page with action=render to get the description; that could have been broken for some reason. Cannot reproduce on current beta site.