<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://www.wikiw.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ATemplate_test_case%2Fdata</id>
	<title>模块:Template test case/data - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://www.wikiw.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ATemplate_test_case%2Fdata"/>
	<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Template_test_case/data&amp;action=history"/>
	<updated>2026-04-08T20:51:15Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Template_test_case/data&amp;diff=2336&amp;oldid=prev</id>
		<title>imported&gt;Vozhuo：​←建立内容为“-- This module processes configuration data for use in -- Module:Template test case. It is loaded from the main module with -- mw.loadData.  loc…”的新页面</title>
		<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:Template_test_case/data&amp;diff=2336&amp;oldid=prev"/>
		<updated>2017-07-07T02:35:29Z</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 processes configuration data for use in -- &lt;a href=&quot;/index.php?title=%E6%A8%A1%E5%9D%97:Template_test_case&quot; title=&quot;模块:Template test case&quot;&gt;Module:Template test case&lt;/a&gt;. It is loaded from the main module with -- mw.loadData.  loc…”的新页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module processes configuration data for use in&lt;br /&gt;
-- [[Module:Template test case]]. It is loaded from the main module with&lt;br /&gt;
-- mw.loadData.&lt;br /&gt;
&lt;br /&gt;
local cfg = require(&amp;#039;Module:Template test case/config&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local function escapePattern(s)&lt;br /&gt;
	s = s:gsub(&amp;#039;%p&amp;#039;, &amp;#039;%%%0&amp;#039;)&lt;br /&gt;
	return s&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Escape config items that need to be used as patterns. Doing it here is more&lt;br /&gt;
-- efficient, as mw.loadData saves them from having to be computed for every&lt;br /&gt;
-- test case on a page.&lt;br /&gt;
cfg.templateNameMagicWordPattern = escapePattern(cfg.templateNameMagicWord)&lt;br /&gt;
cfg.sandboxSubpagePattern = &amp;#039;/&amp;#039; .. escapePattern(cfg.sandboxSubpage) .. &amp;#039;$&amp;#039;&lt;br /&gt;
&lt;br /&gt;
return cfg&lt;/div&gt;</summary>
		<author><name>imported&gt;Vozhuo</name></author>
	</entry>
</feed>