Last modified: 2014-04-22 23:26:41 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 T65822, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63822 - auto-add additional mediawiki template parameters as creator template values
auto-add additional mediawiki template parameters as creator template values
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-11 15:04 UTC by dan
Modified: 2014-04-22 23:26 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:20 UTC, dan
Details

Description dan 2014-04-11 15:04:35 UTC
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
Comment 1 Gerrit Notification Bot 2014-04-12 02:40:51 UTC
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
Comment 2 dan 2014-04-17 15:20:41 UTC
Created attachment 15131 [details]
sample dataset
Comment 3 dan 2014-04-17 16:02:52 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 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
Comment 4 Gerrit Notification Bot 2014-04-22 23:26:31 UTC
Change 125552 merged by jenkins-bot:
auto-add additional mediawiki template parameters as creator template values

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

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


Navigation
Links