Content deleted Content added
make the Deletion to Quality Award testing more sophisticated |
use resultId instead of getResult for action object tests |
||
Line 1,979:
ret[#ret + 1] = Category.new('Wikipedia articles rejected for Four awards')
elseif articleHistoryObj:getStatusId() == 'FA' then
local
for i, obj in ipairs(articleHistoryObj:getCollapsibleNoticeObjects()) do
if obj.id == 'DYK' then
Line 1,988:
if isDYK then
for i, obj in ipairs(articleHistoryObj:getActionObjects()) do
if obj.id == 'GAN' and obj
ret[#ret + 1] = Category.new('Possible Wikipedia four award articles')▼
break
end
end
▲ ret[#ret + 1] = Category.new('Possible Wikipedia four award articles')
end
end
Line 2,020 ⟶ 2,017:
for i = iAfd + 1, #actionObjects do
local obj = actionObjects[i]
if obj.id == id and obj
return true
end
|