Editing Module:Category handler/config
From MINR.ORG WIKI
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 13: | Line 13: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- Parameter names -- | -- Parameter names -- | ||
− | -- These configuration items specify custom 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: -- | -- To add one extra name, you can use this format: -- | ||
-- -- | -- -- | ||
Line 29: | Line 30: | ||
-- | -- | ||
-- cfg.nocat: | -- cfg.nocat: | ||
− | -- Result of yesno() | + | -- Result of yesno(args[cfg.nocat]) Effect |
-- true Categorisation is suppressed | -- true Categorisation is suppressed | ||
-- false Categorisation is allowed, and | -- false Categorisation is allowed, and | ||
Line 36: | Line 37: | ||
-- | -- | ||
-- cfg.categories: | -- cfg.categories: | ||
− | -- Result of yesno() | + | -- Result of yesno(args[cfg.categories]) Effect |
-- true Categorisation is allowed, and | -- true Categorisation is allowed, and | ||
-- the blacklist check is skipped | -- the blacklist check is skipped | ||
Line 61: | Line 62: | ||
-- 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. This must be the same as the cfg.page |
+ | -- parameter in [[Module:Namespace detect]]. | ||
demopage = 'page', | demopage = 'page', | ||
} | } | ||
Line 70: | Line 72: | ||
-- 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 88: | Line 93: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- Default namespaces -- | -- Default namespaces -- | ||
− | -- This is a table of namespaces to categorise by default. | + | -- This is a table of namespaces to categorise by default. They should be in -- |
− | -- | + | -- the format of parameter names accepted by [[Module:Namespace detect]]. -- |
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||