Module:Article history: Difference between revisions

Content deleted Content added
pass the action parameter name to the action-error-no-date error
add a warning if a current status was specified without any actions
Line 940:
self.statusObj = false
return nil
end
 
-- Check that some actions were specified, and if not add a warning.
local actions = self:getActionObjects()
if #actions < 1 then
self:addWarning(
'articlehistory-warning-status-no-actions',
'articlehistory-warning-status-no-actions-help'
)
end