<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.czzzz.work/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ARedirect-distinguish</id>
	<title>模块:Redirect-distinguish - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.czzzz.work/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ARedirect-distinguish"/>
	<link rel="alternate" type="text/html" href="https://wiki.czzzz.work/index.php?title=%E6%A8%A1%E5%9D%97:Redirect-distinguish&amp;action=history"/>
	<updated>2026-05-06T11:38:41Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.czzzz.work/index.php?title=%E6%A8%A1%E5%9D%97:Redirect-distinguish&amp;diff=1998&amp;oldid=prev</id>
		<title>Santorsia：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://wiki.czzzz.work/index.php?title=%E6%A8%A1%E5%9D%97:Redirect-distinguish&amp;diff=1998&amp;oldid=prev"/>
		<updated>2022-09-18T14:16:23Z</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;2022年9月18日 (日) 22:16的版本&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>Santorsia</name></author>
	</entry>
	<entry>
		<id>https://wiki.czzzz.work/index.php?title=%E6%A8%A1%E5%9D%97:Redirect-distinguish&amp;diff=1997&amp;oldid=prev</id>
		<title>wikipedia&gt;Elli：​Undid revision 1066390800 by Faster than Thunder (talk) yeah, no, this is inappropriate</title>
		<link rel="alternate" type="text/html" href="https://wiki.czzzz.work/index.php?title=%E6%A8%A1%E5%9D%97:Redirect-distinguish&amp;diff=1997&amp;oldid=prev"/>
		<updated>2022-01-18T05:49:10Z</updated>

		<summary type="html">&lt;p&gt;Undid revision 1066390800 by &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/Faster_than_Thunder&quot; title=&quot;特殊:用户贡献/Faster than Thunder&quot;&gt;Faster than Thunder&lt;/a&gt; (&lt;a href=&quot;/index.php?title=%E7%94%A8%E6%88%B7%E8%AE%A8%E8%AE%BA:Faster_than_Thunder&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;用户讨论:Faster than Thunder（页面不存在）&quot;&gt;talk&lt;/a&gt;) yeah, no, this is inappropriate&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local mHatnote = require(&amp;#039;Module:Hatnote&amp;#039;)&lt;br /&gt;
local mHatlist = require(&amp;#039;Module:Hatnote list&amp;#039;)&lt;br /&gt;
local mArguments --initialize lazily&lt;br /&gt;
local mTableTools = require(&amp;#039;Module:TableTools&amp;#039;)&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.redirectDistinguish (frame)&lt;br /&gt;
	mArguments = require(&amp;#039;Module:Arguments&amp;#039;)&lt;br /&gt;
	local args = mArguments.getArgs(frame)&lt;br /&gt;
	return p._redirectDistinguish(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._redirectDistinguish(args)&lt;br /&gt;
	if not args[1] then&lt;br /&gt;
		return mHatnote.makeWikitextError(&lt;br /&gt;
			&amp;#039;no redirect supplied&amp;#039;,&lt;br /&gt;
			&amp;#039;Template:Redirect-distinguish&amp;#039;,&lt;br /&gt;
			args.category&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	local redirectTitle = mw.title.new(args[1])&lt;br /&gt;
	local currentTitle = currentTitle or mw.title.getCurrentTitle()&lt;br /&gt;
	if&lt;br /&gt;
		string.match(args[1], &amp;#039;REDIRECT%d+&amp;#039;) or&lt;br /&gt;
		args[1] == &amp;#039;TERM&amp;#039; or&lt;br /&gt;
		currentTitle.namespace ~= 0&lt;br /&gt;
	then&lt;br /&gt;
		--do nothing&lt;br /&gt;
	elseif not redirectTitle or not redirectTitle.exists then&lt;br /&gt;
		args[1] = args[1] .. &amp;#039;[[Category:Missing redirects]]&amp;#039;&lt;br /&gt;
	elseif not redirectTitle.isRedirect then&lt;br /&gt;
		if string.find(redirectTitle:getContent(), &amp;#039;#invoke:RfD&amp;#039;) then&lt;br /&gt;
			args[1] = args[1] ..&lt;br /&gt;
				&amp;#039;[[Category:Articles with redirect hatnotes impacted by RfD]]&amp;#039;&lt;br /&gt;
		else&lt;br /&gt;
			args[1] = args[1] ..&lt;br /&gt;
				&amp;#039;[[Category:Articles with redirect hatnotes needing review]]&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if not args[2] then&lt;br /&gt;
		return mHatnote.makeWikitextError(&lt;br /&gt;
			&amp;#039;no page to be distinguished supplied&amp;#039;,&lt;br /&gt;
			&amp;#039;Template:Redirect-distinguish&amp;#039;,&lt;br /&gt;
			args.category&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	args = mTableTools.compressSparseArray(args)&lt;br /&gt;
	--Assignment by removal here makes for convenient concatenation later&lt;br /&gt;
	local redirect = table.remove(args, 1)&lt;br /&gt;
	local text = string.format(&lt;br /&gt;
		&amp;#039;&amp;quot;%s&amp;quot; redirects here. Not to be confused with %s.&amp;#039;,&lt;br /&gt;
		redirect,&lt;br /&gt;
		mHatlist.orList(args, true)&lt;br /&gt;
	)&lt;br /&gt;
	return mHatnote._hatnote(text)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Elli</name></author>
	</entry>
</feed>