Page MenuHomePhabricator

Convert Template:Creator to Lua and use Wikidata
Closed, ResolvedPublic

Description

https://commons.wikimedia.org/wiki/Template:Creator should be rebuilt as Lua module https://commons.wikimedia.org/wiki/Module:Creator . All current functionality should be kept. For each field a fallback to Wikidata should be implemented. This fallback should be used if the field is not set locally and the "wikidata" field is set to a Q<id>.

Would be nice if wikidata id could be passed to Module:Authority_control if Authority is empty

Event Timeline

Multichill updated the task description. (Show Details)
Multichill raised the priority of this task from to High.
Multichill added a project: SDC General.
Multichill added a subscriber: Multichill.
Restricted Application added a project: Multimedia. · View Herald TranscriptFeb 15 2015, 1:21 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jheald added a subscriber: Jheald.Feb 19 2015, 9:39 PM

It's not in Lua, but some work towards pushing data from wikidata through the existing Creator template can be found at
https://www.wikidata.org/wiki/Template:Creator/wrapper
with some test-cases at https://www.wikidata.org/wiki/Template:Creator/wrapper/test

There's a bit more red text than there used to be, because some of the Lua Wikidata convenience library calls I was using have been changed. And of course what I've written isn't in Lua. But possibly it may be of some use for comparison.

Ricordisamoa renamed this task from Convert Template:Creator to LUA and use Wikidata to Convert Template:Creator to Lua and use Wikidata.Apr 20 2015, 6:56 AM
Ricordisamoa updated the task description. (Show Details)
Ricordisamoa set Security to None.
Restricted Application added a project: Wikidata. · View Herald TranscriptJun 12 2015, 2:54 PM
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:45 PM
Restricted Application added a subscriber: Matanya. · View Herald TranscriptSep 4 2015, 6:45 PM
Base added a subscriber: Base.Jan 5 2016, 8:40 PM
Yann added a subscriber: Yann.Feb 7 2016, 4:14 PM
Multichill added a subscriber: Zolo.Mar 9 2017, 5:03 PM
SandraF_WMF added a subscriber: SandraF_WMF.