Module:Category handler/blacklist

From KitwarePublic
Jump to navigationJump to search

Documentation for this module may be created at Module:Category handler/blacklist/doc

 1 -- This module contains the blacklist used by [[Module:Category handler]].
 2 -- Pages that match Lua patterns in this list will not be categorised unless
 3 -- categorisation is explicitly requested.
 4 
 5 return {
 6     '^Main Page$', -- don't categorise the main page.
 7  
 8     -- Don't categorise the following pages or their subpages.
 9     -- "%f[/\0]" matches if the next character is "/" or the end of the string.
10     '^Wikipedia:Cascade%-protected items%f[/\0]',
11     '^User:UBX%f[/\0]', -- The userbox "template" space.
12     '^User talk:UBX%f[/\0]',
13  
14     -- Don't categorise subpages of these pages, but allow
15     -- categorisation of the base page.
16     '^Wikipedia:Template messages/.*$',
17  
18     '/[aA]rchive' -- Don't categorise archives.
19 }