Module:Article history/config: Difference between revisions

Content deleted Content added
use a link property rather than a getLink method for action objects
use "icon" instead of "image"
Line 792:
-- id: the main ID for the status.
-- aliases: a table of ID aliases that can be used to access the config table.
-- imageicon: The status imageicon.
-- imageSizeiconSize: The imageicon size, including "px" suffix. The default is defined in
-- defaultStatusIconSize.
-- imageSmallSizeiconSmallSize: The imageicon size if we are outputting a small template. The
-- default is defined in defaultSmallStatusIconSize.
-- text: The status text. This may be a string or a function. If it is a
Line 808:
id = 'FA',
name = 'Featured article',
imageicon = 'Featured article star.svg',
text = function (articleHistoryObj)
local articlePage = articleHistoryObj.currentTitle.subjectPageTitle.prefixedText
Line 832:
id = 'FFA',
name = 'Former featured article',
imageicon = 'Featured article star - cross.svg',
imageSizeiconSize = '48px',
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 844:
name = 'Former featured article candidate',
aliases = {'FACFAILED'},
imageicon = 'Cscr-former.svg',
},
FL = {
id = 'FL',
name = 'Featured list',
imageicon = 'Featured article star.svg',
imageSizeiconSize = '48px',
text = function (articleHistoryObj)
local articlePage = articleHistoryObj.currentTitle.subjectPageTitle.prefixedText
Line 874:
id = 'FFL',
name = 'Former featured list',
imageicon = 'Cscr-featured-strike.svg',
text = "'''$1''' is a [[Wikipedia:Former featured lists|former featured list]]. " ..
"Please see the links under Article milestones below for its original " ..
Line 885:
id = 'FFLC',
name = 'Former featured list candidate',
imageicon = 'Cscr-former.svg',
imageCaptioniconCaption = 'Former FLC',
text = "'''$1''' is a former [[Wikipedia:Featured list candidates|featured list candidate]]. " ..
"Please view the link under Article milestones below to see why the nomination failed. " ..
Line 903:
id = 'GA',
name = 'Good article',
imageicon = 'Symbol support vote.svg',
imageSizeiconSize = '40px',
text = function (articleHistoryObj)
local link, display = getGoodArticleTopicLink(articleHistoryObj.args.topic)
Line 942:
name = 'Former good article nominee',
aliases = {'FAILEDGA'},
imageicon = 'Symbol unsupport vote.svg',
text = function (articleHistoryObj)
local articlePage = articleHistoryObj.currentTitle.subjectPageTitle.prefixedText
Line 961:
name = 'Former good article',
aliases = {'DELISTEDGA'},
imageicon = 'Symbol unsupport vote.svg',
text = function (articleHistoryObj)
local articlePage = articleHistoryObj.currentTitle.subjectPageTitle.prefixedText
Line 979:
FFT = {
id = 'FFT',
image = 'Cscr-featured-strike.svg',
name = 'Part of former featured topic',
imageCaptionicon = 'Former Cscr-featured topic-strike.svg',
iconCaption = 'Former featured topic',
text = "This article is part of a " ..
"''[[Wikipedia:Former featured topics|former featured topic]]'' series. " ..
Line 992:
id = 'FFTC',
name = 'Former featured topic candidate',
imageicon = 'Cscr-former.svg',
text = "This article is part of a ''former'' " ..
"[[Wikipedia:Featured topic candidates|featured topic candidate]]. " ..
Line 1,001:
id = 'FPO',
name = 'Featured portal',
imageicon = 'Cscr-former.svg',
text = "The '''$2 Portal''' is a [[Wikipedia:Featured portals|featured portal]], " ..
"which means it has been " ..
Line 1,018:
id = 'FFPO',
name = 'Former featured portal',
imageicon = '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 " ..
Line 1,032:
id = 'FFPOC',
name = 'Former featured portal candidate',
imageicon = 'Cscr-former.svg',
text = "This portal is a '''''former''''' " ..
"[[Wikipedia:Featured portal candidates|featured portal candidate]]. " ..