mediawiki-extensions-Scribunto/engines/LuaCommon
Brad Jorsch 9a5dc931f5 Allow mw.log and console to handle multiple values
In the debug console, "=unpack( { 1, 2, 3 } )" prints only "1". And
similarly, "mw.log( 1, 2, 3 )" logs only "1". Since Lua uses multiple
return values extensively, this is not particularly helpful.

Following the lead of the lua command-line client, change these to
output multiple values by converting each one using tostring() and then
concatenating them with tab as a separator.

Change-Id: I791d4c92415fc722bbd7c62d0f5f88752d31fe07
2012-12-21 10:26:38 -05:00
..
lualib Allow mw.log and console to handle multiple values 2012-12-21 10:26:38 -05:00
LuaCommon.php Allow mw.log and console to handle multiple values 2012-12-21 10:26:38 -05:00
LuaInterpreter.php Some bits of documentation 2012-06-20 23:54:21 +01:00