Module:Protection banner: Difference between revisions
output an error category if the protection object is not created properly
(allow default args to work in sandbox pages) |
(output an error category if the protection object is not created properly) |
||
Line 798: | Line 798: | ||
:plain() | :plain() | ||
return string.format( | return string.format( | ||
'<strong class="error">%s</strong>', | '<strong class="error">%s</strong>%s', | ||
errorText | errorText, | ||
makeCategoryLink(cfg.msg['tracking-category-incorrect']) | |||
) | ) | ||
end | end |