mediawiki-extensions-Scribunto/engines/LuaCommon/lualib
Brad Jorsch 00d4b711ed Add mw.loadData, for static data loading
People sometimes want to load large tables of constant data from a
module. Using require(), this has to be reparsed every time, which can
be slow.

mw.loadData() will load the just data once, and return a table with a
metatable cleverly designed to give read-only access to the loaded data.

Change-Id: Icec192bdbe6cfca7902fd5cb5d0e217bd8399637
2013-02-21 23:03:53 +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
ustring Fix mw.ustring.gmatch and patterns with '^' 2013-02-14 14:25:55 -05:00
libraryUtil.lua Lua library support functions 2013-01-31 12:40:39 -05:00
mw.language.lua Scribunto language library 2013-02-18 10:41:12 +11:00
mw.lua Add mw.loadData, for static data loading 2013-02-21 23:03:53 +00:00
mw.site.lua Fix further non-local effects of library registration 2013-02-13 15:40:18 +11:00
mw.uri.lua Fix further non-local effects of library registration 2013-02-13 15:40:18 +11:00
mw.ustring.lua Fix mw.ustring.gmatch and patterns with '^' 2013-02-14 14:25:55 -05:00
package.lua Fix package.loaded and other cleanups 2013-01-30 17:24:09 +00:00