Module:Protection banner: Difference between revisions
Jump to navigation
Jump to search
only make link text if the link message is available
>Mr. Stradivarius (shorter names - use protectionObj instead of protectionStatusObj, and Protection instead of ProtectionStatus) |
>Mr. Stradivarius (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 | ||