<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.you107657.duckdns.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ALanguage_info</id>
	<title>Module:Language info - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.you107657.duckdns.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ALanguage_info"/>
	<link rel="alternate" type="text/html" href="https://wiki.you107657.duckdns.org/index.php?title=Module:Language_info&amp;action=history"/>
	<updated>2026-09-27T00:59:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.you107657.duckdns.org/index.php?title=Module:Language_info&amp;diff=13176&amp;oldid=prev</id>
		<title>imported&gt;Merge: merge.py</title>
		<link rel="alternate" type="text/html" href="https://wiki.you107657.duckdns.org/index.php?title=Module:Language_info&amp;diff=13176&amp;oldid=prev"/>
		<updated>2026-09-25T10:55:52Z</updated>

		<summary type="html">&lt;p&gt;merge.py&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:55, 25 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>imported&gt;Merge</name></author>
	</entry>
	<entry>
		<id>https://wiki.you107657.duckdns.org/index.php?title=Module:Language_info&amp;diff=5359&amp;oldid=prev</id>
		<title>imported&gt;Merge: merge.py</title>
		<link rel="alternate" type="text/html" href="https://wiki.you107657.duckdns.org/index.php?title=Module:Language_info&amp;diff=5359&amp;oldid=prev"/>
		<updated>2026-09-25T10:55:52Z</updated>

		<summary type="html">&lt;p&gt;merge.py&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- We only invoke this module once per page, therefore we do not need to use mw.loadData()&lt;br /&gt;
-- This cache is set in Module:Language_info/data&lt;br /&gt;
-- Note: &lt;br /&gt;
-- If a template that&amp;#039;s being used by large number of page changed, it will causing all of these page&amp;#039;s cache to be invalidated and requires regeneration.&lt;br /&gt;
-- This may crash wiki platform and cause visitor get 5xx error. So we use luacache to decouple data template and template which uses it.&lt;br /&gt;
-- By doing this, editing on data template won&amp;#039;t cause massive pages to be regenerated.&lt;br /&gt;
local cache = require &amp;#039;mw.ext.LuaCache&amp;#039;&lt;br /&gt;
local info = cache.get(&amp;#039;:_language_info:data&amp;#039;)&lt;br /&gt;
if not info then&lt;br /&gt;
	require(&amp;#039;Module:Language_info/data&amp;#039;).purge()&lt;br /&gt;
	info = cache.get(&amp;#039;:_language_info:data&amp;#039;) or {}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	interwiki_links = function(frame)&lt;br /&gt;
		local key = frame.args[&amp;#039;en&amp;#039;]&lt;br /&gt;
		local lang = frame.args[&amp;#039;lang&amp;#039;]&lt;br /&gt;
		&lt;br /&gt;
		local iwlinks = {}&lt;br /&gt;
		for k,v in pairs(info) do&lt;br /&gt;
			if k ~= lang then&lt;br /&gt;
				if v[key] then&lt;br /&gt;
					iwlinks[#iwlinks+1] = &amp;#039;[[&amp;#039; .. k .. &amp;#039;:&amp;#039;.. v[key] .. &amp;#039;]]&amp;#039;&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		table.sort(iwlinks)&lt;br /&gt;
		return table.concat(iwlinks)&lt;br /&gt;
	end,&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>imported&gt;Merge</name></author>
	</entry>
</feed>