<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AUser_error</id>
	<title>模块:User error - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AUser_error"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:User_error&amp;action=history"/>
	<updated>2026-04-04T04:29:29Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:User_error&amp;diff=1183&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“-------------------------------------------------------------------------------- -- A less intimidating version of the built-in &quot;error()&quot; function, to help -- editors fix their mistakes when transcluding a template. -- -- @see wikia:w:c:Dev:Module:User error for a similar module. --------------------------------------------------------------------------------  local checkType = require(&quot;libraryUtil&quot;).checkType;  return function (message, ...) 	checkType(&quot;Mo…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:User_error&amp;diff=1183&amp;oldid=prev"/>
		<updated>2023-08-01T06:59:13Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“-------------------------------------------------------------------------------- -- A less intimidating version of the built-in &amp;quot;error()&amp;quot; function, to help -- editors fix their mistakes when transcluding a template. -- -- @see &lt;a href=&quot;http://www.wikia.com/wiki/w:c:Dev:Module:User_error&quot; class=&quot;extiw&quot; title=&quot;wikia:w:c:Dev:Module:User error&quot;&gt;wikia:w:c:Dev:Module:User error&lt;/a&gt; for a similar module. --------------------------------------------------------------------------------  local checkType = require(&amp;quot;libraryUtil&amp;quot;).checkType;  return function (message, ...) 	checkType(&amp;quot;Mo…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--------------------------------------------------------------------------------&lt;br /&gt;
-- A less intimidating version of the built-in &amp;quot;error()&amp;quot; function, to help&lt;br /&gt;
-- editors fix their mistakes when transcluding a template.&lt;br /&gt;
--&lt;br /&gt;
-- @see [[wikia:w:c:Dev:Module:User error]] for a similar module.&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local checkType = require(&amp;quot;libraryUtil&amp;quot;).checkType;&lt;br /&gt;
&lt;br /&gt;
return function (message, ...)&lt;br /&gt;
	checkType(&amp;quot;Module:User error&amp;quot;, 1, message, &amp;quot;string&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
	local result = mw.text.tag(&lt;br /&gt;
		&amp;quot;strong&amp;quot;,&lt;br /&gt;
		{ class=&amp;quot;error&amp;quot; },&lt;br /&gt;
		&amp;quot;Error: &amp;quot; .. message&lt;br /&gt;
	);&lt;br /&gt;
&lt;br /&gt;
	local categories = {};&lt;br /&gt;
	for i = 1, select(&amp;quot;#&amp;quot;, ...) do&lt;br /&gt;
		local category = select(i, ...);&lt;br /&gt;
		checkType(&amp;quot;Module:User error&amp;quot;, 1 + i, category, &amp;quot;string&amp;quot;, true);&lt;br /&gt;
&lt;br /&gt;
		if (category and category ~= &amp;quot;&amp;quot;) then&lt;br /&gt;
			table.insert(categories, &amp;quot;[[Category:&amp;quot; .. category .. &amp;quot;]]&amp;quot;);&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return result .. table.concat(categories);&lt;br /&gt;
end;&lt;/div&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
</feed>