Am 18.02.2013 um 13:06 schrieb Tim Starling tstarling@wikimedia.org:
On 17/02/13 00:44, Luca Martinelli wrote:
As of now, we write templates and we put data into them, article by article - but this is going to change during 2013, with the implementation of Wikidata, since we'll put data in the common repo and then just call them on local projects.
Is this new prog language going to affect this? I mean, will it help us to write new templates which will call those data more easily?
I believe that some members of the Wikidata team are interested in allowing Lua modules to fetch data directly from Wikidata. We have added a couple of hooks to Scribunto to support this, but the library hasn't been designed or implemented yet, as far as I can tell.
It is in the works and I would love if you find the time to review it once it's up on Gerrit (which should happen this week).
Lua scripting is indeed a big deal for us at Wikidata — structured data from Wikidata is available as JSON which can be thrown around and iterated over as Lua tables. This has the potential to unleash some niftyness in Wikidata-based Infobox templates.