Anonymous user
Module:Message box: Difference between revisions
control for blank values of args.date
Enwikipedia>Mr. Stradivarius (useId --> allowId) |
Enwikipedia>Mr. Stradivarius (control for blank values of args.date) |
||
Line 331:
mainCat = type(mainCat) == 'string' and mainCat
allCat = type(allCat) == 'string' and allCat
if mainCat and date and date ~= '' then
local catTitle = format('%s %s %s', mainCat, preposition, date)
self:addCat('main', catTitle)
|