<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://commons.islamical.org/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://commons.islamical.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AInt"/>
	<link rel="alternate" type="text/html" href="https://commons.islamical.org/w/index.php?title=Module:Int&amp;action=history"/>
	<updated>2026-09-26T13:57:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://commons.islamical.org/w/index.php?title=Module:Int&amp;diff=3958&amp;oldid=prev</id>
		<title>Shahroudi: Created page with &quot;-- This is a helper module for Template:Int  local trim = mw.text.trim local isValidCode = mw.language.isValidCode local messageNew = mw.message.new  local frameCurrent = mw.getCurrentFrame() local preprocess = frameCurrent.preprocess local pageLang = preprocess(frameCurrent, &#039;{{PAGELANGUAGE}}&#039;)  local export = {}  function export.renderIntMessage(frame) 	local args = frame.args 	local msgId = trim(args[1]) 	local pargs = (frame:getParent() or {}).args 	local msgArgs...&quot;</title>
		<link rel="alternate" type="text/html" href="https://commons.islamical.org/w/index.php?title=Module:Int&amp;diff=3958&amp;oldid=prev"/>
		<updated>2026-09-25T08:42:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- This is a helper module for &lt;a href=&quot;/view/Template:Int&quot; title=&quot;Template:Int&quot;&gt;Template:Int&lt;/a&gt;  local trim = mw.text.trim local isValidCode = mw.language.isValidCode local messageNew = mw.message.new  local frameCurrent = mw.getCurrentFrame() local preprocess = frameCurrent.preprocess local pageLang = preprocess(frameCurrent, &amp;#039;{{PAGELANGUAGE}}&amp;#039;)  local export = {}  function export.renderIntMessage(frame) 	local args = frame.args 	local msgId = trim(args[1]) 	local pargs = (frame:getParent() or {}).args 	local msgArgs...&amp;quot;&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>Shahroudi</name></author>
	</entry>
</feed>