Last modified: 2014-05-20 10:41:14 UTC
The "author" field of the information template, which matched with the "Artist" key in extmetadata, should have a full URL instead of a local URL. Status quo: "Artist": { "value": "<a href=\"/wiki/User:Elya\" title=\"User:Elya\">Elke Wetzig</a>", "source": "commons-desc-page" } Expected output: "Artist": { "value": "<a href=\"https://commons.wikimedia.org/wiki/User:Elya\" title=\"User:Elya\">Elke Wetzig</a>", "source": "commons-desc-page" } Otherwise the value is unusable outside Wikimedia Commons.
That's strange; the HTML comes ultimately from action=render, which does use absolute URLs. Seems to work for me, e.g.: http://www.mediawiki.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&format=jsonfm&titles=File:1936_Morris_12_Special_coup%C3%A9.jpg Can you tell which file produced the output above?
See the URL field of this bug. But I narrowed the bug now: Compare https://www.mediawiki.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&format=jsonfm&titles=File:Saint%20Panteleimon%20Church,%20Shevchenkove,%20Ukraine-1666.jpg with https://commons.wikimedia.org/w/api.php?action=query&titles=File:Saint%20Panteleimon%20Church,%20Shevchenkove,%20Ukraine-1666.jpg&prop=imageinfo&iiprop=extmetadata&format=jsonfm Local vs. shared repo call.
Change 96528 had a related patch set uploaded by Gergő Tisza: Make sure local URLs in image description are always absolute https://gerrit.wikimedia.org/r/96528
Gergő: How to get your patch reviewed?
Change 96528 merged by jenkins-bot: Make sure local URLs in image description are always absolute https://gerrit.wikimedia.org/r/96528
Assuming this bug is FIXED as all patches were merged. If that is not the case: Please reopen and elaborate what is left to do here to get this report fixed.