Anonymous user
Module:Category handler/config: Difference between revisions
don't bother to use default parameter names - allow each wiki to set parameter names however they want
(blacklist tweaks) |
(don't bother to use default parameter names - allow each wiki to set parameter names however they want) |
||
Line 2:
-- [[Module:Category handler]] configuration data --
-- Language-specific parameter names and values can be set here. --
-- For blacklist config, see [[Module:Category handler/blacklist]]. --
--------------------------------------------------------------------------------
Line 39 ⟶ 40:
---- false Categorisation is suppressed
---- nil Categorisation is allowed
---- The parameter name for the legacy "category2" parameter. This skips the
Line 46 ⟶ 47:
---- categorisation if present but equal to anything other than cfg.category2Yes
---- or cfg.category2Negative.
---- cfg.subpage is the parameter name to specify how to behave on subpages.
---- The parameter for data to return in all namespaces.
---- The parameter name for data to return if no data is specified for the
---- namespace that is detected.
---- The parameter name used to specify a page other than the current page; used
Line 78 ⟶ 79:
---- is present but equal to anything other than cfg.category2Yes or
---- cfg.category2Negative then it supresses cateogrisation.
---- The following settings are used with the cfg.subpage parameter.
---- cfg.subpageNo is the value to specify to not categorise on subpages;
---- cfg.subpageOnly is the value to specify to only categorise on subpages.
--------------------------------------------------------------------------------
|