Module:Protection banner: Difference between revisions
Content deleted Content added
simplify _substituteParameters |
no need to special case indef expiry. if it's indef, the messages that get used don't use it anyway |
||
Line 471:
function Blurb:_makeExpiryParameter()
local expiry = self._protectionObj.expiry
if type(expiry) == '
return Blurb.formatDate(expiry)
else
return expiry
end
|