Module:Article history/config: Difference between revisions

Content deleted Content added
add row-error-missing-icon message
add missing error messages
Line 574:
if ffaObj then
if not statusId then
articleHistoryObj:raiseError(
-- @TODO: Error
'former featured articles should have a current status',
'Template:Article history#Errors'
)
elseif statusId == 'GA' then
statusId = 'FFA/GA'
else
elseif statusId ~= 'FFA' then
articleHistoryObj:raiseError(
-- @TODO: Error -
string.format(
"'%s' is not a valid current status for former featured articles",
tostring(statusCode)
),
'Template:Article history#Errors'
)
end
end