FANDOM


-- This is a blacklist for [[Module:SpecialCategorizer]]. It is loaded
-- with mw.loadData, which means it is only processed once per page rather than
-- once per template.
 
local blacklist = {
	-- Don't categorize the following pages.
	'^Template:UnusedPage$',
	'^Template:TOR updates$',
	'^Template:FFG$',
 
	-- Don't categorize subpages of the following pages.
	'^Wookieepedia:Userbox proposal/',
	'^Wookieepedia:Template messages/'
}
 
local function isBlacklisted()
	local pagename = mw.title.getCurrentTitle().prefixedText
	local ret = {}
	for _, pattern in ipairs(blacklist) do
		if mw.ustring.find(pagename, pattern) then
			return true
		end
	end
	return false
end
 
return {
	isBlacklisted = isBlacklisted()
}
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+