Difference between revisions of "Module:Message box"
Jump to navigation
Jump to search
fix stray nsid variable to self.nsid
>Mr. Stradivarius (get arg nums for all parameters as well as cat and category parameters) |
>Mr. Stradivarius (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 |