https://sarkarverse.org/index.php?title=Module:Category_handler/data&feed=atom&action=historyModule:Category handler/data - Revision history2024-03-29T12:07:29ZRevision history for this page on the wikiMediaWiki 1.39.0https://sarkarverse.org/index.php?title=Module:Category_handler/data&diff=26892&oldid=prevT12: 1 revision2014-07-17T14:26:11Z<p>1 revision</p>
<p><b>New page</b></p><div>-- This module assembles data to be passed to [[Module:Category handler]] using<br />
-- mw.loadData. This includes the configuration data and whether the current<br />
-- page matches the title blacklist.<br />
<br />
local data = require('Module:Category handler/config')<br />
local mShared = require('Module:Category handler/shared')<br />
local blacklist = require('Module:Category handler/blacklist')<br />
local title = mw.title.getCurrentTitle()<br />
<br />
data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(<br />
title.prefixedText,<br />
blacklist<br />
)<br />
<br />
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(<br />
title,<br />
mShared.getParamMappings()<br />
)<br />
<br />
return data</div>T12