<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.pantonianrepublic.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AData</id>
	<title>Module:Data - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pantonianrepublic.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AData"/>
	<link rel="alternate" type="text/html" href="https://wiki.pantonianrepublic.com/index.php?title=Module:Data&amp;action=history"/>
	<updated>2026-04-06T06:40:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>https://wiki.pantonianrepublic.com/index.php?title=Module:Data&amp;diff=2752&amp;oldid=prev</id>
		<title>Sebbog: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.pantonianrepublic.com/index.php?title=Module:Data&amp;diff=2752&amp;oldid=prev"/>
		<updated>2023-05-25T20:20:50Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:20, 25 May 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key wiki:diff::1.12:old-2751:rev-2752 --&gt;
&lt;/table&gt;</summary>
		<author><name>Sebbog</name></author>
	</entry>
	<entry>
		<id>https://wiki.pantonianrepublic.com/index.php?title=Module:Data&amp;diff=2751&amp;oldid=prev</id>
		<title>wikipedia&gt;Jackmcbarn: Make this work when called with wikitext&#039;s fake tables</title>
		<link rel="alternate" type="text/html" href="https://wiki.pantonianrepublic.com/index.php?title=Module:Data&amp;diff=2751&amp;oldid=prev"/>
		<updated>2021-01-16T19:03:09Z</updated>

		<summary type="html">&lt;p&gt;Make this work when called with wikitext&amp;#039;s fake tables&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local mt = {}&lt;br /&gt;
&lt;br /&gt;
function mt.__index(t, k)&lt;br /&gt;
	return function(frame)&lt;br /&gt;
		local data = mw.loadData(k)&lt;br /&gt;
		local i = 1&lt;br /&gt;
		for _,v in ipairs(frame.args) do&lt;br /&gt;
			local ty = type(data)&lt;br /&gt;
			if ty ~= &amp;#039;table&amp;#039; then&lt;br /&gt;
				local args = {}&lt;br /&gt;
				for j = 1, i - 1 do&lt;br /&gt;
					args[j] = frame.args[j]&lt;br /&gt;
				end&lt;br /&gt;
				if frame.args.softfail then&lt;br /&gt;
					return &amp;#039;&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;[[Category:Pages with failed Module:Data lookups]]Error: Tried to read index &amp;quot;&amp;#039; .. mw.text.nowiki(v) .. &amp;#039;&amp;quot; of mw.loadData(&amp;quot;&amp;#039; .. mw.text.nowiki(k) .. &amp;#039;&amp;quot;).&amp;#039; .. mw.text.nowiki(table.concat(args, &amp;#039;.&amp;#039;)) .. &amp;#039;, which is a &amp;#039; .. ty .. &amp;#039;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
				else&lt;br /&gt;
					error(&amp;#039;Tried to read index &amp;quot;&amp;#039; .. v .. &amp;#039;&amp;quot; of mw.loadData(&amp;quot;&amp;#039; .. k .. &amp;#039;&amp;quot;).&amp;#039; .. table.concat(args, &amp;#039;.&amp;#039;) .. &amp;#039;, which is a &amp;#039; .. ty)&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			data = data[v]&lt;br /&gt;
			i = i + 1&lt;br /&gt;
		end&lt;br /&gt;
		return data&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return setmetatable({}, mt)&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Jackmcbarn</name></author>
	</entry>
</feed>