https://shergoodaviation.com/wiki/index.php?title=Module:No_globals&feed=atom&action=history
Module:No globals - Revision history
2024-03-29T06:04:26Z
Revision history for this page on the wiki
MediaWiki 1.31.0
https://shergoodaviation.com/wiki/index.php?title=Module:No_globals&diff=125&oldid=prev
Tsukino.firethorn: 1 revision imported
2020-06-04T00:25:17Z
<p>1 revision imported</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 00:25, 4 June 2020</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Tsukino.firethorn
https://shergoodaviation.com/wiki/index.php?title=Module:No_globals&diff=124&oldid=prev
sa>MusikAnimal: Undid revision 948472525 by w>DiBabelYurikBot (talk)
2020-04-01T06:28:55Z
<p>Undid revision 948472525 by [[Special:Contributions/w>DiBabelYurikBot|w>DiBabelYurikBot]] ([[User talk:w>DiBabelYurikBot|talk]])</p>
<p><b>New page</b></p><div>local mt = getmetatable(_G) or {}<br />
function mt.__index (t, k)<br />
if k ~= 'arg' then<br />
error('Tried to read nil global ' .. tostring(k), 2)<br />
end<br />
return nil<br />
end<br />
function mt.__newindex(t, k, v)<br />
if k ~= 'arg' then<br />
error('Tried to write global ' .. tostring(k), 2)<br />
end<br />
rawset(t, k, v)<br />
end<br />
setmetatable(_G, mt)</div>
sa>MusikAnimal