Module:Message box: Difference between revisions

more controlling for blank dates
(control for blank values of args.date)
(more controlling for blank dates)
Line 338:
self:addCat('main', 'Articles with invalid date parameter in template')
end
elseif mainCat and (not date or date == '') then
self:addCat('main', mainCat)
end