<?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%3AIPA%2Fdata%2Fexport</id>
	<title>Module:IPA/data/export - 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%3AIPA%2Fdata%2Fexport"/>
	<link rel="alternate" type="text/html" href="https://wiki.pantonianrepublic.com/index.php?title=Module:IPA/data/export&amp;action=history"/>
	<updated>2026-04-13T10:22:38Z</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:IPA/data/export&amp;diff=6608&amp;oldid=prev</id>
		<title>Django07: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.pantonianrepublic.com/index.php?title=Module:IPA/data/export&amp;diff=6608&amp;oldid=prev"/>
		<updated>2026-01-08T13:35:52Z</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 13:35, 8 January 2026&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key wiki:diff::1.12:old-6607:rev-6608 --&gt;
&lt;/table&gt;</summary>
		<author><name>Django07</name></author>
	</entry>
	<entry>
		<id>https://wiki.pantonianrepublic.com/index.php?title=Module:IPA/data/export&amp;diff=6607&amp;oldid=prev</id>
		<title>wikipedia&gt;Nardog: rm diaCode</title>
		<link rel="alternate" type="text/html" href="https://wiki.pantonianrepublic.com/index.php?title=Module:IPA/data/export&amp;diff=6607&amp;oldid=prev"/>
		<updated>2023-09-23T22:12:07Z</updated>

		<summary type="html">&lt;p&gt;rm diaCode&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;require(&amp;#039;strict&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local rawData = mw.title.getCurrentTitle().subpageText == &amp;#039;sandbox&amp;#039;&lt;br /&gt;
	and mw.loadData(&amp;#039;Module:IPA/data/sandbox&amp;#039;)&lt;br /&gt;
	or mw.loadData(&amp;#039;Module:IPA/data&amp;#039;)&lt;br /&gt;
local data = {}&lt;br /&gt;
&lt;br /&gt;
local function getNameAndLink(code)&lt;br /&gt;
	local res = require(&amp;#039;Module:Lang&amp;#039;)._name_from_tag({ code, link = &amp;#039;yes&amp;#039; })&lt;br /&gt;
	local name = res:match(&amp;#039;([^%[|%]]+)%]%]$&amp;#039;)&lt;br /&gt;
	local link = res:match(&amp;#039;^%[%[([^|%]]+)&amp;#039;)&lt;br /&gt;
	return name, link&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function augmentData(lect)&lt;br /&gt;
	if lect.name and not lect.link then&lt;br /&gt;
		lect.generatedLink = lect.name:find(&amp;#039; languages$&amp;#039;)&lt;br /&gt;
			and lect.name&lt;br /&gt;
			or lect.name .. &amp;#039; language&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	lect.extName, lect.extLink = getNameAndLink(lect.code)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
for code, lang in pairs(rawData.langs) do&lt;br /&gt;
	local langData = {&lt;br /&gt;
		code = code,&lt;br /&gt;
		name = lang.name,&lt;br /&gt;
		text = lang.text,&lt;br /&gt;
		link = lang.link,&lt;br /&gt;
		key = lang.key&lt;br /&gt;
	}&lt;br /&gt;
	augmentData(langData)&lt;br /&gt;
	table.insert(data, langData)&lt;br /&gt;
	if lang.dialects then&lt;br /&gt;
		local aliases = {}&lt;br /&gt;
		for diaCode, dialect in pairs(lang.dialects) do&lt;br /&gt;
			if dialect.aliasOf then&lt;br /&gt;
				aliases[dialect.aliasOf] = aliases[dialect.aliasOf] or {}&lt;br /&gt;
				table.insert(aliases[dialect.aliasOf], diaCode)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		for _, t in pairs(aliases) do&lt;br /&gt;
			table.sort(t)&lt;br /&gt;
		end&lt;br /&gt;
		for diaCode, dialect in pairs(lang.dialects) do&lt;br /&gt;
			if not dialect.aliasOf then&lt;br /&gt;
				local diaAliases = aliases[diaCode]&lt;br /&gt;
				if dialect.isVariant then&lt;br /&gt;
					diaCode = diaCode:lower()&lt;br /&gt;
				end&lt;br /&gt;
				local diaData = {&lt;br /&gt;
					code = code .. &amp;#039;-&amp;#039; .. diaCode,&lt;br /&gt;
					aliases = diaAliases,&lt;br /&gt;
					name = dialect.name,&lt;br /&gt;
					text = dialect.text,&lt;br /&gt;
					link = dialect.link,&lt;br /&gt;
					key = dialect.key,&lt;br /&gt;
					parent = langData&lt;br /&gt;
				}&lt;br /&gt;
				augmentData(diaData)&lt;br /&gt;
				table.insert(data, diaData)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
table.sort(data, function (a, b) return a.code &amp;lt; b.code end)&lt;br /&gt;
&lt;br /&gt;
return data&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Nardog</name></author>
	</entry>
</feed>