Module:Message box and Module:Message box/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
m 1 revision imported: Initial |
m 1 revision imported: Initial |
||
Line 355: | Line 355: | ||
or '40x40px' |
or '40x40px' |
||
self.imageLeft = string.format('[[File:%s|%s|link=|alt=]]', self.typeImage |
self.imageLeft = string.format('[[File:%s|%s|link=|alt=]]', self.typeImage |
||
or ' |
or 'Imbox notice.png', imageSize) |
||
end |
end |
||
end |
end |
||
Line 450: | Line 450: | ||
function MessageBox:setAllNamespaceCategories() |
function MessageBox:setAllNamespaceCategories() |
||
-- Set categories for all namespaces. |
-- Set categories for all namespaces. |
||
if self.invalidTypeError then |
|||
local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText |
|||
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort) |
|||
end |
|||
if self.isSubstituted then |
if self.isSubstituted then |
||
self:addCat('all', 'Pages with incorrectly substituted templates') |
self:addCat('all', 'Pages with incorrectly substituted templates') |