Star Wars Wiki
Star Wars Wiki

La documentación para este módulo puede ser creada en Módulo:SpecialCategorizer/blacklist/doc

-- Copied from
-- Author [[User:Mr. Stradivarius]]
-- 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.

	-- Don't categorize subpages of the following pages.
	'^Star Wars Wiki:Mensajes de plantillas/'

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
	return false

return {
	isBlacklisted = isBlacklisted()