Module:Message box: Difference between revisions

fix stray nsid variable to self.nsid
m>Mr. Stradivarius
(get arg nums for all parameters as well as cat and category parameters)
m>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
Anonymous user