Last modified: 2014-04-22 23:20:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65646, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63646 - don’t place sub-template into main template when no value is present
don’t place sub-template into main template when no value is present
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GWToolset (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-07 18:45 UTC by dan
Modified: 2014-04-22 23:20 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
sample dataset (9.34 KB, text/xml)
2014-04-17 15:17 UTC, dan
Details

Description dan 2014-04-07 18:45:42 UTC
the toolset currently places the {{Creator}} and {{Institution}} templates into the main template even when there is no metadata for those corresponding fields.
Comment 1 Gerrit Notification Bot 2014-04-07 18:48:47 UTC
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
Comment 2 dan 2014-04-17 15:17:26 UTC
Created attachment 15130 [details]
sample dataset
Comment 3 dan 2014-04-17 15:50:57 UTC
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
Comment 4 Gerrit Notification Bot 2014-04-22 23:20:31 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links