Modul:Protection banner: Unterschied zwischen den Versionen
K
remove unnecessary whitespace and copy edit one of the error messages
(allow bannerConfig table fields to be functions) |
K (remove unnecessary whitespace and copy edit one of the error messages) |
||
Zeile 641: | Zeile 641: | ||
if not key or not Blurb.bannerTextFields[key] then | if not key or not Blurb.bannerTextFields[key] then | ||
error(string.format( | error(string.format( | ||
'"%s" is not a valid banner field', | '"%s" is not a valid banner config field', | ||
tostring(key) | tostring(key) | ||
), 2) | ), 2) | ||
Zeile 662: | Zeile 662: | ||
return self:_substituteParameters(msg) | return self:_substituteParameters(msg) | ||
end | end | ||
end | end | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |