Content deleted Content added
add collapsible text |
add DYK categories |
||
Line 1,604:
end
end
-- Categories
do
local cats = {}
local status = articleHistoryObj:getStatusId()
local cat
if status == 'FA' then
cat = 'Wikipedia Did you know articles that are featured articles'
elseif status == 'FL' then
cat = 'Wikipedia Did you know articles that are featured lists'
elseif status == 'GA' or status == 'FFA/GA' then
cat = 'Wikipedia Did you know articles that are good articles'
else
cat = 'Wikipedia Did you know articles'
end
cats[1] = Category.new(cat)
ret.categories = cats
end
return ret
end
},
|