mediawiki-extensions-Scribunto/engines/LuaCommon/lualib
Brad Jorsch 0a8a07de2f Fix package.loaded and other cleanups
The listing of the standard modules in package.loaded seems to have been
removed to avoid leaking information to loaded modules. However, since
the *entire* environment is cloned, *including* package.loaded itself,
this does not seem to actually be a problem. But for good measure, also
add a unit test to verify that the version of the standard module tables
referenced from package.loaded is the same as that in _G.

This change also cleans up some unused local variables and an unused
local function from the package module.

Change-Id: I7ec8227b3273059e8f65ad735c215bfd0c623e64
2013-01-30 17:24:09 +00:00
..
luabit Added more Lua environment features 2012-04-18 13:46:18 +10:00
stringtools Added more Lua environment features 2012-04-18 13:46:18 +10:00
mw.lua Fix package.loaded and other cleanups 2013-01-30 17:24:09 +00:00
package.lua Fix package.loaded and other cleanups 2013-01-30 17:24:09 +00:00