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