Changes

Jump to: navigation, search

Module:Message box

42 bytes removed, 07:13, 13 October 2013
require name parameter for ambox
-- Add template-namespace categories.
self.isTemplatePage = type(self.name) == 'string' and self.title.prefixedText == ('Template:' .. self.name)
if cfg.templateCategory then
if cfg.templateCategoryRequireName then self.isTemplatePage = type(self.name then) == 'string' and self.title.prefixedText == ('Template:' .. self.name)
if self.isTemplatePage then
self:addCat('template', cfg.templateCategory)
if not self.name and not self.title.isSubpage then
templateCat = templateErrorCategory
elseif type(self.name) == 'string' and self.title.prefixedText == ('Template:' .. self.name) isTemplatePage then
local paramsToCheck = cfg.templateErrorParamsToCheck or {}
local count = 0
Anonymous user

Navigation menu