Module:Category handler/config: Difference between revisions

created
(copy config data from Module:Category handler to try and make the separation between config and code clearer)
 
(created)
Line 49:
-- 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_talkWikisource_talk".
-- Other parts of the title can have either underscores or spaces.
cfg.blacklist = {
Line 55:
-- Don't categorise the following pages or their subpages.
'^WikipediaWikisource:Cascade%-protected items$',
'^WikipediaWikisource:Cascade%-protected items/.*$',
'^User:UBX$', -- The userbox "template" space.
'^User:UBX/.*$',
'^User_talk:UBX$',
'^User_talk:UBX/.*$',
 
-- Don't categorise subpages of these pages, but allow
-- categorisation of the base page.
'^WikipediaWikisource:Template messages/.+$',
 
'/[aA]rchive' -- Don't categorise archives.
}