Page MenuHomePhabricator

auto-add additional mediawiki template parameters as creator template values
Closed, ResolvedPublic

Description

currently, when a value is given for the mediawiki template parameter artist, that value is auto-added as a creator template value; e.g., if using the Artwork template and a value for artist is given as Leonardo Da Vinci, it is added to the Artwork template as | artist = {{Creator: Leonardo Da Vinci}}. we also want to auto-add the following mediawiki parameter fields as {{Creator: metadata value}}:

author
Author
composer
lyrics_writer
performer
photographer
publisher


Version: unspecified
Severity: normal

Details

Reference
bz63822

Event Timeline

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

Change 125552 had a related patch set uploaded by Dan-nl:
auto-add additional mediawiki template parameters as creator template values

https://gerrit.wikimedia.org/r/125552

Created attachment 15131
sample dataset

Attached:

you can use the beta cluster to test the issue: http://commons.wikimedia.beta.wmflabs.org/wiki/Special:GWToolset

step 1

  1. nothing to add
  2. select Photograph
  3. nothing to add
  4. nothing to add
  5. choose the attached sample dataset.

step 2

  1. map the following fields photographer => dc:creator title identifier => dc:identifier url to the media file => europeana:object
  2. press the "Preview batch" button

step 3

  1. click on one of the resulting files
  2. notice that in the template, the Photographer field has the photographer value as plain text; it’s not wrapped in a {{Creator: Photographer Name}} template

Change 125552 merged by jenkins-bot:
auto-add additional mediawiki template parameters as creator template values

https://gerrit.wikimedia.org/r/125552

Gilles triaged this task as Unbreak Now! priority.Dec 4 2014, 10:11 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Needs Triage.Dec 4 2014, 11:23 AM