Changes
make the variable names a little more descriptive
)
if not protectionObjCreated then
local msg errorMessage = protectionObj -- protectionObj is the error message. local boilerplate errorBlurb = cfg.msg['error-message-blurb'] or 'Error: $1.' local errorText = mw.message.newRawMessage(boilerplateerrorBlurb):params(msgerrorMessage):plain()
return string.format(
'<strong class="error">%s</strong>',