<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://zh.enter-politics.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ACategory_handler%2Fshared</id>
	<title>模块:Category handler/shared - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://zh.enter-politics.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ACategory_handler%2Fshared"/>
	<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:Category_handler/shared&amp;action=history"/>
	<updated>2026-04-23T23:15:50Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:Category_handler/shared&amp;diff=9941&amp;oldid=prev</id>
		<title>白龙：导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:Category_handler/shared&amp;diff=9941&amp;oldid=prev"/>
		<updated>2022-07-11T10:56:10Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh&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年7月11日 (一) 10:56的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>白龙</name></author>
	</entry>
	<entry>
		<id>https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:Category_handler/shared&amp;diff=222&amp;oldid=prev</id>
		<title>One-Six：导入1个版本：受托导入数个模板；本次导入Infobox，来源为ZhWP</title>
		<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:Category_handler/shared&amp;diff=222&amp;oldid=prev"/>
		<updated>2020-06-01T00:55:14Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本：受托导入数个模板；本次导入Infobox，来源为ZhWP&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh&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;2020年6月1日 (一) 00:55的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>One-Six</name></author>
	</entry>
	<entry>
		<id>https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:Category_handler/shared&amp;diff=221&amp;oldid=prev</id>
		<title>zhwp&gt;Xiplus：已保护“模块:Category handler/shared”：高风险模板（[编辑=仅管理员]（无限期）[移动=仅管理员]（无限期））</title>
		<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:Category_handler/shared&amp;diff=221&amp;oldid=prev"/>
		<updated>2017-10-12T08:30:30Z</updated>

		<summary type="html">&lt;p&gt;已保护“&lt;a href=&quot;/wiki/%E6%A8%A1%E5%9D%97:Category_handler/shared&quot; title=&quot;模块:Category handler/shared&quot;&gt;模块:Category handler/shared&lt;/a&gt;”：高风险模板（[编辑=仅管理员]（无限期）[移动=仅管理员]（无限期））&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh&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;2017年10月12日 (四) 08:30的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>zhwp&gt;Xiplus</name></author>
	</entry>
	<entry>
		<id>https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:Category_handler/shared&amp;diff=9940&amp;oldid=prev</id>
		<title>wiki:zh&gt;Koala0090：←建立内容为“-- This module contains shared functions used by Module:Category handler -- and its submodules.  local p = {}  function p.matchesBlacklist(page,...”的新页面</title>
		<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=%E6%A8%A1%E5%9D%97:Category_handler/shared&amp;diff=9940&amp;oldid=prev"/>
		<updated>2015-09-02T12:53:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=WP:AES&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:AES（页面不存在）&quot;&gt;←&lt;/a&gt;建立内容为“-- This module contains shared functions used by &lt;a href=&quot;/wiki/%E6%A8%A1%E5%9D%97:Category_handler&quot; title=&quot;模块:Category handler&quot;&gt;Module:Category handler&lt;/a&gt; -- and its submodules.  local p = {}  function p.matchesBlacklist(page,...”的新页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module contains shared functions used by [[Module:Category handler]]&lt;br /&gt;
-- and its submodules.&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.matchesBlacklist(page, blacklist)&lt;br /&gt;
	for i, pattern in ipairs(blacklist) do&lt;br /&gt;
		local match = mw.ustring.match(page, pattern)&lt;br /&gt;
		if match then&lt;br /&gt;
			return true&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return false&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getParamMappings(useLoadData)&lt;br /&gt;
	local dataPage = 'Module:Namespace detect/data'&lt;br /&gt;
	if useLoadData then&lt;br /&gt;
		return mw.loadData(dataPage).mappings&lt;br /&gt;
	else&lt;br /&gt;
		return require(dataPage).mappings&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getNamespaceParameters(titleObj, mappings)&lt;br /&gt;
	-- We don't use title.nsText for the namespace name because it adds&lt;br /&gt;
	-- underscores.&lt;br /&gt;
	local mappingsKey&lt;br /&gt;
	if titleObj.isTalkPage then&lt;br /&gt;
		mappingsKey = 'talk'&lt;br /&gt;
	else&lt;br /&gt;
		mappingsKey = mw.site.namespaces[titleObj.namespace].name&lt;br /&gt;
	end&lt;br /&gt;
	mappingsKey = mw.ustring.lower(mappingsKey)&lt;br /&gt;
	return mappings[mappingsKey] or {}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>wiki:zh&gt;Koala0090</name></author>
	</entry>
</feed>