Module:Category handler/config: Difference between revisions

update comments
(add wrappers config)
(update comments)
Line 13:
--------------------------------------------------------------------------------
-- Parameter names --
-- These configuration items specify custom parameter names. Values added --
-- here will work in addition to the default English parameter names. --
-- To add one extra name, you can use this format: --
-- --
Line 30 ⟶ 29:
--
-- cfg.nocat:
-- Result of yesno(args[cfg.nocat]) Effect
-- true Categorisation is suppressed
-- false Categorisation is allowed, and
Line 37 ⟶ 36:
--
-- cfg.categories:
-- Result of yesno(args[cfg.categories]) Effect
-- true Categorisation is allowed, and
-- the blacklist check is skipped
Line 62 ⟶ 61:
-- The parameter name used to specify a page other than the current page;
-- used for testing and demonstration. This must be the same as the cfg.page
-- parameter in [[Module:Namespace detect]].
demopage = 'page',
}
Line 72 ⟶ 70:
-- value can be specified, like this: --
-- --
-- cfg.foo = 'value name' -- --
-- --
-- These settings are optional. It is always possible to use the module --
-- defaults instead. --
--------------------------------------------------------------------------------
 
Line 93 ⟶ 88:
--------------------------------------------------------------------------------
-- Default namespaces --
-- This is a table of namespaces to categorise by default. TheyThe shouldkeys beare the in --
-- namespace numbers. --
-- the format of parameter names accepted by [[Module:Namespace detect]]. --
--------------------------------------------------------------------------------
 
Anonymous user