Module:Article history/config: Difference between revisions

Content deleted Content added
add peer review notice bar icon
we need to activate the peer review icon if the current status is not specified as well
Line 1,869:
isActive = function (articleHistoryObj)
local status = articleHistoryObj:getStatusId()
-- @XXX: This is what the template does, but we should take into
return status == 'PR' or status == 'NA'
-- account peer review actions as well.
return not status or status == 'PR' or status == 'NA'
end,
icon = 'Nuvola apps kedit.svg'