"मोड्युल:Article history/config" का संशोधनहरू बिचको अन्तर

remove gacat code
(remove gacat code)
end
end
 
-- GA categories
local gacat = articleHistoryObj.args.gacat
if gacat then
local cdSelectionCat = 'Wikipedia CD Selection - People'
if gacat == 'actors' then
ret[#ret + 1] = Category.new('Wikipedia good articles on actors, models and celebrities')
ret[#ret + 1] = Category.new(cdSelectionCat)
elseif gacat == 'bands' then
ret[#ret + 1] = Category.new('Wikipedia good articles on performers and composers')
elseif gacat == 'hist figures' then
ret[#ret + 1] = Category.new('Wikipedia good articles on historical figures')
ret[#ret + 1] = Category.new(cdSelectionCat)
elseif gacat == 'musicians' then
ret[#ret + 1] = Category.new('Wikipedia good articles on performers and composers')
ret[#ret + 1] = Category.new(cdSelectionCat)
elseif gacat == 'politicians' then
ret[#ret + 1] = Category.new('Wikipedia good articles on politicians')
ret[#ret + 1] = Category.new(cdSelectionCat)
elseif gacat == 'royalty' then
ret[#ret + 1] = Category.new('Wikipedia good articles on royalty')
ret[#ret + 1] = Category.new(cdSelectionCat)
elseif gacat == 'writers' then
ret[#ret + 1] = Category.new('Wikipedia good articles on writers and critics')
ret[#ret + 1] = Category.new(cdSelectionCat)
else
articleHistoryObj:addWarning(
string.format(
"invalid value '%s' detected in the 'gacat' parameter",
tostring(gacat)
),
"Template:Article history#Invalid value in 'gacat'"
)
end
end
 
return ret
end
ret[#ret + 1] = Category.new('Possible Wikipedia four award articles')
end
end
return ret
end,
 
-- Track the gacat parameter
function (articleHistoryObj)
local ret = {}
if articleHistoryObj.args.gacat then
table.insert(ret, Category.new('Article history templates with deprecated parameters'))
end
return ret
"https://ne.wikipedia.org/wiki/विशेष:MobileDiff/498015" बाट अनुप्रेषित