Content deleted Content added
m fix variable name |
add more status details; add status names, and remove image captions when they are duplicates of the name |
||
Line 799:
-- the text string. If it is a string, it can have the following parameters:
-- $1 - The full page name of the article or subject page
-- $2 - The page name without the namespace name
-- categories: An array of categories used by the status.
Line 804 ⟶ 805:
FA = {
id = 'FA',
image = 'Featured article star.svg',
▲ imageCaption = 'Featured article',
text = function (articleHistoryObj)
local articlePage = articleHistoryObj.currentTitle.subjectPageTitle.prefixedText
Line 827 ⟶ 828:
FFA = {
id = 'FFA',
image = 'Featured article star - cross.svg',
imageSize = '48px',
▲ imageCaption = 'Former featured article',
text = "'''$1''' is a [[Wikipedia:Former featured articles|former featured article]]. " ..
"Please see the links under Article milestones below for its original nomination page " ..
Line 838 ⟶ 839:
FFAC = {
id = 'FFAC',
aliases = {'FACFAILED'},
image = 'Cscr-former.svg',
},
FL = {
id = 'FL',
image = 'Featured article star.svg',
imageSize = '48px',
▲ imageCaption = 'Featured list',
text = function (articleHistoryObj)
local articlePage = articleHistoryObj.currentTitle.subjectPageTitle.prefixedText
Line 868 ⟶ 869:
FFL = {
id = 'FFL',
name = 'Former featured list',
image = 'Cscr-featured-strike.svg',
▲ imageCaption = 'Former featured list',
text = "'''$1''' is a [[Wikipedia:Former featured lists|former featured list]]. " ..
"Please see the links under Article milestones below for its original " ..
Line 879 ⟶ 880:
FFLC = {
id = 'FFLC',
name = 'Former featured list candidate',
image = 'Cscr-former.svg',
imageCaption = 'Former FLC',
Line 890 ⟶ 892:
['FFA/GA'] = {
id = 'FFA/GA',
isDouble = true,
statuses = {'FFA', 'GA'}
Line 895 ⟶ 898:
GA = {
id = 'GA',
image = 'Symbol support vote.svg',
imageSize = '40px',
▲ imageCaption = 'Good article',
text = function (articleHistoryObj)
local link, display = getGoodArticleTopicLink(articleHistoryObj.args.topic)
Line 933 ⟶ 936:
FGAN = {
id = 'FGAN',
aliases = {'FAILEDGA'},
image = 'Symbol unsupport vote.svg',
▲ imageCaption = 'Former good article nominee',
text = function (articleHistoryObj)
local articlePage = articleHistoryObj.currentTitle.subjectPageTitle.prefixedText
Line 952 ⟶ 955:
DGA = {
id = 'DGA',
name = 'Former good article',
aliases = {'DELISTEDGA'},
image = 'Symbol unsupport vote.svg',
▲ imageCaption = 'Former good article',
text = function (articleHistoryObj)
local articlePage = articleHistoryObj.currentTitle.subjectPageTitle.prefixedText
Line 972 ⟶ 975:
FFT = {
id = 'FFT',
image = 'Cscr-featured-strike.svg',
name = 'Part of former featured topic',
imageCaption = 'Former featured topic',
text = "This article is part of a " ..
"''[[Wikipedia:Former featured topics|former featured topic]]'' series. " ..
"If it has improved again to " ..
"[[Wikipedia:Featured topic criteria|featured topic standard]], " ..
"you may [[Wikipedia:Featured topic candidates|renominate]] " ..
"the topic to become a [[Wikipedia:Featured topic|featured topic]]."
},
FFTC = {
id = 'FFTC',
name = 'Former featured topic candidate',
image = 'Cscr-former.svg',
text = "This article is part of a ''former'' " ..
"[[Wikipedia:Featured topic candidates|featured topic candidate]]. " ..
"Please view the links under Article milestones below to see why " ..
"the nomination failed."
},
FPO = {
id = 'FPO',
image = 'Cscr-former.svg',▼
text = "The '''$2 Portal''' is a [[Wikipedia:Featured portals|featured portal]], " ..
"which means it has been " ..
"'''''[[Wikipedia:Featured portal candidates/Portal:$2|identified]]''''' " ..
"as one of the best portals on [[Wikipedia]]. " ..
"If you see a way this portal can be updated or improved without " ..
"compromising previous work, please feel free to contribute.",
categories = function (articleHistoryObj)
return {Category.new(
'Wikipedia featured portals',
articleHistoryObj.currentTitle.text
)}
end
},
FFPO = {
id = 'FFPO',
name = 'Former featured portal',
image = 'Featured article star - cross.svg',
text = "This portal is a [[Wikipedia:Former featured portals|former featured portal]]. " ..
"Please see the links under Portal milestones below for its " ..
"original nomination page and why it was removed.",
categories = function (articleHistoryObj)
return {Category.new(
'Wikipedia former featured portals',
articleHistoryObj.currentTitle.text
)}
end
},
FFPOC = {
id = 'FFPOC',
name = 'Former featured portal candidate',
▲ image = 'Cscr-former.svg'
image = 'Cscr-former.svg',
text = "This portal is a '''''former''''' " ..
"[[Wikipedia:Featured portal candidates|featured portal candidate]]. " ..
"Please see the links under Portal milestones below for its " ..
"original nomination page and why the nomination failed.",
categories = function (articleHistoryObj)
return {Category.new(
'Wikipedia featured portal candidates (contested)',
articleHistoryObj.currentTitle.text
)}
end
},
PR = {
-- Peer review is a valid current status, but it doesn't trigger a
-- header row.
id = 'PR',
name = 'Peer reviewed'
}
},
-- The following are statuses that
nullStatuses = {
PR = true
},
Line 1,125 ⟶ 1,186:
-- The milestones result header.
['milestones-result-header'] = 'Result',
-- The text displayed when the current status is unknown.
['status-unknown'] = '?'
}
|