Module:Protection banner: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(localise the error message by moving the makeWikitextError function code inside p._main; that way we don't have to worry about making cfg global) |
(make the variable names a little more descriptive) |
||
Line 809:
)
if not protectionObjCreated then
local
local
local errorText = mw.message.newRawMessage(
return string.format(
'<strong class="error">%s</strong>',
|