Page MenuHomePhabricator

Artwork: Return values for artwork artist and photographer artist
Closed, DuplicatePublic

Description

Artwork: Return values for artwork artist and photographer artist

See example URL: The fountain has a sculptor as artist and the image was taken by a photographer. Both values are needed for a proper attribution. Currently the photographer is not mentioned in the output.


Version: unspecified
Severity: normal
URL: https://commons.wikimedia.org/w/api.php?action=query&titles=File:Duisburg_-_Brunnen_mit_Anker_vor_IHK.jpg&prop=imageinfo&iiprop=extmetadata&format=jsonfm

Details

Reference
bz62254

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:00 AM
bzimport added a project: CommonsMetadata.
bzimport set Reference to bz62254.
bzimport added a subscriber: Unknown Object (MLST).

While CommonsMetadata does parse these templates, it only returns data from the first infobox-like template on the page. This is mostly a limitation of the current API output format (bug 57259 has more details).

Gilles subscribed.

Merged into T69860 which will sort of solve the issue, by collecting author names from all templates. A proper solution will have to wait for CommonsData.