Module:Message box: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(get arg nums for all parameters as well as cat and category parameters)
(fix stray nsid variable to self.nsid)
Line 389: Line 389:
-- Categories for all namespaces.
-- Categories for all namespaces.
if self.invalidTypeError then
if self.invalidTypeError then
local allSort = (nsid == 0 and 'Main:' or '') .. self.title.prefixedText
local allSort = (self.nsid == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
end
end