Sietse wrote:
>> NB1: I waffled a lot about wiki templates in the previous e-mail, but
>> of course it is also an option to use the Lua tables format and store
>> those files on the wiki. That gives us the visibility and editability
>> of the wiki without binding us to the wiki template format.

Hans wrote:
> isn't wikimedia lua aware nowadays?

Hah, so it is — I didn't know that. That sounds like it might be an
ideal fit at least for displaying the command reference, possibly also
for storing its info. In case anyone else is curious: here are some
useful pages I found. (The information was a bit scattered sometimes,
but this set of pages covers most bases.)

--Sietse

Wikipedia's main page on the Lua extension:
http://en.wikipedia.org/wiki/Wikipedia:Lua

Good example template:
http://en.wikipedia.org/wiki/Module:BananasArgs

The reference manual:
https://www.mediawiki.org/wiki/Extension%3AScribunto/Lua_reference_manual

The extension's page:
http://www.mediawiki.org/wiki/Extension:Scribunto

Some discussion on using Lua databases:
http://lists.wikimedia.org/pipermail/wikitech-l/2013-February/066656.html
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to