<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://seligon.conlang.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ANo_globals</id>
	<title>Module:No globals - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://seligon.conlang.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ANo_globals"/>
	<link rel="alternate" type="text/html" href="https://seligon.conlang.org/index.php?title=Module:No_globals&amp;action=history"/>
	<updated>2026-04-06T19:46:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://seligon.conlang.org/index.php?title=Module:No_globals&amp;diff=188&amp;oldid=prev</id>
		<title>Michaelmgoessler: Created page with &quot;local mt = getmetatable(_G) or {} function mt.__index (t, k) 	if k ~= &#039;arg&#039; then 		error(&#039;Tried to read nil global &#039; .. tostring(k), 2) 	end 	return nil end function mt.__newi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://seligon.conlang.org/index.php?title=Module:No_globals&amp;diff=188&amp;oldid=prev"/>
		<updated>2022-05-19T09:11:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local mt = getmetatable(_G) or {} function mt.__index (t, k) 	if k ~= &amp;#039;arg&amp;#039; then 		error(&amp;#039;Tried to read nil global &amp;#039; .. tostring(k), 2) 	end 	return nil end function mt.__newi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local mt = getmetatable(_G) or {}&lt;br /&gt;
function mt.__index (t, k)&lt;br /&gt;
	if k ~= &amp;#039;arg&amp;#039; then&lt;br /&gt;
		error(&amp;#039;Tried to read nil global &amp;#039; .. tostring(k), 2)&lt;br /&gt;
	end&lt;br /&gt;
	return nil&lt;br /&gt;
end&lt;br /&gt;
function mt.__newindex(t, k, v)&lt;br /&gt;
	if k ~= &amp;#039;arg&amp;#039; then&lt;br /&gt;
		error(&amp;#039;Tried to write global &amp;#039; .. tostring(k), 2)&lt;br /&gt;
	end&lt;br /&gt;
	rawset(t, k, v)&lt;br /&gt;
end&lt;br /&gt;
setmetatable(_G, mt)&lt;/div&gt;</summary>
		<author><name>Michaelmgoessler</name></author>
	</entry>
</feed>