<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikt-lang%2Fcomparison</id>
	<title>Module:Wikt-lang/comparison - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikt-lang%2Fcomparison"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Module:Wikt-lang/comparison&amp;action=history"/>
	<updated>2026-10-31T20:53:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Module:Wikt-lang/comparison&amp;diff=114479&amp;oldid=prev</id>
		<title>Wikipedia&gt;John of Reading: Corrected spelling of &quot;Wiktionary&quot; in the table header</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Module:Wikt-lang/comparison&amp;diff=114479&amp;oldid=prev"/>
		<updated>2025-03-26T15:58:57Z</updated>

		<summary type="html">&lt;p&gt;Corrected spelling of &amp;quot;Wiktionary&amp;quot; in the table header&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;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function get_test_patterns(main)&lt;br /&gt;
	local data = require(&amp;#039;Module:Wikt-lang/data/sandbox&amp;#039;)&lt;br /&gt;
	local language_codes = {}&lt;br /&gt;
&lt;br /&gt;
	if main then&lt;br /&gt;
		for code, values in pairs(data[&amp;quot;languages&amp;quot;]) do&lt;br /&gt;
			table.insert(language_codes, {code, values.Wiktionary_name})&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local function comp(a, b)&lt;br /&gt;
		return a[1] &amp;lt; b[1]&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	table.sort(language_codes, comp)&lt;br /&gt;
	return language_codes&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local wiktionary_test_patterns = get_test_patterns(true)&lt;br /&gt;
	local name_from_tag = require(&amp;#039;Module:Lang&amp;#039;)._name_from_tag&lt;br /&gt;
	&lt;br /&gt;
	local wikitable = {}&lt;br /&gt;
	local header = &amp;#039;{|class=&amp;quot;wikitable&amp;quot;\n|+\n! Language code\n! Wiktionary name\n! English Wikipedia name\n|-\n&amp;#039;&lt;br /&gt;
	table.insert(wikitable, header)&lt;br /&gt;
	local row = &amp;#039;! scope=&amp;quot;row&amp;quot; | %s\n | %s\n | %s\n|-\n&amp;#039;&lt;br /&gt;
	for i = 1, #wiktionary_test_patterns do&lt;br /&gt;
		local code = wiktionary_test_patterns[i][1]&lt;br /&gt;
		local wiktionary_name = wiktionary_test_patterns[i][2]&lt;br /&gt;
		local en_wiki_name = name_from_tag({code})&lt;br /&gt;
		if wiktionary_name then&lt;br /&gt;
			table.insert(wikitable, string.format(row, code, wiktionary_name, en_wiki_name))&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	table.insert(wikitable, &amp;quot;|}&amp;quot;)&lt;br /&gt;
	return table.concat(wikitable)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;John of Reading</name></author>
	</entry>
</feed>