Module:Category handler/config: Difference between revisions

blacklist tweaks
(restructure, make most config optional, and add a few items to the blacklist)
(blacklist tweaks)
Line 98:
 
cfg.blacklist = {
'^Main Page$', -- donDon't categorise the mainMain pagePage.
'^Main Page$',
 
-- Don't categorise the[[Wikipedia:Cascade-protected following pagesitems]] or theirits subpages.
-- The pattern '%f[/\0]' matches a blank string where the next character is
'^Wikipedia:Cascade%-protected items$',
-- either '/' or the end of the string, and the previous character is not
'^Wikipedia:Cascade%-protected items/.*$',
-- one of those characters.
'^User:UBX$', -- The userbox "template" space.
'^Wikipedia:Cascade%-protected items$%f[/\0]',
'^User:UBX/.*$',
'^User_talk:UBX$',
-- Don't categorise [[User:UBX]], [[User talk:UBX]] or any of their
'^User_talk:UBX/.*$',
-- 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 these[[Wikipedia:Template pagesmessages]], but allow
-- categorisation of the base page.
'^Wikipedia:Template messages/.+$',
Anonymous user