Changes
Jump to navigation
Jump to search
local errorMessage = protectionObj
use a comment instead of a variable assignment to make it clear that protectionObj is the error message
)
if not protectionObjCreated then
local errorBlurb = cfg.msg['error-message-blurb'] or 'Error: $1.'
local errorText = mw.message.newRawMessage(errorBlurb) :params(errorMessageprotectionObj)-- protectionObj is the error message :plain()
return string.format(
'<strong class="error">%s</strong>',