Page MenuHomePhabricator

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

Description should be rebuilt as Lua module . 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 raised the priority of this task from to High.
Multichill updated the task description. (Show Details)
Multichill added a project: SDC General.
Multichill subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

It's not in Lua, but some work towards pushing data from wikidata through the existing Creator template can be found at
with some test-cases at

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.