Page MenuHomePhabricator

License template of the artwork is treated as if it were license template of the image
Closed, DuplicatePublic

Description

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.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=67860

Details

Reference
bz57465

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:38 AM
bzimport added a project: CommonsMetadata.
bzimport set Reference to bz57465.

Mishandling of multiple licenses is bug 57259. This one is slightly different, as one the licenses is actually not about the image, and CommonsMetadata should ignore it.

Link to image description page:
https://commons.wikimedia.org/wiki/File:Aftonkl%C3%A4nning._Foto_till_boken:_Ett_sekel_av_dr%C3%A4kt_och_mode_ur_de_Hallwylska_samlingarna_-_Hallwylska_museet_-_89365.tif

I don't see any way to recognize right now that the license is not about the image; this should be fixed on Commons. Probably [[commons:Template:Copyright_information/row]] should add some machine-readable markup when underlying=yes is used.

(In reply to Tisza Gergő from comment #2)

Probably [[commons:Template:Copyright_information/row]] should add some
machine-readable markup when underlying=yes is used.

I’d be happy to do it. Please advise on what sort of markup you’d expect.

bug 57259 should now be fixed to the extent that we never mix elements of different licenses into a single fictional license.

Re: markup, I gave an example (not necessarily a good one; feel free to tweak) at
https://commons.wikimedia.org/wiki/Commons_talk:Machine-readable_data#Copyright_information_of_underlying_content

Gilles triaged this task as Medium priority.Nov 24 2014, 1:30 PM
Gilles subscribed.