Extension talk:Lua

Ubuntu install not quite working
Using the 28 Dec 2008 snapshot.

The Lua50 package on my Feisty system complained about the Lua ... syntax and wouldn't run the code at all.

Hand compiled and installed Lua 5.14. Had to manually apt-get libreadline-dev to provide readline.h.

Now it runs OK, but argument passing from the Lua tag is not working under MediaWiki 1.11.1

The example program:

Produces: Error on line 2: bad argument #2 to 'format' (string expected, got nil) print(hello("literal string")) works fine.

It doesn't help to substitute a literal string into the lua tag, either.  does not work for me. -- MaxEnt 02:34, 29 December 2008 (UTC)