Module:IPA/data
Appearance
![]() | This Lua module is used on approximately 150,000 pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This data module stores labels, language codes, and their associated IPA keys used by Module:IPA and Module:IPA/category documentation.
Schema for languages
- (code)
- ISO 639 code.
- name
- Name of the language. Filled in by Module:Lang if missing.
- text
- Replaces the language name in canned labels without affecting the link.
- link
- Name of the article about the language. Filled in by
name
+ " language" (or justname
if it ends in " languages") if missing, or by Module:Lang ifname
is also missing. - key
- Page name of the key.
- dialects
-
- (code)
- IETF subtag. Must be in all caps unless it is a private tag starting with
x-
. - name, text, link, key
- Override the above.
- isVariant
true
if the subtag is an IANA variant. This makes the subtag lowercase.- aliasOf
- Key for another entry in the same table of dialects.
Lua error in Module:IPA/data/export at line 24: bad argument #1 to 'pairs' (table expected, got nil).
local IPApages = {
["acw"] = "Help:IPA for Hejazi Arabic",
["aeb"] = "Help:IPA for Tunisian Arabic",
["af"] = "Help:IPA for Afrikaans",
["ang"] = "Help:IPA for Old English",
["ar"] = "Help:IPA for Arabic",
["as"] = "Help:IPA for Assamese",
["arc"] = "Help:IPA for Aramaic",
["arz"] = "Help:IPA for Egyptian Arabic",
["ast"] = "Help:IPA for Astur-Leonese",
["be"] = "Help:IPA for Belarusian",
["ber"] = "Help:IPA for Berber",
["bg"] = "Help:IPA for Bulgarian and Macedonian",
["bn"] = "Help:IPA for Bengali",
["br"] = "Help:IPA for Breton",
["ca"] = "Help:IPA for Catalan",
["co"] = "Help:IPA for Corsican",
["cs"] = "Help:IPA for Czech",
["en"] = "Help:IPA for English",
["eo"] = "Help:IPA for Esperanto",
["eu"] = "Help:IPA for Basque",
["da"] = "Help:IPA for Danish",
["fa"] = "Help:IPA for Persian",
["fi"] = "Help:IPA for Estonian and Finnish",
["fr"] = "Help:IPA for French",
["hy"] = "Help:IPA for Armenian",
["ksh"] = "Help:IPA for Colognian",
["my"] = "Help:IPA for Burmese",
["nl"] = "Help:IPA for Dutch",
["sa"] = "Help:IPA for Sanskrit",
["sq"] = "Help:IPA for Albanian",
["tr"] = "Help:IPA for Turkic dialects",
["yue"] = "Help:IPA for Cantonese", -- Wikipedia-specific code
--[[
[""] = "",
]]
}
-- 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["mk"] = IPApages["bg"]
IPApages["mwl"] = IPApages["ast"]
IPApages["prs"] = IPApages["fa"]
IPApages["tgk"] = IPApages["fa"]
IPApages["tk"] = IPApages["tr"]
-- For pages that describe groups of languages
IPApages["kab"] = IPApages["ber"]
IPApages["rif"] = IPApages["ber"]
-- For aliases of symbols in the main list or other lists
IPApages["ango"] = IPApages["ang"]
IPApages["bre"] = IPApages["br"]
IPApages["bul"] = IPApages["bg"]
IPApages["cat"] = IPApages["ca"]
IPApages["ces"] = IPApages["cs"]
IPApages["cos"] = IPApages["co"]
IPApages["dan"] = IPApages["da"]
IPApages["eng"] = IPApages["en"]
IPApages["epo"] = IPApages["eo"]
IPApages["est"] = IPApages["fi"]
IPApages["mkd"] = IPApages["bg"]
IPApages["mya"] = IPApages["my"]
IPApages["nld"] = IPApages["nl"]
IPApages["san"] = IPApages["sa"]
IPApages["sdc"] = IPApages["co"]
IPApages["sdn"] = IPApages["co"]
--[[
IPApages[""] = IPApages[""]
IPApages[""] = IPApages[""]
]]
return IPApages