<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki3d.org/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://mediawiki3d.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikt-lang%2Fcomparison"/>
	<link rel="alternate" type="text/html" href="https://mediawiki3d.org/index.php?title=Module:Wikt-lang/comparison&amp;action=history"/>
	<updated>2026-04-26T19:00:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://mediawiki3d.org/index.php?title=Module:Wikt-lang/comparison&amp;diff=1780&amp;oldid=prev</id>
		<title>Bawolff: 1 revision imported from :wikipedia:en:Module:Wikt-lang/comparison</title>
		<link rel="alternate" type="text/html" href="https://mediawiki3d.org/index.php?title=Module:Wikt-lang/comparison&amp;diff=1780&amp;oldid=prev"/>
		<updated>2025-08-16T02:22:35Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported from &lt;a href=&quot;https://en.wikipedia.org/wiki/en:Module:Wikt-lang/comparison&quot; class=&quot;extiw&quot; title=&quot;wikipedia:en:Module:Wikt-lang/comparison&quot;&gt;wikipedia:en:Module:Wikt-lang/comparison&lt;/a&gt;&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&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 02:22, 16 August 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki3d:diff:1.41:old-1779:rev-1780 --&gt;
&lt;/table&gt;</summary>
		<author><name>Bawolff</name></author>
	</entry>
	<entry>
		<id>https://mediawiki3d.org/index.php?title=Module:Wikt-lang/comparison&amp;diff=1779&amp;oldid=prev</id>
		<title>wikipedia:en&gt;John of Reading: Corrected spelling of &quot;Wiktionary&quot; in the table header</title>
		<link rel="alternate" type="text/html" href="https://mediawiki3d.org/index.php?title=Module:Wikt-lang/comparison&amp;diff=1779&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:en&gt;John of Reading</name></author>
	</entry>
</feed>