Am 18.02.2013 um 13:06 schrieb Tim Starling <[email protected]>:

> 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.

-- 
Jens Ohlig
Software developer Wikidata project

Wikimedia Deutschland e.V.
Obentrautstr. 72
10963 Berlin
www.wikimedia.de

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.

Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das
Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.



_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to