<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://castrella.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AInt</id>
	<title>Module:Int - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://castrella.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AInt"/>
	<link rel="alternate" type="text/html" href="https://castrella.com/w/index.php?title=Module:Int&amp;action=history"/>
	<updated>2026-04-30T14:33:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://castrella.com/w/index.php?title=Module:Int&amp;diff=4823&amp;oldid=prev</id>
		<title>Bibbleskit: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://castrella.com/w/index.php?title=Module:Int&amp;diff=4823&amp;oldid=prev"/>
		<updated>2025-04-20T07:26:42Z</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;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 00:26, 20 April 2025&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>Bibbleskit</name></author>
	</entry>
	<entry>
		<id>https://castrella.com/w/index.php?title=Module:Int&amp;diff=4822&amp;oldid=prev</id>
		<title>Template&gt;Verdy p: reduce the number of template expansion/preprocessings to save resources</title>
		<link rel="alternate" type="text/html" href="https://castrella.com/w/index.php?title=Module:Int&amp;diff=4822&amp;oldid=prev"/>
		<updated>2024-05-17T15:31:44Z</updated>

		<summary type="html">&lt;p&gt;reduce the number of template expansion/preprocessings to save resources&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This is a helper module for [[Template:Int]]&lt;br /&gt;
&lt;br /&gt;
local trim = mw.text.trim&lt;br /&gt;
local isValidCode = mw.language.isValidCode&lt;br /&gt;
local messageNew = mw.message.new&lt;br /&gt;
&lt;br /&gt;
local frameCurrent = mw.getCurrentFrame()&lt;br /&gt;
local preprocess = frameCurrent.preprocess&lt;br /&gt;
local pageLang = preprocess(frameCurrent, &amp;#039;{{PAGELANGUAGE}}&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local export = {}&lt;br /&gt;
&lt;br /&gt;
function export.renderIntMessage(frame)&lt;br /&gt;
	local args = frame.args&lt;br /&gt;
	local msgId = trim(args[1])&lt;br /&gt;
	local pargs = (frame:getParent() or {}).args&lt;br /&gt;
	local msgArgs = {}&lt;br /&gt;
	for k, v in pairs(pargs) do&lt;br /&gt;
		local n = tonumber(k) or 0&lt;br /&gt;
		if n &amp;gt;= 2 then&lt;br /&gt;
			msgArgs[n - 1] = trim(v)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	local lang = args.lang&lt;br /&gt;
	if not lang or lang == &amp;#039;&amp;#039; or not isValidCode(lang) then&lt;br /&gt;
		lang = pageLang&lt;br /&gt;
	end&lt;br /&gt;
	local msg = messageNew(msgId, msgArgs):inLanguage(lang)&lt;br /&gt;
	if lang == &amp;#039;qqx&amp;#039; or msg:exists() then&lt;br /&gt;
			return msg:isDisabled() and (args.missing or &amp;#039;&amp;#039;) or preprocess(frameCurrent, msg:plain())&lt;br /&gt;
	else&lt;br /&gt;
		return args.missing ~= &amp;#039;&amp;#039; and args.missing or &amp;#039;⧼&amp;#039; .. msgId .. &amp;#039;⧽&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return export&lt;/div&gt;</summary>
		<author><name>Template&gt;Verdy p</name></author>
	</entry>
</feed>