Module:IPA/data

< Module:IPA
Revision as of 22:02, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This data module lists language codes and their associated IPA help pages. It is used by Module:IPA to generate links.


local IPApages = {
	["acw"] = "Help:IPA/Hejazi Arabic",
	["aeb"] = "Help:IPA/Tunisian Arabic",
	["af"] = "Help:IPA/Afrikaans",
	["am"] = "Help:IPA/Amharic",
	["ang"] = "Help:IPA/Old English",
	["ar"] = "Help:IPA/Arabic",
	["as"] = "Help:IPA/Assamese",
	["arc"] = "Help:IPA/Aramaic",
	["arz"] = "Help:IPA/Egyptian Arabic",
	["ast"] = "Help:IPA/Astur-Leonese",
	["be"] = "Help:IPA/Belarusian",
	["ber"] = "Help:IPA/Berber",
	["bg"] = "Help:IPA/Bulgarian and Macedonian",
	["bn"] = "Help:IPA/Bengali",
	["bo"] = "Help:IPA/Tibetan",
	["br"] = "Help:IPA/Breton",
	["ca"] = "Help:IPA/Catalan",
	["co"] = "Help:IPA/Corsican",
	["cmn"] = "Help:IPA/Mandarin",
	["cs"] = "Help:IPA/Czech",
	["cy"] = "Help:IPA/Welsh",
	["de"] = "Help:IPA/German",
	["el"] = "Help:IPA/Greek",
	["en"] = "Help:IPA/English",
	["es"] = "Help:IPA/Spanish",
	["eo"] = "Help:IPA/Esperanto",
	["eu"] = "Help:IPA/Basque",
	["da"] = "Help:IPA/Danish",
	["fa"] = "Help:IPA/Persian",
	["fi"] = "Help:IPA/Estonian and Finnish",
	["fj"] = "Help:IPA/Fijian",
	["fr"] = "Help:IPA/French",
	["frp"] = "Help:IPA/Franco-Provençal",
	["fy"] = "Help:IPA/West Frisian",
	["ga"] = "Help:IPA/Irish",
	["gd"] = "Help:IPA/Scottish Gaelic",
	["gl"] = "Help:IPA/Galician",
	["gsw"] = "Help:IPA/Alemannic German",
	["gu"] = "Help:IPA/Gujarati",
	["gug"] = "Help:IPA/Guarani",
	["gv"] = "Help:IPA/Manx",
	["haw"] = "Help:IPA/Hawaiian",
	["hbs"] = "Help:IPA/Serbo-Croatian",
	["heb"] = "Help:IPA/Hebrew",
	["hi"] = "Help:IPA/Hindi and Urdu",
	["ht"] = "Help:IPA/Haitian Creole",
	["hu"] = "Help:IPA/Hungarian",
	["hy"] = "Help:IPA/Armenian",
	["is"] = "Help:IPA/Icelandic",
	["it"] = "Help:IPA/Italian",
	["iu"] = "Help:IPA/Inuktitut",
	["ja"] = "Help:IPA/Japanese",
	["ka"] = "Help:IPA/Georgian",
	["kk"] = "Help:IPA/Kazakh",
	["km"] = "Help:IPA/Khmer",
	["ko"] = "Help:IPA/Korean",
	["ks"] = "Help:IPA/Kashmiri",
	["ksh"] = "Help:IPA/Colognian",
	["ku"] = "Help:IPA/Kurdish",
	["la"] = "Help:IPA/Latin",
	["lad"] = "Help:IPA/Judaeo-Spanish",
	["lb"] = "Help:IPA/Luxembourgish",
	["lou"] = "Help:IPA/Kouri-Vini",
	["lv"] = "Help:IPA/Latvian",
	["lt"] = "Help:IPA/Lithuanian",
	["lzz"] = "Help:IPA/Laz",
	["mg"] = "Help:IPA/Malagasy",
	["mh"] = "Help:IPA/Marshallese",
	["mi"] = "Help:IPA/Māori",
	["ml"] = "Help:IPA/Malayalam",
	["mn"] = "Help:IPA/Mongolian",
	["mnc"] = "Help:IPA/Manchu",
	["ms"] = "Help:IPA/Malay",
	["mt"] = "Help:IPA/Maltese",
	["my"] = "Help:IPA/Burmese",
	-- nan is the language code for Southern Min, the group to which Taiwanese belongs
	["nan"] = "Help:IPA/Taiwanese Hokkien",
	["nap"] = "Help:IPA/Neapolitan",
	["nci"] = "Help:IPA/Nahuatl",
	["nl"] = "Help:IPA/Dutch",
	["nv"] = "Help:IPA/Navajo",
	["nod"] = "Help:IPA/Northern Thai",
	["no"] = "Help:IPA/Norwegian",
	["oc"] = "Help:IPA/Occitan",
	["om"] = "Help:IPA/Oromo",
	["or"] = "Help:IPA/Odia",
	["os"] = "Help:IPA/Ossetic",
	["pa"] = "Help:IPA/Punjabi",
	["pl"] = "Help:IPA/Polish",
	["pt"] = "Help:IPA/Portuguese",
	["qu"] = "Help:IPA/Quechua",
	["rm"] = "Help:IPA/Romansh",
	["ro"] = "Help:IPA/Romanian",
	["ru"] = "Help:IPA/Russian",
	["sa"] = "Help:IPA/Sanskrit",
	["sk"] = "Help:IPA/Slovak",
	["sl"] = "Help:IPA/Slovene",
	["sq"] = "Help:IPA/Albanian",
	["stq"] = "Help:IPA/Saterland Frisian",
	["sv"] = "Help:IPA/Swedish",
	["sva"] = "Help:IPA/Svan",
	["ta"] = "Help:IPA/Tamil",
	["th"] = "Help:IPA/Thai and Lao",
	["ti"] = "Help:IPA/Tigrinya",
	["tl"] = "Help:IPA/Tagalog",
	["tlh"] = "Help:IPA/Klingon",
	["tr"] = "Help:IPA/Turkic dialects",
	["uk"] = "Help:IPA/Ukrainian",
	["vec"] = "Help:IPA/Venetian",
	["vi"] = "Help:IPA/Vietnamese",
	["wa"] = "Help:IPA/Walloon",
	["wad"] = "Help:IPA/Wandamen",
	["xmf"] = "Help:IPA/Mingrelian",
	["xh"] = "Help:IPA/Nguni",
	["yi"] = "Help:IPA/Yiddish",
	["yue"] = "Help:IPA/Cantonese", -- Wikipedia-specific code
--[[
	[""] = "",
]]
}
-- Mayan and the Australian languages are not included

-- For pages that describe multiple languages
IPApages["az"] = IPApages["tr"]
IPApages["at"] = IPApages["tr"]
IPApages["ext"] = IPApages["ast"]
IPApages["et"] = IPApages["fi"]
IPApages["gag"] = IPApages["tr"]
IPApages["grc"] = IPApages["el"]
IPApages["lo"] = IPApages["th"]
IPApages["mk"] = IPApages["bg"]
IPApages["mwl"] = IPApages["ast"]
IPApages["prs"] = IPApages["fa"]
IPApages["tgk"] = IPApages["fa"]
IPApages["tk"] = IPApages["tr"]
IPApages["ur"] = IPApages["hi"]
IPApages["swg"] = IPApages["gsw"]
IPApages["wae"] = IPApages["gsw"]
IPApages["zu"] = IPApages["xh"]
IPApages["ss"] = IPApages["xh"]
--[[
IPApages[""] = IPApages[""]
]]


-- For pages that describe groups of languages
IPApages["aln"] = IPApages["sq"]
IPApages["als"] = IPApages["sq"]
IPApages["bos"] = IPApages["hbs"]
IPApages["ckb"] = IPApages["ku"]
IPApages["cnu"] = IPApages["ber"]
IPApages["hrv"] = IPApages["hbs"]
IPApages["ind"] = IPApages["ms"]
IPApages["kab"] = IPApages["ber"]
IPApages["kjv"] = IPApages["hbs"]
IPApages["kmr"] = IPApages["ku"]
IPApages["jbn"] = IPApages["ber"]
IPApages["rif"] = IPApages["ber"]
IPApages["sdh"] = IPApages["ku"]
IPApages["shi"] = IPApages["ber"]
IPApages["shy"] = IPApages["ber"]
IPApages["srp"] = IPApages["hbs"]
IPApages["svm"] = IPApages["hbs"]
IPApages["taq"] = IPApages["ber"]
IPApages["thv"] = IPApages["ber"]
IPApages["thz"] = IPApages["ber"]
IPApages["tmh"] = IPApages["ber"]
IPApages["ttq"] = IPApages["ber"]
IPApages["tzm"] = IPApages["ber"]
IPApages["zen"] = IPApages["ber"]
IPApages["zlm"] = IPApages["ms"]
IPApages["zsm"] = IPApages["ms"]

-- For aliases of symbols in the main list or other lists
IPApages["afr"] = IPApages["af"]
IPApages["amh"] = IPApages["am"]
IPApages["ango"] = IPApages["ang"]
IPApages["ara"] = IPApages["ar"]
IPApages["asm"] = IPApages["as"]
IPApages["bel"] = IPApages["be"]
IPApages["ben"] = IPApages["bn"]
IPApages["bod"] = IPApages["bo"]
IPApages["bre"] = IPApages["br"]
IPApages["bul"] = IPApages["bg"]
IPApages["cat"] = IPApages["ca"]
IPApages["ces"] = IPApages["cs"]
IPApages["cos"] = IPApages["co"]
IPApages["cym"] = IPApages["cy"]
IPApages["dan"] = IPApages["da"]
IPApages["deu"] = IPApages["de"] -- The language code for German languages in general; there is no code for Standard German
IPApages["eng"] = IPApages["en"]
IPApages["epo"] = IPApages["eo"]
IPApages["est"] = IPApages["fi"]
IPApages["eus"] = IPApages["eu"]
IPApages["fij"] = IPApages["fj"]
IPApages["fin"] = IPApages["fi"]
IPApages["fra"] = IPApages["fr"]
IPApages["fry"] = IPApages["fy"]
IPApages["gla"] = IPApages["gd"]
IPApages["gle"] = IPApages["ga"]
IPApages["glg"] = IPApages["gl"]
IPApages["glv"] = IPApages["gv"]
IPApages["guj"] = IPApages["gu"]
IPApages["hat"] = IPApages["ht"]
IPApages["sh"] = IPApages["hbs"]
IPApages["hin"] = IPApages["hi"]
IPApages["hun"] = IPApages["hu"]
IPApages["hye"] = IPApages["hy"]
IPApages["ike"] = IPApages["iu"]
IPApages["isl"] = IPApages["is"]
IPApages["ita"] = IPApages["it"]
IPApages["jpn"] = IPApages["ja"]
IPApages["kat"] = IPApages["ka"]
IPApages["kas"] = IPApages["ks"]
IPApages["kaz"] = IPApages["kk"]
IPApages["khk"] = IPApages["mn"]
IPApages["khm"] = IPApages["km"]
IPApages["kor"] = IPApages["ko"]
IPApages["kur"] = IPApages["ku"]
IPApages["lao"] = IPApages["th"]
IPApages["lat"] = IPApages["la"]
IPApages["lav"] = IPApages["lv"]
IPApages["lit"] = IPApages["lt"]
IPApages["ltz"] = IPApages["lb"]
IPApages["mal"] = IPApages["ml"]
IPApages["mkd"] = IPApages["bg"]
IPApages["mlg"] = IPApages["mg"]
IPApages["mlt"] = IPApages["mt"]
IPApages["mon"] = IPApages["mn"]
IPApages["msa"] = IPApages["ms"]
IPApages["mri"] = IPApages["mi"]
IPApages["mya"] = IPApages["my"]
IPApages["nav"] = IPApages["nv"]
IPApages["nld"] = IPApages["nl"]
IPApages["nor"] = IPApages["no"]
IPApages["pan"] = IPApages["pa"]
IPApages["oci"] = IPApages["oc"]
IPApages["ori"] = IPApages["or"]
IPApages["orm"] = IPApages["om"]
IPApages["oss"] = IPApages["os"]
IPApages["pol"] = IPApages["pl"]
IPApages["por"] = IPApages["pt"]
IPApages["que"] = IPApages["qu"]
IPApages["ron"] = IPApages["ro"]
IPApages["roh"] = IPApages["rm"]
IPApages["rus"] = IPApages["ru"]
IPApages["san"] = IPApages["sa"]
IPApages["sdc"] = IPApages["co"]
IPApages["sdn"] = IPApages["co"]
IPApages["slk"] = IPApages["sk"]
IPApages["slv"] = IPApages["sl"]
IPApages["spa"] = IPApages["es"]
IPApages["sqi"] = IPApages["sq"]
IPApages["ssw"] = IPApages["xh"]
IPApages["swe"] = IPApages["sv"]
IPApages["syc"] = IPApages["arc"]
IPApages["tam"] = IPApages["ta"]
IPApages["tha"] = IPApages["th"]
IPApages["tir"] = IPApages["ti"]
IPApages["tgl"] = IPApages["tl"]
IPApages["tts"] = IPApages["th"]
IPApages["ukr"] = IPApages["uk"]
IPApages["urd"] = IPApages["hi"]
IPApages["vie"] = IPApages["vi"]
IPApages["wln"] = IPApages["wa"]
IPApages["xho"] = IPApages["xh"]
IPApages["yid"] = IPApages["yi"]
IPApages["zul"] = IPApages["xh"]
--[[

IPApages[""] = IPApages[""]

]]

return IPApages