<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ATemplate_test_case%2Fdata</id>
	<title>Module:Template test case/data - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ATemplate_test_case%2Fdata"/>
	<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Module:Template_test_case/data&amp;action=history"/>
	<updated>2026-04-04T20:44:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://the-democratika.com/wiki/index.php?title=Module:Template_test_case/data&amp;diff=10084&amp;oldid=prev</id>
		<title>&gt;MusikAnimal: Protected &quot;Module:Template test case/data&quot;: High-risk module ([Edit=Require extended confirmed access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Module:Template_test_case/data&amp;diff=10084&amp;oldid=prev"/>
		<updated>2019-01-24T21:23:12Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/index.php/Module:Template_test_case/data&quot; title=&quot;Module:Template test case/data&quot;&gt;Module:Template test case/data&lt;/a&gt;&amp;quot;: &lt;a href=&quot;https://en.wikipedia.org/wiki/High-risk_templates&quot; class=&quot;extiw&quot; title=&quot;wikipedia:High-risk templates&quot;&gt;High-risk module&lt;/a&gt; ([Edit=Require extended confirmed access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&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>&gt;MusikAnimal</name></author>
	</entry>
</feed>