پودمان:Icon/data: تفاوت میان نسخهها
جز (۱ نسخه واردشده) |
(per edit request at Template talk:Icon#Edit request: add cleanup icon) |
||
خط ۷: | خط ۷: | ||
local data = { | local data = { | ||
fa = { | fa = { | ||
image = "Featured article star.svg", | |||
tooltip = "Featured article", | |||
link = true, | |||
}, | }, | ||
far = { | far = { | ||
image = "Cscr-star piece.png", | |||
tooltip = "Featured article review", | |||
link = true, | |||
}, | }, | ||
farc = { | farc = { | ||
image = "Cscr-star piece.png", | |||
tooltip = "Featured article removal candidate", | |||
link = true, | |||
}, | }, | ||
ffa = { | ffa = { | ||
aliases = {"dfa | aliases = {"dfa"}, | ||
image = " | image = "Featured article star - cross.svg", | ||
tooltip = " | tooltip = "Former featured article", | ||
link = true, | |||
}, | }, | ||
fac = { | fac = { | ||
aliases = {"fan | aliases = {"fan"}, | ||
image = " | image = "Cscr-candidate.svg", | ||
tooltip = " | tooltip = "Featured article candidate", | ||
link = true, | |||
}, | }, | ||
ffac = { | ffac = { | ||
aliases = {"nofa | aliases = {"nofa"}, | ||
image = " | image = "Featured article star - cross.svg", | ||
tooltip = " | tooltip = "Failed featured article candidate", | ||
link = true, | |||
}, | }, | ||
fl = { | fl = { | ||
image = "Featured article star.svg", | |||
tooltip = "Featured list", | |||
link = true, | |||
}, | }, | ||
flrc = { | flrc = { | ||
aliases = {"flr | aliases = {"flr"}, | ||
image = " | image = "Cscr-star piece.png", | ||
tooltip = " | tooltip = "Featured list removal candidate", | ||
link = true, | |||
}, | }, | ||
ffl = { | ffl = { | ||
aliases = {"dfl | aliases = {"dfl"}, | ||
image = " | image = "Cscr-featured-strike.svg", | ||
tooltip = " | tooltip = "Former featured list", | ||
link = true, | |||
}, | }, | ||
flc = { | flc = { | ||
aliases = {"fln | aliases = {"fln"}, | ||
image = " | image = "Cscr-candidate.svg", | ||
tooltip = " | tooltip = "Featured list candidate", | ||
link = true, | |||
}, | }, | ||
fflc = { | fflc = { | ||
aliases = {"nofl | aliases = {"nofl"}, | ||
image = " | image = "Cscr-former.svg", | ||
tooltip = " | tooltip = "Failed featured list candidate", | ||
link = true, | |||
}, | }, | ||
a = { | a = { | ||
image = "Symbol a class.svg", | image = "Symbol a class.svg", | ||
tooltip = " | tooltip = "A-Class article", | ||
link = true, | |||
}, | }, | ||
dac = { | dac = { | ||
aliases = {"daa"}, | aliases = {"daa"}, | ||
image = "Symbol unsupport A vote.svg", | image = "Symbol unsupport A vote.svg", | ||
tooltip = " | tooltip = "Demoted A-Class article", | ||
link = true, | |||
}, | }, | ||
acc = { | acc = { | ||
aliases = {"acn", "aac"}, | aliases = {"acn", "aac"}, | ||
image = "A candidate.svg", | image = "A candidate.svg", | ||
tooltip = " | tooltip = "A-Class article candidate", | ||
link = true, | |||
}, | }, | ||
noac = { | noac = { | ||
aliases = {"faac"}, | aliases = {"faac"}, | ||
image = "Symbol unsupport A vote.svg", | image = "Symbol unsupport A vote.svg", | ||
tooltip = " | tooltip = "Failed A-Class article candidate", | ||
link = true, | |||
}, | }, | ||
ga = { | ga = { | ||
image = "Symbol support vote.svg", | |||
tooltip = "Good article", | |||
link = false, | |||
}, | }, | ||
gar = { | gar = { | ||
image = "GA Candidate Neutral vote(ChaosNil).svg", | |||
tooltip = "Good article reassessment", | |||
link = false, | |||
}, | }, | ||
dga = { | dga = { | ||
image = "Symbol unsupport vote.svg", | |||
image = "Symbol unsupport | tooltip = "Delisted good article", | ||
tooltip = " | link = false, | ||
}, | }, | ||
gan = { | gan = { | ||
aliases = {"gac | aliases = {"gac"}, | ||
image = " | image = "GA candidate.svg", | ||
tooltip = " | tooltip = "Good article nominee", | ||
link = false, | |||
}, | }, | ||
ga2 = { | ga2 = { | ||
image = "Symbol | image = "Symbol neutral vote.svg", | ||
tooltip = " | tooltip = "Good article, 2nd opinion", | ||
link = false, | |||
}, | }, | ||
gah = { | gah = { | ||
image = "Symbol wait.svg", | image = "Symbol wait.svg", | ||
tooltip = " | tooltip = "Good article on hold", | ||
link = false, | |||
}, | }, | ||
fgan = { | fgan = { | ||
aliases = {"noga", "gaf", "gf"}, | aliases = {"noga", "gaf", "gf"}, | ||
image = "Symbol oppose vote.svg", | image = "Symbol oppose vote.svg", | ||
tooltip = " | tooltip = "Failed good article nominee", | ||
link = false, | |||
}, | }, | ||
fp = { | fp = { | ||
image = "Cscr-featured.svg", | |||
tooltip = "Featured picture", | |||
link = true, | |||
}, | }, | ||
fpc = { | fpc = { | ||
aliases = {"fpn"}, | aliases = {"fpn"}, | ||
image = " | image = "Cscr-candidate.svg", | ||
tooltip = " | tooltip = "Featured picture candidate", | ||
link = true, | |||
}, | }, | ||
ffp = { | ffp = { | ||
image = " | image = "Cscr-former.svg", | ||
tooltip = " | tooltip = "Former featured picture", | ||
link = true, | |||
}, | }, | ||
vp = { | vp = { | ||
image = "ENWP VP Logo.svg", | image = "ENWP VP Logo.svg", | ||
tooltip = " | tooltip = "Valued picture", | ||
link = true, | |||
}, | }, | ||
vpc = { | vpc = { | ||
image = "Valued pics 1.svg", | image = "Valued pics 1.svg", | ||
tooltip = " | tooltip = "Valued picture candidate", | ||
link = true, | |||
}, | }, | ||
fs = { | fs = { | ||
image = "Cscr-featured.svg", | image = "Cscr-featured.svg", | ||
tooltip = " | tooltip = "Featured sound", | ||
link = true, | |||
}, | }, | ||
ffs = { | ffs = { | ||
image = "Cscr-former.svg", | image = "Cscr-former.svg", | ||
tooltip = " | tooltip = "Former featured sound", | ||
link = true, | |||
}, | }, | ||
fsc = { | fsc = { | ||
image = "Cscr-candidate.svg", | image = "Cscr-candidate.svg", | ||
tooltip = " | tooltip = "Featured sound candidate", | ||
link = true, | |||
}, | }, | ||
fpo = { | fpo = { | ||
image = "Linecons big-star.svg", | |||
tooltip = "Before the featured portal process ceased in 2017, this had been designated as a featured portal.", | |||
link = true, | |||
}, | }, | ||
fpor = { | fpor = { | ||
image = "Cscr-star piece.png", | |||
tooltip = "Featured portal review", | |||
link = true, | |||
}, | }, | ||
ffpo = { | ffpo = { | ||
image = " | image = "Featured article star - cross.svg", | ||
tooltip = " | tooltip = "Former featured portal", | ||
link = true, | |||
}, | }, | ||
fpoc = { | fpoc = { | ||
image = "Cscr-candidate.svg", | |||
image = " | tooltip = "Featured portal candidate", | ||
tooltip = " | link = true, | ||
}, | }, | ||
ft = { | ft = { | ||
image = "Cscr-featuredtopic.svg", | |||
image = "Cscr-featuredtopic | tooltip = "Featured topic", | ||
tooltip = " | link = true, | ||
}, | }, | ||
ftrc = { | ftrc = { | ||
image = "Cscr-star piece.png", | |||
tooltip = "Featured topic removal candidate", | |||
link = true, | |||
}, | }, | ||
fft = { | fft = { | ||
aliases = {"dft"}, | aliases = {"dft"}, | ||
image = " | image = "DFT candidate_cluster.svg", | ||
tooltip = " | tooltip = "Former featured topic", | ||
link = true, | |||
}, | }, | ||
ftc = { | ftc = { | ||
aliases = {"ftn | aliases = {"ftn"}, | ||
image = " | image = "FT candidate cluster.svg", | ||
tooltip = " | tooltip = "Featured topic candidate", | ||
link = false, | |||
}, | }, | ||
gt = { | gt = { | ||
image = "Support cluster.svg", | |||
tooltip = "Good topic", | |||
link = false, | |||
}, | }, | ||
gtrc = { | gtrc = { | ||
image = "Symbol unsupport vote.svg", | |||
tooltip = "Good topic removal candidate", | |||
link = false, | |||
}, | }, | ||
gtc = { | gtc = { | ||
aliases = {"gtn | aliases = {"gtn"}, | ||
image = " | image = "GA candidate cluster.svg", | ||
tooltip = " | tooltip = "Good topic candidate", | ||
link = false, | |||
}, | }, | ||
bplus = { | bplus = { | ||
aliases = {"b+"}, | aliases = {"b+"}, | ||
image = "Symbol bplus class.svg", | image = "Symbol bplus class.svg", | ||
tooltip = " | tooltip = "Bplus-Class article", | ||
link = true, | |||
}, | }, | ||
b = { | b = { | ||
image = "Symbol b class.svg", | |||
image = "Symbol b class | tooltip = "B-Class article", | ||
tooltip = " | link = true, | ||
}, | }, | ||
br = { | br = { | ||
aliases = {"bcr"}, | aliases = {"bcr"}, | ||
image = "Bclass-checklist.svg", | image = "Bclass-checklist.svg", | ||
tooltip = " | tooltip = "B-Class review", | ||
link = true, | |||
}, | }, | ||
c = { | c = { | ||
image = "Symbol c class.svg", | |||
image = "Symbol c class | tooltip = "C-Class article", | ||
tooltip = " | link = true, | ||
}, | }, | ||
start = { | start = { | ||
image = "Symbol start class.svg", | image = "Symbol start class.svg", | ||
tooltip = " | tooltip = "Start-Class article", | ||
link = true, | |||
}, | }, | ||
stub = { | stub = { | ||
image = "Symbol stub class.svg", | image = "Symbol stub class.svg", | ||
tooltip = " | tooltip = "Stub-Class article", | ||
link = true, | |||
}, | }, | ||
list = { | list = { | ||
aliases = {"comparison | aliases = {"comparison"}, | ||
image = "Symbol list class.svg", | image = "Symbol list class.svg", | ||
tooltip = " | tooltip = "List-Class article", | ||
link = false, | |||
}, | }, | ||
no = { | no = { | ||
image = "Crystal button cancel.svg", | image = "Crystal button cancel.svg", | ||
tooltip = " | tooltip = "Unknown-Class article", | ||
link = true, | |||
}, | }, | ||
book = { | book = { | ||
image = "Symbol book class2.svg", | |||
tooltip = "imamatpedia book", | |||
link = true, | |||
}, | }, | ||
category = { | category = { | ||
aliases = {"cat", "categ | aliases = {"cat", "categ"}, | ||
image = "Symbol category class.svg", | image = "Symbol category class.svg", | ||
tooltip = " | tooltip = "Category", | ||
link = false, | |||
}, | }, | ||
disambiguation = { | disambiguation = { | ||
aliases = {"dab", "disamb", "disambig | aliases = {"dab", "disamb", "disambig"}, | ||
image = "Symbol dab class.svg", | image = "Symbol dab class.svg", | ||
tooltip = " | tooltip = "Disambiguation page", | ||
link = true, | |||
}, | }, | ||
image = { | image = { | ||
aliases = {"file", " | aliases = {"file"}, | ||
image = " | image = "Symbol file class.svg", | ||
tooltip = " | tooltip = "File", | ||
link = true, | |||
}, | |||
needed = { | |||
image = "Symbol needed class.svg", | |||
tooltip = "Needed article", | |||
link = false, | |||
}, | }, | ||
outline = { | outline = { | ||
image = "Global thinking.svg", | image = "Global thinking.svg", | ||
tooltip = " | tooltip = "Outline", | ||
link = false, | |||
}, | }, | ||
portal = { | |||
image = "Symbol portal class.svg", | |||
tooltip = "Portal", | |||
link = true, | |||
}, | }, | ||
project = { | project = { | ||
image = "Symbol project class.svg", | |||
image = "Symbol | tooltip = "Project page", | ||
tooltip = " | link = false, | ||
}, | }, | ||
redirect = { | redirect = { | ||
aliases = {"red", "redir | aliases = {"red", "redir"}, | ||
image = "Symbol redirect vote2.svg", | image = "Symbol redirect vote2.svg", | ||
tooltip = " | tooltip = "Redirect", | ||
link = true, | |||
}, | }, | ||
template = { | template = { | ||
aliases = {"temp", "templ | aliases = {"temp", "templ"}, | ||
image = "Symbol template class.svg", | image = "Symbol template class.svg", | ||
tooltip = " | tooltip = "Template", | ||
link = false, | |||
}, | }, | ||
essay = { | essay = { | ||
image = "Essay.svg", | image = "Essay.svg", | ||
tooltip = " | tooltip = "Essay", | ||
link = false, | |||
}, | }, | ||
na = { | na = { | ||
image = "Symbol na class.svg", | |||
image = "Symbol | tooltip = "Non-article page", | ||
tooltip = " | link = true, | ||
}, | }, | ||
aa = { | aa = { | ||
image = "Yes check.svg", | image = "Yes check.svg", | ||
tooltip = " | tooltip = "Audited article of limited subject matter", | ||
link = false, | |||
}, | }, | ||
da = { | da = { | ||
image = "Symbol oppose vote.svg", | image = "Symbol oppose vote.svg", | ||
tooltip = " | tooltip = "Demoted article", | ||
link = false, | |||
}, | }, | ||
dyk = { | dyk = { | ||
image = "Symbol question.svg", | |||
tooltip = "Did You Know?", | |||
link = false, | |||
}, | }, | ||
dyk2 = { | dyk2 = { | ||
image = "DYK questionmark icon.svg", | |||
image = "DYK questionmark icon | tooltip = "Did You Know?", | ||
tooltip = " | link = false, | ||
}, | }, | ||
pr = { | pr = { | ||
image = "Nuvola apps kedit.png", | image = "Nuvola apps kedit.png", | ||
tooltip = " | tooltip = "Peer review", | ||
link = true, | |||
}, | }, | ||
ppr = { | ppr = { | ||
image = "Nuvola apps kedit.png", | image = "Nuvola apps kedit.png", | ||
tooltip = " | tooltip = "Portal peer review", | ||
link = true, | |||
}, | }, | ||
q = { | q = { | ||
aliases = {"question", " | aliases = {"question"}, | ||
image = " | image = "Symbol question.svg", | ||
tooltip = " | tooltip = "Question", | ||
link = false, | |||
}, | |||
cleanup = { | |||
image = "Edit-clear.svg", | |||
tooltip = "Cleanup work", | |||
link = false, | |||
}, | }, | ||
qi = { | qi = { | ||
image = "Quality images logo.svg", | image = "Quality images logo.svg", | ||
tooltip = " | tooltip = "Quality image on Wikimedia Commons", | ||
link = false, | |||
}, | }, | ||
vi = { | vi = { | ||
image = "Valued image seal.svg", | image = "Valued image seal.svg", | ||
tooltip = " | tooltip = "Valued image on Wikimedia Commons", | ||
link = false, | |||
}, | }, | ||
tfa = { | tfa = { | ||
image = " | image = "imamatpedia-logo.svg", | ||
tooltip = " | tooltip = "Today's Featured Article", | ||
link = true, | |||
}, | }, | ||
tfl = { | tfl = { | ||
image = " | image = "imamatpedia-logo.svg", | ||
tooltip = " | tooltip = "Today's Featured List", | ||
link = true, | |||
}, | }, | ||
itn = { | itn = { | ||
image = "Globe current.svg", | image = "Globe current.svg", | ||
tooltip = " | tooltip = "In The News", | ||
link = true, | |||
}, | }, | ||
otd = { | otd = { | ||
image = "Nuvola apps date.svg", | image = "Nuvola apps date.svg", | ||
tooltip = " | tooltip = "On This Day", | ||
link = true, | |||
}, | }, | ||
wikiproject = { | wikiproject = { | ||
image = "People icon.svg", | image = "People icon.svg", | ||
tooltip = " | tooltip = "WikiProject", | ||
link = false, | |||
}, | |||
goce = { | |||
image = "Writing Magnifying.PNG", | |||
tooltip = "Guild of Copy Editors", | |||
link = true, | |||
}, | }, | ||
imamatpedia = { | |||
image = "imamatpedia-logo.svg", | |||
image = " | tooltip = "imamatpedia page", | ||
tooltip = " | link = true, | ||
}, | }, | ||
commons = { | commons = { | ||
image = "Commons-logo.svg", | image = "Commons-logo.svg", | ||
tooltip = " | tooltip = "Commons page", | ||
link = false, | |||
}, | }, | ||
wikiquote = { | wikiquote = { | ||
image = "Wikiquote-logo.svg", | image = "Wikiquote-logo.svg", | ||
tooltip = " | tooltip = "Wikiquote page", | ||
link = false, | |||
}, | }, | ||
wikiversity = { | wikiversity = { | ||
image = "Wikiversity logo 2017.svg", | image = "Wikiversity logo 2017.svg", | ||
tooltip = " | tooltip = "Wikiversity page", | ||
link = true, | |||
}, | }, | ||
wikibooks = { | wikibooks = { | ||
image = "Wikibooks-logo.svg", | image = "Wikibooks-logo.svg", | ||
tooltip = " | tooltip = "Wikibooks page", | ||
link = true, | |||
}, | }, | ||
wikisource = { | wikisource = { | ||
image = "Wikisource-logo.svg", | image = "Wikisource-logo.svg", | ||
tooltip = " | tooltip = "Wikisource page", | ||
link = true, | |||
}, | }, | ||
wiktionary = { | wiktionary = { | ||
image = "Wiktionary-logo.svg", | image = "Wiktionary-logo.svg", | ||
tooltip = " | tooltip = "Wiktionary page", | ||
link = true, | |||
}, | }, | ||
wikinews = { | wikinews = { | ||
image = "Wikinews-logo.svg", | image = "Wikinews-logo.svg", | ||
tooltip = " | tooltip = "Wikinews page", | ||
link = true, | |||
}, | }, | ||
wikispecies = { | wikispecies = { | ||
image = "Wikispecies-logo.svg", | image = "Wikispecies-logo.svg", | ||
tooltip = " | tooltip = "Wikispecies page", | ||
link = true, | |||
}, | }, | ||
wikidata = { | wikidata = { | ||
image = "Wikidata-logo.svg", | image = "Wikidata-logo.svg", | ||
tooltip = " | tooltip = "Wikidata page", | ||
link = false, | |||
}, | }, | ||
wikivoyage = { | wikivoyage = { | ||
image = "Wikivoyage-logo.svg", | image = "Wikivoyage-logo.svg", | ||
tooltip = " | tooltip = "Wikivoyage page", | ||
link = true, | |||
}, | }, | ||
meta = { | meta = { | ||
image = "Wikimedia Community Logo.svg", | image = "Wikimedia Community Logo.svg", | ||
tooltip = " | tooltip = "Meta-wiki page", | ||
link = false, | |||
}, | }, | ||
four = { | four = { | ||
image = "Four Award.svg", | |||
tooltip = "Four Award", | |||
link = false, | |||
}, | }, | ||
million = { | million = { | ||
image = "Million award logo.svg", | image = "Million award logo.svg", | ||
tooltip = " | tooltip = "Million Award", | ||
link = true, | |||
}, | }, | ||
module = { | module = { | ||
image = "Lua-logo-nolabel.svg", | image = "Lua-logo-nolabel.svg", | ||
tooltip = " | tooltip = "Module", | ||
link = false, | |||
}, | }, | ||
vital = { | vital = { | ||
image = "Círculos_Concéntricos.svg", | image = "Círculos_Concéntricos.svg", | ||
tooltip = " | tooltip = "Vital article", | ||
link = false, | |||
}, | }, | ||
_DEFAULT = { | _DEFAULT = { | ||
image = " | image = "Symbol question.svg", | ||
link = false, | |||
} | } | ||
} | } | ||
خط ۴۵۲: | خط ۵۰۶: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- Make aliases work the same as normal keys, and remove the "aliases" subtables. | -- Make aliases work the same as normal keys, and remove the "aliases" subtables. | ||
local | local ret= {} | ||
for | for code, iconData in pairs(data) do | ||
if | iconData.canonicalCode = code | ||
for | if iconData.aliases then | ||
for _, alias in ipairs(iconData.aliases) do | |||
ret[alias] = iconData | |||
end | end | ||
iconData.aliases = nil | |||
end | end | ||
ret[code] = iconData | |||
end | end | ||
return | return ret |
نسخهٔ ۹ دسامبر ۲۰۲۱، ساعت ۲۰:۱۱
توضیحات این پودمان میتواند در پودمان:Icon/data/توضیحات قرار گیرد.
-- This module stores icon data for [[Module:Icon]].
--------------------------------------------------------------------------------
-- Icon data
--------------------------------------------------------------------------------
local data = {
fa = {
image = "Featured article star.svg",
tooltip = "Featured article",
link = true,
},
far = {
image = "Cscr-star piece.png",
tooltip = "Featured article review",
link = true,
},
farc = {
image = "Cscr-star piece.png",
tooltip = "Featured article removal candidate",
link = true,
},
ffa = {
aliases = {"dfa"},
image = "Featured article star - cross.svg",
tooltip = "Former featured article",
link = true,
},
fac = {
aliases = {"fan"},
image = "Cscr-candidate.svg",
tooltip = "Featured article candidate",
link = true,
},
ffac = {
aliases = {"nofa"},
image = "Featured article star - cross.svg",
tooltip = "Failed featured article candidate",
link = true,
},
fl = {
image = "Featured article star.svg",
tooltip = "Featured list",
link = true,
},
flrc = {
aliases = {"flr"},
image = "Cscr-star piece.png",
tooltip = "Featured list removal candidate",
link = true,
},
ffl = {
aliases = {"dfl"},
image = "Cscr-featured-strike.svg",
tooltip = "Former featured list",
link = true,
},
flc = {
aliases = {"fln"},
image = "Cscr-candidate.svg",
tooltip = "Featured list candidate",
link = true,
},
fflc = {
aliases = {"nofl"},
image = "Cscr-former.svg",
tooltip = "Failed featured list candidate",
link = true,
},
a = {
image = "Symbol a class.svg",
tooltip = "A-Class article",
link = true,
},
dac = {
aliases = {"daa"},
image = "Symbol unsupport A vote.svg",
tooltip = "Demoted A-Class article",
link = true,
},
acc = {
aliases = {"acn", "aac"},
image = "A candidate.svg",
tooltip = "A-Class article candidate",
link = true,
},
noac = {
aliases = {"faac"},
image = "Symbol unsupport A vote.svg",
tooltip = "Failed A-Class article candidate",
link = true,
},
ga = {
image = "Symbol support vote.svg",
tooltip = "Good article",
link = false,
},
gar = {
image = "GA Candidate Neutral vote(ChaosNil).svg",
tooltip = "Good article reassessment",
link = false,
},
dga = {
image = "Symbol unsupport vote.svg",
tooltip = "Delisted good article",
link = false,
},
gan = {
aliases = {"gac"},
image = "GA candidate.svg",
tooltip = "Good article nominee",
link = false,
},
ga2 = {
image = "Symbol neutral vote.svg",
tooltip = "Good article, 2nd opinion",
link = false,
},
gah = {
image = "Symbol wait.svg",
tooltip = "Good article on hold",
link = false,
},
fgan = {
aliases = {"noga", "gaf", "gf"},
image = "Symbol oppose vote.svg",
tooltip = "Failed good article nominee",
link = false,
},
fp = {
image = "Cscr-featured.svg",
tooltip = "Featured picture",
link = true,
},
fpc = {
aliases = {"fpn"},
image = "Cscr-candidate.svg",
tooltip = "Featured picture candidate",
link = true,
},
ffp = {
image = "Cscr-former.svg",
tooltip = "Former featured picture",
link = true,
},
vp = {
image = "ENWP VP Logo.svg",
tooltip = "Valued picture",
link = true,
},
vpc = {
image = "Valued pics 1.svg",
tooltip = "Valued picture candidate",
link = true,
},
fs = {
image = "Cscr-featured.svg",
tooltip = "Featured sound",
link = true,
},
ffs = {
image = "Cscr-former.svg",
tooltip = "Former featured sound",
link = true,
},
fsc = {
image = "Cscr-candidate.svg",
tooltip = "Featured sound candidate",
link = true,
},
fpo = {
image = "Linecons big-star.svg",
tooltip = "Before the featured portal process ceased in 2017, this had been designated as a featured portal.",
link = true,
},
fpor = {
image = "Cscr-star piece.png",
tooltip = "Featured portal review",
link = true,
},
ffpo = {
image = "Featured article star - cross.svg",
tooltip = "Former featured portal",
link = true,
},
fpoc = {
image = "Cscr-candidate.svg",
tooltip = "Featured portal candidate",
link = true,
},
ft = {
image = "Cscr-featuredtopic.svg",
tooltip = "Featured topic",
link = true,
},
ftrc = {
image = "Cscr-star piece.png",
tooltip = "Featured topic removal candidate",
link = true,
},
fft = {
aliases = {"dft"},
image = "DFT candidate_cluster.svg",
tooltip = "Former featured topic",
link = true,
},
ftc = {
aliases = {"ftn"},
image = "FT candidate cluster.svg",
tooltip = "Featured topic candidate",
link = false,
},
gt = {
image = "Support cluster.svg",
tooltip = "Good topic",
link = false,
},
gtrc = {
image = "Symbol unsupport vote.svg",
tooltip = "Good topic removal candidate",
link = false,
},
gtc = {
aliases = {"gtn"},
image = "GA candidate cluster.svg",
tooltip = "Good topic candidate",
link = false,
},
bplus = {
aliases = {"b+"},
image = "Symbol bplus class.svg",
tooltip = "Bplus-Class article",
link = true,
},
b = {
image = "Symbol b class.svg",
tooltip = "B-Class article",
link = true,
},
br = {
aliases = {"bcr"},
image = "Bclass-checklist.svg",
tooltip = "B-Class review",
link = true,
},
c = {
image = "Symbol c class.svg",
tooltip = "C-Class article",
link = true,
},
start = {
image = "Symbol start class.svg",
tooltip = "Start-Class article",
link = true,
},
stub = {
image = "Symbol stub class.svg",
tooltip = "Stub-Class article",
link = true,
},
list = {
aliases = {"comparison"},
image = "Symbol list class.svg",
tooltip = "List-Class article",
link = false,
},
no = {
image = "Crystal button cancel.svg",
tooltip = "Unknown-Class article",
link = true,
},
book = {
image = "Symbol book class2.svg",
tooltip = "imamatpedia book",
link = true,
},
category = {
aliases = {"cat", "categ"},
image = "Symbol category class.svg",
tooltip = "Category",
link = false,
},
disambiguation = {
aliases = {"dab", "disamb", "disambig"},
image = "Symbol dab class.svg",
tooltip = "Disambiguation page",
link = true,
},
image = {
aliases = {"file"},
image = "Symbol file class.svg",
tooltip = "File",
link = true,
},
needed = {
image = "Symbol needed class.svg",
tooltip = "Needed article",
link = false,
},
outline = {
image = "Global thinking.svg",
tooltip = "Outline",
link = false,
},
portal = {
image = "Symbol portal class.svg",
tooltip = "Portal",
link = true,
},
project = {
image = "Symbol project class.svg",
tooltip = "Project page",
link = false,
},
redirect = {
aliases = {"red", "redir"},
image = "Symbol redirect vote2.svg",
tooltip = "Redirect",
link = true,
},
template = {
aliases = {"temp", "templ"},
image = "Symbol template class.svg",
tooltip = "Template",
link = false,
},
essay = {
image = "Essay.svg",
tooltip = "Essay",
link = false,
},
na = {
image = "Symbol na class.svg",
tooltip = "Non-article page",
link = true,
},
aa = {
image = "Yes check.svg",
tooltip = "Audited article of limited subject matter",
link = false,
},
da = {
image = "Symbol oppose vote.svg",
tooltip = "Demoted article",
link = false,
},
dyk = {
image = "Symbol question.svg",
tooltip = "Did You Know?",
link = false,
},
dyk2 = {
image = "DYK questionmark icon.svg",
tooltip = "Did You Know?",
link = false,
},
pr = {
image = "Nuvola apps kedit.png",
tooltip = "Peer review",
link = true,
},
ppr = {
image = "Nuvola apps kedit.png",
tooltip = "Portal peer review",
link = true,
},
q = {
aliases = {"question"},
image = "Symbol question.svg",
tooltip = "Question",
link = false,
},
cleanup = {
image = "Edit-clear.svg",
tooltip = "Cleanup work",
link = false,
},
qi = {
image = "Quality images logo.svg",
tooltip = "Quality image on Wikimedia Commons",
link = false,
},
vi = {
image = "Valued image seal.svg",
tooltip = "Valued image on Wikimedia Commons",
link = false,
},
tfa = {
image = "imamatpedia-logo.svg",
tooltip = "Today's Featured Article",
link = true,
},
tfl = {
image = "imamatpedia-logo.svg",
tooltip = "Today's Featured List",
link = true,
},
itn = {
image = "Globe current.svg",
tooltip = "In The News",
link = true,
},
otd = {
image = "Nuvola apps date.svg",
tooltip = "On This Day",
link = true,
},
wikiproject = {
image = "People icon.svg",
tooltip = "WikiProject",
link = false,
},
goce = {
image = "Writing Magnifying.PNG",
tooltip = "Guild of Copy Editors",
link = true,
},
imamatpedia = {
image = "imamatpedia-logo.svg",
tooltip = "imamatpedia page",
link = true,
},
commons = {
image = "Commons-logo.svg",
tooltip = "Commons page",
link = false,
},
wikiquote = {
image = "Wikiquote-logo.svg",
tooltip = "Wikiquote page",
link = false,
},
wikiversity = {
image = "Wikiversity logo 2017.svg",
tooltip = "Wikiversity page",
link = true,
},
wikibooks = {
image = "Wikibooks-logo.svg",
tooltip = "Wikibooks page",
link = true,
},
wikisource = {
image = "Wikisource-logo.svg",
tooltip = "Wikisource page",
link = true,
},
wiktionary = {
image = "Wiktionary-logo.svg",
tooltip = "Wiktionary page",
link = true,
},
wikinews = {
image = "Wikinews-logo.svg",
tooltip = "Wikinews page",
link = true,
},
wikispecies = {
image = "Wikispecies-logo.svg",
tooltip = "Wikispecies page",
link = true,
},
wikidata = {
image = "Wikidata-logo.svg",
tooltip = "Wikidata page",
link = false,
},
wikivoyage = {
image = "Wikivoyage-logo.svg",
tooltip = "Wikivoyage page",
link = true,
},
meta = {
image = "Wikimedia Community Logo.svg",
tooltip = "Meta-wiki page",
link = false,
},
four = {
image = "Four Award.svg",
tooltip = "Four Award",
link = false,
},
million = {
image = "Million award logo.svg",
tooltip = "Million Award",
link = true,
},
module = {
image = "Lua-logo-nolabel.svg",
tooltip = "Module",
link = false,
},
vital = {
image = "Círculos_Concéntricos.svg",
tooltip = "Vital article",
link = false,
},
_DEFAULT = {
image = "Symbol question.svg",
link = false,
}
}
--------------------------------------------------------------------------------
-- End icon data
--------------------------------------------------------------------------------
-- Make aliases work the same as normal keys, and remove the "aliases" subtables.
local ret= {}
for code, iconData in pairs(data) do
iconData.canonicalCode = code
if iconData.aliases then
for _, alias in ipairs(iconData.aliases) do
ret[alias] = iconData
end
iconData.aliases = nil
end
ret[code] = iconData
end
return ret