Page MenuHomePhabricator

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

Description should be reimplemented as a Lua module at 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>.

Event Timeline

Multichill raised the priority of this task from to Medium.
Multichill updated the task description. (Show Details)
Multichill added subscribers: Multichill, Aklapper.
Jheald added a subscriber: Jheald.Feb 19 2015, 9:40 PM

It's not in Lua, but some work towards pushing data from wikidata through the existing Institution 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.

SamB renamed this task from Template:Institution to LUA and use Wikidata to Convert Template:Institution to Lua and use Wikidata.Apr 27 2015, 11:08 PM
SamB updated the task description. (Show Details)
SamB set Security to None.
He7d3r added a subscriber: He7d3r.Apr 28 2015, 11:23 AM
Restricted Application added a project: Wikidata. · View Herald TranscriptJun 12 2015, 3:23 PM
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:25 PM
Restricted Application added a subscriber: Matanya. · View Herald TranscriptSep 4 2015, 6:25 PM
Base added a subscriber: Base.Jan 5 2016, 8:36 PM
SandraF_WMF added a subscriber: SandraF_WMF.