<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://nijigen.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AError</id>
	<title>Module:Error - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://nijigen.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AError"/>
	<link rel="alternate" type="text/html" href="https://nijigen.wiki/index.php?title=Module:Error&amp;action=history"/>
	<updated>2026-06-05T04:04:57Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://nijigen.wiki/index.php?title=Module:Error&amp;diff=35&amp;oldid=prev</id>
		<title>JasonHK：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://nijigen.wiki/index.php?title=Module:Error&amp;diff=35&amp;oldid=prev"/>
		<updated>2024-05-02T03:59:55Z</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;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&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;2024年5月2日 (四) 03:59的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key nijigen:diff:1.41:old-34:rev-35 --&gt;
&lt;/table&gt;</summary>
		<author><name>JasonHK</name></author>
	</entry>
	<entry>
		<id>https://nijigen.wiki/index.php?title=Module:Error&amp;diff=34&amp;oldid=prev</id>
		<title>wikipedia&gt;Xiplus-abot：​已更改“Module:Error”的保护设置：​高風險模板：143636引用&lt;!-- 機器人3 --&gt;（[编辑=仅允许管理员]（无限期）[移动=仅允许管理员]（无限期））</title>
		<link rel="alternate" type="text/html" href="https://nijigen.wiki/index.php?title=Module:Error&amp;diff=34&amp;oldid=prev"/>
		<updated>2022-07-14T09:52:51Z</updated>

		<summary type="html">&lt;p&gt;已更改“&lt;a href=&quot;/Module:Error&quot; title=&quot;Module:Error&quot;&gt;Module:Error&lt;/a&gt;”的保护设置：​高風險模板：143636引用&amp;lt;!-- &lt;a href=&quot;/index.php?title=User:Xiplus-abot/task/3&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Xiplus-abot/task/3（页面不存在）&quot;&gt;機器人3&lt;/a&gt; --&amp;gt;（[编辑=仅允许管理员]（无限期）[移动=仅允许管理员]（无限期））&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module implements {{error}}.&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function _error(args)&lt;br /&gt;
    local message = args.message or args[1] or error(&amp;#039;没有指定的-{zh-cn:信息; zh-tw:資訊}-&amp;#039;, 2)&lt;br /&gt;
    message = tostring(message)&lt;br /&gt;
    local tag = mw.ustring.lower(tostring(args.tag))&lt;br /&gt;
&lt;br /&gt;
    -- Work out what html tag we should use.&lt;br /&gt;
    if not (tag == &amp;#039;p&amp;#039; or tag == &amp;#039;span&amp;#039; or tag == &amp;#039;div&amp;#039;) then&lt;br /&gt;
        tag = &amp;#039;strong&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    -- Generate the html.&lt;br /&gt;
    local root = mw.html.create(tag)&lt;br /&gt;
    root&lt;br /&gt;
        :addClass(&amp;#039;error&amp;#039;)&lt;br /&gt;
        :wikitext(message)&lt;br /&gt;
&lt;br /&gt;
    return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.error(frame)&lt;br /&gt;
    local args&lt;br /&gt;
    if frame == mw.getCurrentFrame() then&lt;br /&gt;
        -- We&amp;#039;re being called via #invoke. The args are passed through to the module&lt;br /&gt;
        -- from the template page, so use the args that were passed into the template.&lt;br /&gt;
        args = frame.args&lt;br /&gt;
    else&lt;br /&gt;
        -- We&amp;#039;re being called from another module or from the debug console, so assume&lt;br /&gt;
        -- the args are passed in directly.&lt;br /&gt;
        args = frame&lt;br /&gt;
    end&lt;br /&gt;
    -- if the message parameter is present but blank, change it to nil so that Lua will&lt;br /&gt;
    -- consider it false.&lt;br /&gt;
    if args.message == &amp;quot;&amp;quot; then&lt;br /&gt;
        args.message = nil&lt;br /&gt;
    end&lt;br /&gt;
    return _error(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Xiplus-abot</name></author>
	</entry>
</feed>