https://bugzilla.wikimedia.org/show_bug.cgi?id=57465
Web browser: ---
Bug ID: 57465
Summary: CommonsMetadata confuses license information when
several are present
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: CommonsMetadata
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Did not really look for the extent of that one, but see that example:
<https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=imageinfo&format=json&iiprop=extmetadata&iilimit=10&titles=File%3AAftonkl%C3%A4nning.%20Foto%20till%20boken%3A%20Ett%20sekel%20av%20dr%C3%A4kt%20och%20mode%20ur%20de%20Hallwylska%20samlingarna%20-%20Hallwylska%20museet%20-%2089365.tif>
The is a CC-licensed photo of a PD object − which is fairly common − so there
is both aa CC-BY-SA tag and a PD-old-100 one.
(note this is a somehow nice case because license are nested into {{copyright
information}} tag which labels what copyright status is for what)
The API returns :
"LicenseUrl": {
"value": "http://creativecommons.org/licenses/by-sa/3.0\n",
"source": "commons-desc-page",
"hidden": ""
},
"LicenseShortName": {
"value": "Public domain",
"source": "commons-desc-page",
"hidden": ""
},
"UsageTerms": {
"value": "Public domain",
"source": "commons-desc-page",
"hidden": ""
},
"Copyrighted": {
"value": "False",
"source": "commons-desc-page",
"hidden": ""
Effectively mixing up both license.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l