<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://www.wikiw.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AIlh</id>
	<title>模块:Ilh - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://www.wikiw.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AIlh"/>
	<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Ilh&amp;action=history"/>
	<updated>2026-04-08T15:14:09Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Ilh&amp;diff=2063&amp;oldid=prev</id>
		<title>imported&gt;Shizhao：​自Module:Ilh/sandbox合并1F616EMO的版本88138955</title>
		<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Ilh&amp;diff=2063&amp;oldid=prev"/>
		<updated>2025-08-10T11:36:30Z</updated>

		<summary type="html">&lt;p&gt;自&lt;a href=&quot;/index.php?title=%E6%A8%A1%E5%9D%97:Ilh/sandbox&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;模块:Ilh/sandbox（页面不存在）&quot;&gt;Module:Ilh/sandbox&lt;/a&gt;合并&lt;a href=&quot;/index.php?title=%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/1F616EMO&quot; title=&quot;特殊:用户贡献/1F616EMO&quot;&gt;1F616EMO&lt;/a&gt;的&lt;a href=&quot;/index.php?title=%E7%89%B9%E6%AE%8A:%E5%9B%BA%E5%AE%9A%E9%93%BE%E6%8E%A5/88138955&quot; title=&quot;特殊:固定链接/88138955&quot;&gt;版本88138955&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;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2025年8月10日 (日) 19:36的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;第18行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第18行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	,colon=&amp;#039;&amp;lt;span class=&amp;quot;ilh-colon&amp;quot;&amp;gt;：&amp;lt;/span&amp;gt;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	,colon=&amp;#039;&amp;lt;span class=&amp;quot;ilh-colon&amp;quot;&amp;gt;：&amp;lt;/span&amp;gt;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	,link_head=&amp;#039;&amp;lt;span class=&amp;quot;ilh-link&amp;quot;&amp;gt;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	,link_head=&amp;#039;&amp;lt;span class=&amp;quot;ilh-link&amp;quot;&amp;gt;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	,link_body=&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-{&lt;/del&gt;[[:%s:%s|&amp;lt;span lang=&quot;%s&quot; dir=&quot;auto&quot;&amp;gt;%s&amp;lt;/span&amp;gt;]]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}-&lt;/del&gt;&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	,link_body=&#039;[[:%s:%s|&amp;lt;span lang=&quot;%s&quot; dir=&quot;auto&quot;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-{&lt;/ins&gt;%s&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}-&lt;/ins&gt;&amp;lt;/span&amp;gt;]]&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	,link_tail=COMMON_TAIL&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	,link_tail=COMMON_TAIL&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot;&gt;第37行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第37行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	if langData[args[&amp;#039;lang-code&amp;#039;]] == nil then&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	if langData[args[&amp;#039;lang-code&amp;#039;]] == nil then&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		args[&amp;#039;lang&amp;#039;] = mw.language.fetchLanguageName( args[&amp;#039;lang-code&amp;#039;], mw.getContentLanguage():getCode() ) 	&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		args[&amp;#039;lang&amp;#039;] = mw.language.fetchLanguageName( args[&amp;#039;lang-code&amp;#039;], mw.getContentLanguage():getCode() ) 	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	elseif langData[args[&#039;lang-code&#039;]][&#039;lang-hans&#039;] and langData[args[&#039;lang-code&#039;]][&#039;lang-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hans&lt;/del&gt;&#039;] then&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	elseif langData[args[&#039;lang-code&#039;]][&#039;lang-hans&#039;] and langData[args[&#039;lang-code&#039;]][&#039;lang-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hant&lt;/ins&gt;&#039;] then&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		args[&amp;#039;lang&amp;#039;] = lan._main({[&amp;#039;zh-hans&amp;#039;]=langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang-hans&amp;#039;], [&amp;#039;zh-hant&amp;#039;]=langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang-hant&amp;#039;]}, frame)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		args[&amp;#039;lang&amp;#039;] = lan._main({[&amp;#039;zh-hans&amp;#039;]=langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang-hans&amp;#039;], [&amp;#039;zh-hant&amp;#039;]=langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang-hant&amp;#039;]}, frame)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	elseif langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang&amp;#039;] == nil then&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	elseif langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang&amp;#039;] == nil then&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;第44行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第44行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		args[&amp;#039;lang&amp;#039;] = langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang&amp;#039;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		args[&amp;#039;lang&amp;#039;] = langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang&amp;#039;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	if not args[&#039;lang&#039;] or args[&#039;lang&#039;] == &#039;&#039; then&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		return &#039;&amp;lt;span style=&quot;font-size:100%&quot; class=&quot;error lang&quot;&amp;gt;錯誤：語言代碼「&#039; .. args[&#039;lang-code&#039;] .. &#039;」不存在&amp;lt;/span&amp;gt;[[Category:內部連結助手模板語言代碼錯誤]]&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    end&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return ilh._ilh(args,existsFunc)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return ilh._ilh(args,existsFunc)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Shizhao</name></author>
	</entry>
	<entry>
		<id>https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Ilh&amp;diff=117&amp;oldid=prev</id>
		<title>Admin：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Ilh&amp;diff=117&amp;oldid=prev"/>
		<updated>2025-06-20T16:45:32Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&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;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2025年6月21日 (六) 00:45的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Ilh&amp;diff=116&amp;oldid=prev</id>
		<title>wikiw&gt;Shizhao：​自Module:Ilh/sandbox合并Diskdance的版本85517330</title>
		<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Ilh&amp;diff=116&amp;oldid=prev"/>
		<updated>2025-01-27T10:56:34Z</updated>

		<summary type="html">&lt;p&gt;自&lt;a href=&quot;/index.php?title=%E6%A8%A1%E5%9D%97:Ilh/sandbox&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;模块:Ilh/sandbox（页面不存在）&quot;&gt;Module:Ilh/sandbox&lt;/a&gt;合并&lt;a href=&quot;/index.php?title=%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/Diskdance&quot; title=&quot;特殊:用户贡献/Diskdance&quot;&gt;Diskdance&lt;/a&gt;的&lt;a href=&quot;/index.php?title=%E7%89%B9%E6%AE%8A:%E5%9B%BA%E5%AE%9A%E9%93%BE%E6%8E%A5/85517330&quot; title=&quot;特殊:固定链接/85517330&quot;&gt;版本85517330&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local ilh = {}&lt;br /&gt;
local getArgs&lt;br /&gt;
local yesno = require(&amp;#039;Module:Yesno&amp;#039;)&lt;br /&gt;
local lan = require(&amp;#039;Module:Lan&amp;#039;)&lt;br /&gt;
local langData = mw.loadData( &amp;#039;Module:Ilh/data&amp;#039; )&lt;br /&gt;
&lt;br /&gt;
--local frameArgs&lt;br /&gt;
local COMMON_TAIL=&amp;#039;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
local MODEL={&lt;br /&gt;
	 frame_head=&amp;#039;&amp;lt;span class=&amp;quot;ilh-all %s&amp;quot; data-orig-title=&amp;quot;%s&amp;quot; data-lang-code=&amp;quot;%s&amp;quot; data-lang-name=&amp;quot;%s&amp;quot; data-foreign-title=&amp;quot;%s&amp;quot;&amp;gt;&amp;#039;&lt;br /&gt;
	,frame_tail=COMMON_TAIL&lt;br /&gt;
	,page_head=&amp;#039;&amp;lt;span class=&amp;quot;ilh-page&amp;quot;&amp;gt;&amp;#039;&lt;br /&gt;
	,page_tail=COMMON_TAIL&lt;br /&gt;
	,comment_head=&amp;#039;&amp;lt;span class=&amp;quot;noprint ilh-comment&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;ilh-paren&amp;quot;&amp;gt;（&amp;#039;..COMMON_TAIL&lt;br /&gt;
	,comment_tail=&amp;#039;&amp;lt;span class=&amp;quot;ilh-paren&amp;quot;&amp;gt;）&amp;#039;..COMMON_TAIL..COMMON_TAIL&lt;br /&gt;
	,lang_head=&amp;#039;&amp;lt;span class=&amp;quot;ilh-lang&amp;quot;&amp;gt;&amp;#039;&lt;br /&gt;
	,lang_tail=COMMON_TAIL&lt;br /&gt;
	,colon=&amp;#039;&amp;lt;span class=&amp;quot;ilh-colon&amp;quot;&amp;gt;：&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
	,link_head=&amp;#039;&amp;lt;span class=&amp;quot;ilh-link&amp;quot;&amp;gt;&amp;#039;&lt;br /&gt;
	,link_body=&amp;#039;-{[[:%s:%s|&amp;lt;span lang=&amp;quot;%s&amp;quot; dir=&amp;quot;auto&amp;quot;&amp;gt;%s&amp;lt;/span&amp;gt;]]}-&amp;#039;&lt;br /&gt;
	,link_tail=COMMON_TAIL&lt;br /&gt;
}&lt;br /&gt;
local clazz_pageExist_framehead=&amp;#039;ilh-blue&amp;#039;&lt;br /&gt;
local TRA_CAT=&amp;#039;[[Category:有蓝链却未移除内部链接助手模板的页面]]&amp;#039;&lt;br /&gt;
&lt;br /&gt;
function ilh.main(frame)&lt;br /&gt;
	if not getArgs then&lt;br /&gt;
		getArgs = require(&amp;#039;Module:Arguments&amp;#039;).getArgs&lt;br /&gt;
	end&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	-- 使用{{#ifexist}}而不是Lua的exists来兼容MediaWiki的自动简繁重定向&lt;br /&gt;
	-- 见[[Special:PermaLink/85517269#不蓝不绿的绿链问题]]&lt;br /&gt;
	local existsFunc = function (pageName)&lt;br /&gt;
		return frame:callParserFunction(&amp;#039;#ifexist&amp;#039;,{pageName,&amp;#039;true&amp;#039;,&amp;#039;false&amp;#039;})&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if langData[args[&amp;#039;lang-code&amp;#039;]] == nil then&lt;br /&gt;
		args[&amp;#039;lang&amp;#039;] = mw.language.fetchLanguageName( args[&amp;#039;lang-code&amp;#039;], mw.getContentLanguage():getCode() ) 	&lt;br /&gt;
	elseif langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang-hans&amp;#039;] and langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang-hans&amp;#039;] then&lt;br /&gt;
		args[&amp;#039;lang&amp;#039;] = lan._main({[&amp;#039;zh-hans&amp;#039;]=langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang-hans&amp;#039;], [&amp;#039;zh-hant&amp;#039;]=langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang-hant&amp;#039;]}, frame)&lt;br /&gt;
	elseif langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang&amp;#039;] == nil then&lt;br /&gt;
		args[&amp;#039;lang&amp;#039;] = mw.language.fetchLanguageName( args[&amp;#039;lang-code&amp;#039;], mw.getContentLanguage():getCode() ) 	&lt;br /&gt;
	else &lt;br /&gt;
		args[&amp;#039;lang&amp;#039;] = langData[args[&amp;#039;lang-code&amp;#039;]][&amp;#039;lang&amp;#039;]&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return ilh._ilh(args,existsFunc)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function ilh._ilh(args,existsFunc)&lt;br /&gt;
	--frameArgs = getArgs(frame, {frameOnly=true})&lt;br /&gt;
&lt;br /&gt;
	local context={}&lt;br /&gt;
	context[&amp;quot;isMainPage&amp;quot;]=ilh.isMainPage()&lt;br /&gt;
	context[&amp;quot;localPage&amp;quot;]=args[1]&lt;br /&gt;
	context[&amp;quot;foreignPage&amp;quot;]=args[2] or args[1] --如果{{{2}}}不传入的话&lt;br /&gt;
	context[&amp;quot;displayName&amp;quot;]=args[&amp;quot;d&amp;quot;] or args[1]&lt;br /&gt;
	context[&amp;quot;langCode&amp;quot;]=args[&amp;quot;lang-code&amp;quot;]&lt;br /&gt;
	context[&amp;quot;lang&amp;quot;]=args[&amp;quot;lang&amp;quot;]&lt;br /&gt;
	context[&amp;quot;nocat&amp;quot;]=yesno( args[&amp;quot;nocat&amp;quot;] , false )&lt;br /&gt;
&lt;br /&gt;
	context[&amp;quot;isExist&amp;quot;]= (args[&amp;quot;$exist$&amp;quot;] and args[&amp;quot;$exist$&amp;quot;]==1) or (existsFunc(context[&amp;quot;localPage&amp;quot;])==&amp;#039;true&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
	local curPage_obj=mw.title.getCurrentTitle()&lt;br /&gt;
	context[&amp;quot;isNoCatWithNamespace&amp;quot;]=curPage_obj:inNamespaces(2,828) --User,Module&lt;br /&gt;
	--context[&amp;quot;curPageNamespace&amp;quot;]=curPage_obj.namespace&lt;br /&gt;
&lt;br /&gt;
	return (context[&amp;quot;isMainPage&amp;quot;] and ilh.onlyLink(context)) or ilh.functionLink(context)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function ilh.onlyLink(context)&lt;br /&gt;
	return ( context[&amp;quot;isExist&amp;quot;] and mw.ustring.format( &amp;#039;[[%s|%s]]&amp;#039;, context[&amp;quot;localPage&amp;quot;], context[&amp;quot;displayName&amp;quot;] ) ) or context[&amp;quot;displayName&amp;quot;]&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function ilh.functionLink(context)&lt;br /&gt;
	context[&amp;quot;_localPage&amp;quot;]=mw.ustring.gsub(context[&amp;quot;localPage&amp;quot;],&amp;#039;&amp;quot;&amp;#039;,&amp;#039;&amp;amp;quot;&amp;#039;)&lt;br /&gt;
	context[&amp;quot;_foreignPage&amp;quot;]=mw.ustring.gsub(context[&amp;quot;foreignPage&amp;quot;],&amp;#039;&amp;quot;&amp;#039;,&amp;#039;&amp;amp;quot;&amp;#039;)&lt;br /&gt;
	local need_cat=&lt;br /&gt;
				   (not context[&amp;quot;nocat&amp;quot;])&lt;br /&gt;
				   and&lt;br /&gt;
				   (not context[&amp;quot;isNoCatWithNamespace&amp;quot;])&lt;br /&gt;
				   --[[not (&lt;br /&gt;
					   context[&amp;quot;curPageNamespace&amp;quot;]==2 --User&lt;br /&gt;
					or context[&amp;quot;curPageNamespace&amp;quot;]==828 --Module&lt;br /&gt;
				   )]]&lt;br /&gt;
	--mw.log(context[&amp;quot;nocat&amp;quot;])&lt;br /&gt;
	--mw.log(context[&amp;quot;curPageNamespace&amp;quot;])&lt;br /&gt;
	--mw.log(need_cat)&lt;br /&gt;
&lt;br /&gt;
	local output_context={}&lt;br /&gt;
	table.insert(output_context,&lt;br /&gt;
					mw.ustring.format(MODEL.frame_head ,&lt;br /&gt;
						 (context[&amp;quot;isExist&amp;quot;] and clazz_pageExist_framehead) or &amp;#039;&amp;#039;&lt;br /&gt;
						,context[&amp;quot;_localPage&amp;quot;]&lt;br /&gt;
						,context[&amp;quot;langCode&amp;quot;]&lt;br /&gt;
						,context[&amp;quot;lang&amp;quot;]&lt;br /&gt;
						,context[&amp;quot;_foreignPage&amp;quot;]&lt;br /&gt;
					)&lt;br /&gt;
				)&lt;br /&gt;
		table.insert(output_context,MODEL.page_head)&lt;br /&gt;
			table.insert(output_context,&lt;br /&gt;
							mw.ustring.format(&amp;#039;[[:%s|%s]]&amp;#039; ,&lt;br /&gt;
								context[&amp;quot;localPage&amp;quot;],context[&amp;quot;displayName&amp;quot;]&lt;br /&gt;
							)&lt;br /&gt;
						)&lt;br /&gt;
		table.insert(output_context,MODEL.page_tail)&lt;br /&gt;
		if context[&amp;quot;isExist&amp;quot;] then&lt;br /&gt;
			if need_cat then&lt;br /&gt;
				table.insert(output_context,TRA_CAT)&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			table.insert(output_context,MODEL.comment_head)&lt;br /&gt;
				table.insert(output_context,MODEL.lang_head)&lt;br /&gt;
					table.insert(output_context,context[&amp;quot;lang&amp;quot;])&lt;br /&gt;
				table.insert(output_context,MODEL.lang_tail)&lt;br /&gt;
&lt;br /&gt;
				table.insert(output_context,MODEL.colon)&lt;br /&gt;
&lt;br /&gt;
				table.insert(output_context,MODEL.link_head)&lt;br /&gt;
					table.insert(output_context,&lt;br /&gt;
									mw.ustring.format(MODEL.link_body,&lt;br /&gt;
										 context[&amp;quot;langCode&amp;quot;]&lt;br /&gt;
										,(context[&amp;quot;foreignPage&amp;quot;] or context[&amp;quot;localPage&amp;quot;])&lt;br /&gt;
										,context[&amp;quot;langCode&amp;quot;]&lt;br /&gt;
										,(context[&amp;quot;foreignPage&amp;quot;] or context[&amp;quot;localPage&amp;quot;])&lt;br /&gt;
									)&lt;br /&gt;
								)&lt;br /&gt;
				table.insert(output_context,MODEL.link_tail)&lt;br /&gt;
			table.insert(output_context,MODEL.comment_tail)&lt;br /&gt;
		end&lt;br /&gt;
	table.insert(output_context,MODEL.frame_tail)&lt;br /&gt;
&lt;br /&gt;
	return table.concat(output_context,&amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--以下需要更高效的实现&lt;br /&gt;
&lt;br /&gt;
--确定主页&lt;br /&gt;
--使用mw信息获得主页名&lt;br /&gt;
--使用language库获得本站默认语言代码（zh）来确定信息的对应语言，获得全主页名&lt;br /&gt;
---因为其他zh分语言只有名，没有命名空间，可以识别出来，但麻烦&lt;br /&gt;
--然后判断当前页和主页是否一致&lt;br /&gt;
---计划做重定向判断，但没需要&lt;br /&gt;
function ilh.isMainPage()&lt;br /&gt;
	local mainpage_msgobj=mw.message.new(&amp;#039;Mainpage&amp;#039;)&lt;br /&gt;
	mainpage_msgobj=mainpage_msgobj:inLanguage(mw.getContentLanguage():getCode())&lt;br /&gt;
	local mainPage_obj=mw.title.makeTitle(0,mainpage_msgobj:plain())&lt;br /&gt;
	local curpage_obj=mw.title.getCurrentTitle()&lt;br /&gt;
	--local curpage_redirectFrom_obj=curpage_obj.redirectTarget&lt;br /&gt;
	--[[if curpage_redirectFrom_obj ~=false then&lt;br /&gt;
		curpage_obj=curpage_redirectFrom_obj&lt;br /&gt;
	end]]&lt;br /&gt;
	return mw.title.equals(mainPage_obj,curpage_obj) --and curpage_obj.namespace==4&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return ilh&lt;/div&gt;</summary>
		<author><name>wikiw&gt;Shizhao</name></author>
	</entry>
</feed>