Module:Protection banner: Difference between revisions
only make link text if the link message is available
(shorter names - use protectionObj instead of protectionStatusObj, and Protection instead of ProtectionStatus) |
(only make link text if the link message is available) |
||
Line 553: | Line 553: | ||
function Blurb:makeLinkText() | function Blurb:makeLinkText() | ||
local msg = self._bannerConfig.link | local msg = self._bannerConfig.link | ||
return self:_substituteParameters(msg) | if msg then | ||
return self:_substituteParameters(msg) | |||
end | |||
end | end | ||