Module:Protection banner: Difference between revisions
Jump to navigation
Jump to search
output an error category if the protection object is not created properly
>Mr. Stradivarius (allow default args to work in sandbox pages) |
>Mr. Stradivarius (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 |