<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Module%3ATemplate_redirect_regex</id>
	<title>Module:Template redirect regex - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Module%3ATemplate_redirect_regex"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Module:Template_redirect_regex&amp;action=history"/>
	<updated>2026-06-30T14:36:20Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Module:Template_redirect_regex&amp;diff=4559820&amp;oldid=prev</id>
		<title>imported&gt;Xiplus-abot：​已更改“Module:Template redirect regex”的保护设置：​高風險模板：13084引用&lt;!-- 機器人3 --&gt;​（[编辑=仅允许模板编辑员]（无限期）​[移动=仅允许模板编辑员]（无限期））</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Module:Template_redirect_regex&amp;diff=4559820&amp;oldid=prev"/>
		<updated>2026-03-16T20:50:43Z</updated>

		<summary type="html">&lt;p&gt;已更改“&lt;a href=&quot;/wiki/Module:Template_redirect_regex&quot; title=&quot;Module:Template redirect regex&quot;&gt;Module:Template redirect regex&lt;/a&gt;”的保护设置：​高風險模板：13084引用&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;local p = {}&lt;br /&gt;
&lt;br /&gt;
--returns a table of regular expressions, sorted by descending popularity, for a parent template and all redirects to it as of a certain date, or nil&lt;br /&gt;
--regex for the 1st pipe and surrounding whitespace are purposefully omitted to give the calling modules more flexibility&lt;br /&gt;
function p.main( template )&lt;br /&gt;
&lt;br /&gt;
	--expand the following table as-needed, following the same format&lt;br /&gt;
	local tCanonical_templates = {&lt;br /&gt;
		[&amp;#039;Category redirect&amp;#039;] = { &lt;br /&gt;
			--the following 11 pages (6 condensed) redirect to [[Template:Category redirect]], as of 2022/9:&lt;br /&gt;
			&amp;#039;{{%s*[Cc]ate?g?o?r?y?[ _]*[rR]edirect&amp;#039;,	--parent+505+312+243+1 transclusions&lt;br /&gt;
			&amp;#039;{{%s*[Cc]atr&amp;#039;,								--21&lt;br /&gt;
			&amp;#039;{{%s*[Cc]at[ _]*[rR]edir&amp;#039;,					--5+3&lt;br /&gt;
			&amp;#039;{{%s*[Cc]at[ _]*[rR]ed&amp;#039;,					--3+2&lt;br /&gt;
			&amp;#039;{{%s*[Cc]at[ _]*[mM]ove&amp;#039;,					--1&lt;br /&gt;
			&amp;#039;{{%s*[Cc]ategory[ _]*[mM]ove&amp;#039;,				--0&lt;br /&gt;
		},&lt;br /&gt;
		&lt;br /&gt;
		[&amp;#039;Taxonbar&amp;#039;] = { &lt;br /&gt;
			--the following 6 pages (3 condensed) redirect to [[Template:Taxonbar]], as of 2023/8:&lt;br /&gt;
			&amp;#039;{{%s*[Tt]axon?[ _-]?[bB]ar&amp;#039;,				--parent+50+11+2+2 transclusions&lt;br /&gt;
			&amp;#039;{{%s*[Tt]axon[Ii]ds&amp;#039;,						--45&lt;br /&gt;
			&amp;#039;{{%s*[Tt]axon[ _]*[iI]dentifiers&amp;#039;,			--1&lt;br /&gt;
			--detect direct calls to [[Module:Taxonbar]]&lt;br /&gt;
			&amp;#039;{{ *#invoke *: *[Tt]axonbar&amp;#039;,&lt;br /&gt;
		},&lt;br /&gt;
		&lt;br /&gt;
		[&amp;#039;Short description&amp;#039;] = { &lt;br /&gt;
			--the following 4 pages (2 condensed) redirect to [[Template:Short description]], as of 2024/8:&lt;br /&gt;
			&amp;#039;{{%s*[Ss]hort[ _]?[dD]escription&amp;#039;,			--parent+125+6 transclusions&lt;br /&gt;
			&amp;#039;{{%s*[Ss]hort[ _]?[d]esc&amp;#039;,					--10+8&lt;br /&gt;
		},&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	return tCanonical_templates[template] or nil&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Xiplus-abot</name></author>
	</entry>
</feed>