http://collaborativecollections.org/WorldWarOne/index.php?title=Module:Category_handler/config&feed=atom&action=historyModule:Category handler/config - Revision history2024-03-28T12:03:19ZRevision history for this page on the wikiMediaWiki 1.27.0http://collaborativecollections.org/WorldWarOne/index.php?title=Module:Category_handler/config&diff=205&oldid=prevMia: 1 revision: Hopefully infoboxes2014-11-05T01:00:19Z<p>1 revision: Hopefully infoboxes</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr style='vertical-align: top;' lang='en-GB'>
<td colspan='1' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black; text-align: center;">Revision as of 01:00, 5 November 2014</td>
</tr><tr><td colspan='2' style='text-align: center;' lang='en-GB'><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Miahttp://collaborativecollections.org/WorldWarOne/index.php?title=Module:Category_handler/config&diff=204&oldid=prevMr. Stradivarius: Protected Module:Category handler/config: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))2014-07-13T09:05:36Z<p>Protected Module:Category handler/config: <a href="/WorldWarOne/index.php?title=WP:High-risk_templates&action=edit&redlink=1" class="new" title="WP:High-risk templates (page does not exist)">High-risk Lua module</a> ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</p>
<p><b>New page</b></p><div>--------------------------------------------------------------------------------<br />
-- [[Module:Category handler]] configuration data --<br />
-- Language-specific parameter names and values can be set here. --<br />
-- For blacklist config, see [[Module:Category handler/blacklist]]. --<br />
--------------------------------------------------------------------------------<br />
<br />
local cfg = {} -- Don't edit this line.<br />
<br />
--------------------------------------------------------------------------------<br />
-- Start configuration data --<br />
--------------------------------------------------------------------------------<br />
<br />
--------------------------------------------------------------------------------<br />
-- Parameter names --<br />
-- These configuration items specify custom parameter names. --<br />
-- To add one extra name, you can use this format: --<br />
-- --<br />
-- foo = 'parameter name', --<br />
-- --<br />
-- To add multiple names, you can use this format: --<br />
-- --<br />
-- foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'}, --<br />
--------------------------------------------------------------------------------<br />
<br />
cfg.parameters = {<br />
<br />
-- The nocat and categories parameter suppress<br />
-- categorisation. They are used with Module:Yesno, and work as follows:<br />
--<br />
-- cfg.nocat:<br />
-- Result of yesno() Effect<br />
-- true Categorisation is suppressed<br />
-- false Categorisation is allowed, and<br />
-- the blacklist check is skipped<br />
-- nil Categorisation is allowed<br />
--<br />
-- cfg.categories:<br />
-- Result of yesno() Effect<br />
-- true Categorisation is allowed, and<br />
-- the blacklist check is skipped<br />
-- false Categorisation is suppressed<br />
-- nil Categorisation is allowed<br />
nocat = 'nocat',<br />
categories = 'categories',<br />
<br />
-- The parameter name for the legacy "category2" parameter. This skips the<br />
-- blacklist if set to the cfg.category2Yes value, and suppresses<br />
-- categorisation if present but equal to anything other than<br />
-- cfg.category2Yes or cfg.category2Negative.<br />
category2 = 'category2',<br />
<br />
-- cfg.subpage is the parameter name to specify how to behave on subpages.<br />
subpage = 'subpage',<br />
<br />
-- The parameter for data to return in all namespaces.<br />
all = 'all',<br />
<br />
-- The parameter name for data to return if no data is specified for the<br />
-- namespace that is detected.<br />
other = 'other',<br />
<br />
-- The parameter name used to specify a page other than the current page;<br />
-- used for testing and demonstration.<br />
demopage = 'page',<br />
}<br />
<br />
--------------------------------------------------------------------------------<br />
-- Parameter values --<br />
-- These are set values that can be used with certain parameters. Only one --<br />
-- value can be specified, like this: --<br />
-- --<br />
-- cfg.foo = 'value name' -- --<br />
--------------------------------------------------------------------------------<br />
<br />
-- The following settings are used with the cfg.category2 parameter. Setting<br />
-- cfg.category2 to cfg.category2Yes skips the blacklist, and if cfg.category2<br />
-- is present but equal to anything other than cfg.category2Yes or<br />
-- cfg.category2Negative then it supresses cateogrisation.<br />
cfg.category2Yes = 'yes'<br />
cfg.category2Negative = '¬'<br />
<br />
-- The following settings are used with the cfg.subpage parameter.<br />
-- cfg.subpageNo is the value to specify to not categorise on subpages;<br />
-- cfg.subpageOnly is the value to specify to only categorise on subpages.<br />
cfg.subpageNo = 'no'<br />
cfg.subpageOnly = 'only'<br />
<br />
--------------------------------------------------------------------------------<br />
-- Default namespaces --<br />
-- This is a table of namespaces to categorise by default. The keys are the --<br />
-- namespace numbers. --<br />
--------------------------------------------------------------------------------<br />
<br />
cfg.defaultNamespaces = {<br />
[ 0] = true, -- main<br />
[ 6] = true, -- file<br />
[ 12] = true, -- help<br />
[ 14] = true, -- category<br />
[100] = true, -- portal<br />
[108] = true, -- book<br />
}<br />
<br />
--------------------------------------------------------------------------------<br />
-- Wrappers --<br />
-- This is a wrapper template or a list of wrapper templates to be passed to --<br />
-- [[Module:Arguments]]. --<br />
--------------------------------------------------------------------------------<br />
<br />
cfg.wrappers = 'Template:Category handler'<br />
<br />
--------------------------------------------------------------------------------<br />
-- End configuration data --<br />
--------------------------------------------------------------------------------<br />
<br />
return cfg -- Don't edit this line.</div>Mr. Stradivarius