https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3ATemplate_test_case%2FdataModule:Template test case/data - Revision history2025-05-29T11:21:25ZRevision history for this page on the wikiMediaWiki 1.45.0-wmf.2https://en.wikipedia.org/w/index.php?title=Module:Template_test_case/data&diff=880025587&oldid=prevMusikAnimal: Protected "Module:Template test case/data": High-risk module ([Edit=Require extended confirmed access] (indefinite))2019-01-24T21:23:12Z<p>Protected "<a href="/wiki/Module:Template_test_case/data" title="Module:Template test case/data">Module:Template test case/data</a>": <a href="/wiki/Wikipedia:High-risk_templates" title="Wikipedia:High-risk templates">High-risk module</a> ([Edit=Require extended confirmed access] (indefinite))</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:23, 24 January 2019</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>MusikAnimalhttps://en.wikipedia.org/w/index.php?title=Module:Template_test_case/data&diff=635698824&oldid=prevJackmcbarn: Jackmcbarn moved page Module:Template test cases/data to Module:Template test case/data without leaving a redirect: along with parent module2014-11-27T22:41:00Z<p>Jackmcbarn moved page <a href="/w/index.php?title=Module:Template_test_cases/data&action=edit&redlink=1" class="new" title="Module:Template test cases/data (page does not exist)">Module:Template test cases/data</a> to <a href="/wiki/Module:Template_test_case/data" title="Module:Template test case/data">Module:Template test case/data</a> without leaving a redirect: along with parent module</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 22:41, 27 November 2014</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Jackmcbarnhttps://en.wikipedia.org/w/index.php?title=Module:Template_test_case/data&diff=635655664&oldid=prevMr. Stradivarius: create data module to load from Module:Template test case2014-11-27T15:07:33Z<p>create data module to load from <a href="/wiki/Module:Template_test_case" title="Module:Template test case">Module:Template test case</a></p>
<p><b>New page</b></p><div>-- This module processes configuration data for use in<br />
-- [[Module:Template test case]]. It is loaded from the main module with<br />
-- mw.loadData.<br />
<br />
local cfg = require('Module:Template test case/config')<br />
<br />
local function escapePattern(s)<br />
s = s:gsub('%p', '%%%0')<br />
return s<br />
end<br />
<br />
-- Escape config items that need to be used as patterns. Doing it here is more<br />
-- efficient, as mw.loadData saves them from having to be computed for every<br />
-- test case on a page.<br />
cfg.templateNameMagicWordPattern = escapePattern(cfg.templateNameMagicWord)<br />
cfg.sandboxSubpagePattern = '/' .. escapePattern(cfg.sandboxSubpage) .. '$'<br />
<br />
return cfg</div>Mr. Stradivarius