Page MenuHomePhabricator

don’t place sub-template into main template when no value is present
Closed, ResolvedPublic

Description

the toolset currently places the {{Creator}} and {{Institution}} templates into the main template even when there is no metadata for those corresponding fields.


Version: unspecified
Severity: normal

Details

Reference
bz63646

Event Timeline

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

Change 124376 had a related patch set uploaded by Dan-nl:
don’t place sub-template into main template when no value is present

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

Created attachment 15130
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 Artwork
  3. nothing to add
  4. nothing to add
  5. choose the attached sample dataset.

step 2

  1. map the following fields 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 the Artist and Current location fields in the output

Change 124376 merged by jenkins-bot:
don’t place sub-template into main template when no value is present

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

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:21 AM