<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wonkpedia.org/mediawiki/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://wonkpedia.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AData"/>
	<link rel="alternate" type="text/html" href="https://wonkpedia.org/mediawiki/index.php?title=Module:Data&amp;action=history"/>
	<updated>2026-04-15T07:37:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://wonkpedia.org/mediawiki/index.php?title=Module:Data&amp;diff=1289&amp;oldid=prev</id>
		<title>Bmueller: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wonkpedia.org/mediawiki/index.php?title=Module:Data&amp;diff=1289&amp;oldid=prev"/>
		<updated>2022-02-23T16:53:05Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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&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 16:53, 23 February 2022&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key lets_get_wonky-mediawiki-:diff:wikidiff2:1.12:old-1288:rev-1289:1.11.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Bmueller</name></author>
	</entry>
	<entry>
		<id>https://wonkpedia.org/mediawiki/index.php?title=Module:Data&amp;diff=1288&amp;oldid=prev</id>
		<title>Wikipedia&gt;Jackmcbarn: Make this work when called with wikitext's fake tables</title>
		<link rel="alternate" type="text/html" href="https://wonkpedia.org/mediawiki/index.php?title=Module:Data&amp;diff=1288&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 ~= 'table' 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;lt;span class=&amp;quot;error&amp;quot;&amp;gt;[[Category:Pages with failed Module:Data lookups]]Error: Tried to read index &amp;quot;' .. mw.text.nowiki(v) .. '&amp;quot; of mw.loadData(&amp;quot;' .. mw.text.nowiki(k) .. '&amp;quot;).' .. mw.text.nowiki(table.concat(args, '.')) .. ', which is a ' .. ty .. '&amp;lt;/span&amp;gt;'&lt;br /&gt;
				else&lt;br /&gt;
					error('Tried to read index &amp;quot;' .. v .. '&amp;quot; of mw.loadData(&amp;quot;' .. k .. '&amp;quot;).' .. table.concat(args, '.') .. ', which is a ' .. 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>