Module:Article history: Difference between revisions

Content deleted Content added
add error message for action objects with no code passed, and set the level for errors using Message:raiseError to zero
change some self's to obj's in Action.new
Line 271:
-- Set the ID
if not data.code then
local codeParam = selfobj.cfg.actionParamPrefix .. tostring(obj.paramNum)
selfobj:raiseError(
selfobj:message('action-error-no-code', codeParam),
selfobj:message('action-error-no-code-help')
)
end