Module:No globals: Difference between revisions
Content added Content deleted
m (Protected Module:No globals: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
Michaeldakin (talk | contribs) m (1 revision imported) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1:
local mt = getmetatable(_G) or {}
function mt.__index (t, k)
if
error('Tried to read nil global ' .. tostring(k), 2)
end
|
Latest revision as of 23:14, 19 August 2019
Documentation for this module may be created at Module:No globals/doc