<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FPremeditated%2Fcommons</id>
	<title>Module:Sandbox/Premeditated/commons - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FPremeditated%2Fcommons"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Premeditated/commons&amp;action=history"/>
	<updated>2026-08-11T03:04:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/Premeditated/commons&amp;diff=146009&amp;oldid=prev</id>
		<title>imported&gt;Premeditated: ←Created page with &#039;local p = {} local WikidataIB = require(&quot;Module:WikidataIB&quot;)  -- Code from &#039;Module:No globals&#039; local mt = getmetatable(_G) or {} function mt.__index (t, k) 	if k...&#039;</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Premeditated/commons&amp;diff=146009&amp;oldid=prev"/>
		<updated>2019-10-27T12:57:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=WP:AES&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:AES (page does not exist)&quot;&gt;←&lt;/a&gt;Created page with &amp;#039;local p = {} local WikidataIB = require(&amp;quot;Module:WikidataIB&amp;quot;)  -- Code from &amp;#039;Module:No globals&amp;#039; local mt = getmetatable(_G) or {} function mt.__index (t, k) 	if k...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
local WikidataIB = require(&amp;quot;Module:WikidataIB&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
-- Code from &amp;#039;Module:No globals&amp;#039;&lt;br /&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;br /&gt;
-- End of code from &amp;#039;Module:No globals&amp;#039;&lt;br /&gt;
&lt;br /&gt;
function p.getMID()&lt;br /&gt;
	return &amp;quot;M&amp;quot; .. mw.title.getCurrentTitle().id&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getFilename()&lt;br /&gt;
	return mw.title.getCurrentTitle().nsText .. &amp;#039;:&amp;#039; .. mw.title.getCurrentTitle().text&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getP180vals(frame)&lt;br /&gt;
	local mid = frame.args[1]&lt;br /&gt;
	local prefix = frame.args[2] or &amp;#039;&amp;#039;&lt;br /&gt;
	local postfix = frame.args[3] or &amp;#039; &amp;#039;&lt;br /&gt;
	local text = &amp;#039;&amp;#039;&lt;br /&gt;
	local tablevals = mw.wikibase.getBestStatements( mid, &amp;#039;P180&amp;#039;)&lt;br /&gt;
	for i, v in ipairs(tablevals) do&lt;br /&gt;
		text = text .. prefix .. v.mainsnak.datavalue.value.id .. postfix&lt;br /&gt;
	end&lt;br /&gt;
	return text&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Premeditated</name></author>
	</entry>
</feed>