-- [[Module:Category handler]] configuration data --
-- Language-specific parameter names and values can be set here. --
-- For blacklist config, see [[Module:Category handler/blacklist]]. --
--------------------------------------------------------------------------------
---- false Categorisation is suppressed
---- nil Categorisation is allowed
-- cfg.nocat = 'nocat' -- cfg.categories = 'categories'
---- The parameter name for the legacy "category2" parameter. This skips the
---- categorisation if present but equal to anything other than cfg.category2Yes
---- or cfg.category2Negative.
-- cfg.category2 = 'category2'
---- cfg.subpage is the parameter name to specify how to behave on subpages.
-- cfg.subpage = 'subpage'
---- The parameter for data to return in all namespaces.
-- cfg.all = 'all'
---- The parameter name for data to return if no data is specified for the
---- namespace that is detected.
-- cfg.other = 'other'
---- The parameter name used to specify a page other than the current page; used
---- is present but equal to anything other than cfg.category2Yes or
---- cfg.category2Negative then it supresses cateogrisation.
-- cfg.category2Yes = 'yes'-- cfg.category2Negative = '¬'
---- 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.
-- cfg.subpageNo = 'no'-- cfg.subpageOnly = 'only' ---------------------------------------------------------------------------------- Blacklist ---- The categorisation blacklist. Pages that match Lua patterns in this list ---- will not be categorised. (However, see the explanation of cfg.nocat, ---- cfg.categories and cfg.category2 for some exceptions.) If the namespace ---- name has a space in, it must be written with an underscore, e.g. ---- "Wikipedia_talk". Other parts of the title can have either underscores or ---- spaces. ---------------------------------------------------------------------------------- cfg.blacklist = { -- Don't categorise the Main Page. '^Main Page$', -- Don't categorise [[Wikipedia:Cascade-protected items]] or its subpages. -- The pattern '%f[/\0]' matches a blank string where the next character is -- either '/' or the end of the string, and the previous character is not -- one of those characters. '^Wikipedia:Cascade%-protected items%f[/\0]', -- Don't categorise [[User:UBX]], [[User talk:UBX]] or any of their -- subpages. This is the userbox "template" space, and often gets -- categorised with userbox categories by mistake. '^User:UBX%f[/\0]', '^User_talk:UBX%f[/\0]', -- Don't categorise subpages of [[Wikipedia:Template messages]], but allow -- categorisation of the base page. '^Wikipedia:Template messages/.+$', -- Don't categorise User CSD logs or PROD logs. '^User:.*/[cC][sS][dD] ?[lL][oO][gG]', '^User:.*/[pP][rR][oO][dD] ?[lL][oO][gG]', -- Don't categorise archives. '/[aA]rchive', "^Wikipedia:Administrators' noticeboard/IncidentArchive", "^Wikipedia:Administrators' noticeboard/3RRArchive",}
--------------------------------------------------------------------------------