Modul:languages/data3/i
This module contains definitions and metadata for three-letter language codes starting with "i
". See Wiktionary:Spraken for more information.
This module must not be used directly in other modules or templates. The data should be accessed through Module:languages.
Required values
ännernEvery entry in the table must contain the following properties:
names
- A list of all the names that this language is known by. The first name listed is always the "canonical" name, which is used in Wiktionary entries and category names. The list should include not only synonyms for the language, but also names that refer to language varieties that are subsumed under the same grouping. For example, while "Flemish" is not synonymous with "Dutch", Flemish is considered a part of Dutch, so the name is listed there.
type
- The type of language (which affects how it is handled on Wiktionary). Possible values are:
regular
- This language is attested according to WT:CFI and therefore permitted in the main namespace. There may also be reconstructed terms for the language, which are placed in the Appendix namespace and must be prefixed with * to indicate a reconstruction. Most languages should use this.reconstructed
- This language is not attested according to CFI, and therefore is allowed only in the Appendix namespace. All terms in this language are reconstructed, and must be prefixed with *.appendix-constructed
- This language is attested but does not meet the additional requirements set out for constructed languages (WT:CFI#Constructed languages). Its entries must therefore be in the Appendix namespace, but they are not reconstructed and therefore should not have * prefixed in links.
scripts
- A list of script codes, see Wiktionary:Scripts. These represent all the scripts (writing systems) that this language employs, which are used on the main category of the language. If you do not know the script, use "None".
- Most templates and modules will use a default script when no script is specified for them, but the script codes are interpreted in two different ways:
- Templates and modules that use
detect_script
in Module:utilities will try to detect the script (based on the characters in the text), using the list of scripts as a list of possible scripts to try to detect. If the script cannot be detected, the first listed script is used by default. - All other templates and modules will generally use the first script listed as the default script.
- Templates and modules that use
family
- The code for the family that the language belongs to. See Wiktionary:Families. If you do not know the family, use "qfa-und".
Optional values
ännernThe following properties are used for text substitution; they replace or remove certain (sets of) characters or sets of characters. They all work similar, and are all optional. The search and replacement patterns are those used by the standard mw.ustring.gsub
function. They resemble regular expressions; see search/replace patterns for more information.
If present, each of these properties must be a table that contains two tables, one named from
and one named to
. These two tables are organised pairwise: each element in from
is a pattern to identify which characters in the term to replace, while the corresponding element in to
defines what to replace them with. If the replacement is not present or if it is false
or nil
, it defaults to an empty replacement, meaning that the matching characters are removed altogether. This means that the from
list can be longer than the to
list, and an empty replacement will be assumed for any elements in from
that have no counterpart in to
.
At the top of the module, there is a list of combining characters with names. These are provided for convenience and readability, as combining characters generally do not display property inside the module code (although they do not affect the actual operation of the module).
entry_name
- Defines replacements to create the entry name from the displayed form of a term. This can be used to remove certain diacritical marks according to the customs or standard practice of the language. For example, it is used to remove accent marks from Russian words, or macrons from Latin or Old English words, as these are not used in the normal written form of these languages. This is used by
remove_diacritics
in Module:links. sort_key
- Defines replacements to create a category sort key from the page name. The purpose is to remove any characters that are ignored in sorting, and to replace similar characters with identical ones if the sorting rules for that language do not distinguish them. For example, in German, the characters "ä" and "a" are considered equivalent for sorting, and are both treated as "a". The page name is converted to lowercase before applying the replacements, so you should not add uppercase letters to the "from" lists. This is used by
format_categories
in Module:utilities.
These are other optional values:
genders
- A list of gender specifications that are valid for the language. These are given in the format of Module:gender and number. This value acts as a restriction, so that if it is left out, all genders are considered valid. If the language has no genders, meaning that no gender is valid for that language, specify an empty list,
genders = {}
. Keep in mind that the word "gender" is used loosely in the sense of Wiktionary's implementation: it includes not just actual grammatical gender, but also grammatical number, noun classes and even verbal aspects. Thus, a language such as Russian will need to list not only the noun genders, but also the "impf" and "pf" codes for verbs, otherwise these will be rejected. translit_module
- The name of a module that is used to generate transliterations of terms, without the Module: prefix. This module must export a function named
tr
that is defined as follows:tr(text, lang, sc)
- The three parameters are the text to be transliterated, the language code, and the script code. The function can ignore the language and script codes, but they are provided for cases when a language has more than one script, or when a single function is used to transliterate multiple languages sharing the same script.
local u = mw.ustring.char
-- UTF-8 encoded strings for some commonly-used diacritics
local GRAVE = u(0x0300)
local ACUTE = u(0x0301)
local CIRC = u(0x0302)
local TILDE = u(0x0303)
local MACRON = u(0x0304)
local BREVE = u(0x0306)
local DOTABOVE = u(0x0307)
local DIAER = u(0x0308)
local CARON = u(0x030C)
local DGRAVE = u(0x030F)
local INVBREVE = u(0x0311)
local DOTBELOW = u(0x0323)
local RINGBELOW = u(0x0325)
local CEDILLA = u(0x0327)
local m = {}
m["iai"] = {
names = {"Iaai"},
type = "regular",
scripts = {"None"},
family = "poz-occ"}
m["ian"] = {
names = {"Iatmul"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iap"] = {
names = {"Iapama"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iar"] = {
names = {"Purari"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iba"] = {
names = {"Iban"},
type = "regular",
scripts = {"Latn"},
family = "poz-mly"}
m["ibb"] = {
names = {"Ibibio"},
type = "regular",
scripts = {"Latn"},
family = "nic-bco"}
m["ibd"] = {
names = {"Iwaidja"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ibe"] = {
names = {"Akpes"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ibg"] = {
names = {"Ibanag"},
type = "regular",
scripts = {"None"},
family = "phi"}
m["ibi"] = {
names = {"Ibilo"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ibl"] = {
names = {"Ibaloi"},
type = "regular",
scripts = {"None"},
family = "phi"}
m["ibm"] = {
names = {"Agoi"},
type = "regular",
scripts = {"None"},
family = "nic-bco"}
m["ibn"] = {
names = {"Ibino"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ibr"] = {
names = {"Ibuoro"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ibu"] = {
names = {"Ibu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iby"] = {
names = {"Ibani"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ica"] = {
names = {"Ede Ica"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ich"] = {
names = {"Etkywan"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["icl"] = {
names = {"Ieslandsche Tekenspraak", "Icelandic Sign Language"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["icr"] = {
names = {"Islander Creole English"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ida"] = {
names = {"Idakho-Isukha-Tiriki"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["idb"] = {
names = {"Indo-Portuguese"},
type = "regular",
scripts = {"Latn"},
family = "crp"}
m["idc"] = {
names = {"Idon"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["idd"] = {
names = {"Ede Idaca"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ide"] = {
names = {"Idere"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["idi"] = {
names = {"Idi"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["idr"] = {
names = {"Indri"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ids"] = {
names = {"Idesa"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["idt"] = {
names = {"Idaté"},
type = "regular",
scripts = {"None"},
family = "plf"}
m["idu"] = {
names = {"Idoma"},
type = "regular",
scripts = {"None"},
family = "alv"}
m["ifa"] = {
names = {"Amganad Ifugao"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ifb"] = {
names = {"Batad Ifugao"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ife"] = {
names = {"Ifè"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iff"] = {
names = {"Ifo"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ifk"] = {
names = {"Tuwali Ifugao"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ifm"] = {
names = {"Teke-Fuumu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ifu"] = {
names = {"Mayoyao Ifugao"},
type = "regular",
scripts = {"Latn"},
family = "phi"}
m["ify"] = {
names = {"Keley-I Kallahan"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["igb"] = {
names = {"Ebira"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ige"] = {
names = {"Igede"},
type = "regular",
scripts = {"None"},
family = "alv"}
m["igg"] = {
names = {"Igana"},
type = "regular",
scripts = {"None"},
family = "paa"}
m["igl"] = {
names = {"Igala"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["igm"] = {
names = {"Kanggape"},
type = "regular",
scripts = {"None"},
family = "paa"}
m["ign"] = {
names = {"Ignaciano"},
type = "regular",
scripts = {"None"},
family = "awd"}
m["igo"] = {
names = {"Isebe"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["igs"] = {
names = {"Glosa"},
type = "appendix-constructed",
scripts = {"None"},
family = "art"}
m["igw"] = {
names = {"Igwe"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ihb"] = {
names = {"Iha Based Pidgin"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ihi"] = {
names = {"Ihievbe"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ihp"] = {
names = {"Iha"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ijc"] = {
names = {"Izon"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ije"] = {
names = {"Biseni"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ijj"] = {
names = {"Ede Ije"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ijn"] = {
names = {"Kalabari"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ijs"] = {
names = {"Southeast Ijo"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ike"] = {
names = {"Eastern Canadian Inuktitut"},
type = "regular",
scripts = {"Cans"},
family = "esx-inu"}
m["iki"] = {
names = {"Iko"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ikk"] = {
names = {"Ika"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ikl"] = {
names = {"Ikulu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iko"] = {
names = {"Olulumo-Ikom"},
type = "regular",
scripts = {"None"},
family = "nic-bco"}
m["ikp"] = {
names = {"Ikpeshi"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ikt"] = {
names = {"Western Canadian Inuktitut"},
type = "regular",
scripts = {"Cans"},
family = "esx-inu"}
m["ikv"] = {
names = {"Iku-Gora-Ankwa"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ikw"] = {
names = {"Ikwere"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ikx"] = {
names = {"Ik"},
type = "regular",
scripts = {"Latn"},
family = "ssa"}
m["ikz"] = {
names = {"Ikizu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ila"] = {
names = {"Ile Ape"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ilb"] = {
names = {"Ila"},
type = "regular",
scripts = {"Latn"},
family = "bnt"}
m["ilg"] = {
names = {"Garig-Ilgar"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ili"] = {
names = {"Ili Turki"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ilk"] = {
names = {"Ilongot"},
type = "regular",
scripts = {"Latn"},
family = "phi"}
m["ill"] = {
names = {"Iranun"},
type = "regular",
scripts = {"Latn"},
family = "phi"}
m["ilo"] = {
names = {"Ilokano", "Ilocano"},
type = "regular",
scripts = {"Latn"},
family = "phi"}
m["ils"] = {
names = {"International Sign"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ilu"] = {
names = {"Ili'uun"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ilv"] = {
names = {"Ilue"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ilw"] = {
names = {"Talur"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ima"] = {
names = {"Mala Malasar"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ime"] = {
names = {"Imeraguen"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["imi"] = {
names = {"Anamgura"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iml"] = {
names = {"Miluk"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["imn"] = {
names = {"Imonda"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["imo"] = {
names = {"Imbongu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["imr"] = {
names = {"Imroing"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ims"] = {
names = {"Marsian"},
type = "regular",
scripts = {"Latn"},
family = "itc"}
m["imy"] = {
names = {"Milyan"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["inb"] = {
names = {"Inga"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ing"] = {
names = {"Deg Xinag"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["inh"] = {
names = {"Ingusch’sch", "Ingush"},
type = "regular",
scripts = {"Cyrl"},
family = "cau-nec",
translit_module = "inh-translit"}
m["inj"] = {
names = {"Jungle Inga"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["inl"] = {
names = {"Indonesian Sign Language"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["inm"] = {
names = {"Minaean"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["inn"] = {
names = {"Isinai"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ino"] = {
names = {"Inoke-Yate"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["inp"] = {
names = {"Iñapari"},
type = "regular",
scripts = {"None"},
family = "awd"}
m["ins"] = {
names = {"Indian Sign Language"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["int"] = {
names = {"Intha"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["inz"] = {
names = {"Ineseño"},
type = "regular",
scripts = {"Latn"},
family = "nai-chu"}
m["ior"] = {
names = {"Inor"},
type = "regular",
scripts = {"Ethi"},
family = "sem-eth"}
m["iou"] = {
names = {"Tuma-Irumu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iow"] = {
names = {"Chiwere"},
type = "regular",
scripts = {"None"},
family = "sio"}
m["ipi"] = {
names = {"Ipili"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ipo"] = {
names = {"Ipiko"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iqu"] = {
names = {"Iquito"},
type = "regular",
scripts = {"None"},
family = "qfa-zap"}
m["ire"] = {
names = {"Iresim"},
type = "regular",
scripts = {"None"},
family = "poz-hce"}
m["irh"] = {
names = {"Irarutu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iri"] = {
names = {"Irigwe"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["irk"] = {
names = {"Iraqw"},
type = "regular",
scripts = {"None"},
family = "cus"}
m["irn"] = {
names = {"Irántxe"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["irr"] = {
names = {"Ir"},
type = "regular",
scripts = {"None"},
family = "mkh"}
m["iru"] = {
names = {"Irula"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["irx"] = {
names = {"Kamberau"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iry"] = {
names = {"Iraya"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["isa"] = {
names = {"Isabi"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["isc"] = {
names = {"Isconahua"},
type = "regular",
scripts = {"None"},
family = "qfa-pat"}
m["isd"] = {
names = {"Isnag"},
type = "regular",
scripts = {"Latn"},
family = "phi"}
m["ise"] = {
names = {"Italian Sign Language"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["isg"] = {
names = {"Irish Sign Language"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ish"] = {
names = {"Esan"},
type = "regular",
scripts = {"Latn"},
family = "nic-bco"}
m["isi"] = {
names = {"Nkem-Nkum"},
type = "regular",
scripts = {"None"},
family = "nic-bod"}
m["isk"] = {
names = {"Ishkashimi"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ism"] = {
names = {"Masimasi"},
type = "regular",
scripts = {"None"},
family = "poz-ocw"}
m["isn"] = {
names = {"Isanzu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iso"] = {
names = {"Isoko"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["isr"] = {
names = {"Israeli Sign Language"},
type = "regular",
scripts = {"Sgnw"},
family = "sgn"}
m["ist"] = {
names = {"Istriot"},
type = "regular",
scripts = {"Latn"},
family = "roa"}
m["itb"] = {
names = {"Binongan Itneg"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ite"] = {
names = {"Itene"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iti"] = {
names = {"Inlaod Itneg"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["itk"] = {
names = {"Judeo-Italieensch", "Judeo-Italian"},
type = "regular",
scripts = {"Hebr"},
family = "roa"}
m["itl"] = {
names = {"Itelmen"},
type = "regular",
scripts = {"Cyrl"},
family = "qfa-cka"}
m["itm"] = {
names = {"Itu Mbon Uzo"},
type = "regular",
scripts = {"Latn"},
family = "nic-bco"}
m["ito"] = {
names = {"Itonama"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["itr"] = {
names = {"Iteri"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["its"] = {
names = {"Isekiri"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["itt"] = {
names = {"Maeng Itneg"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["itv"] = {
names = {"Itawit"},
type = "regular",
scripts = {"Latn"},
family = "phi"}
m["itw"] = {
names = {"Ito"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["itx"] = {
names = {"Itik"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ity"] = {
names = {"Moyadan Itneg"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["itz"] = {
names = {"Itzá"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iu"] = {
names = {"Inuktitut"},
type = "regular",
scripts = {"Cans", "Latn"},
family = "esx-inu"}
m["ium"] = {
names = {"Iu Mien"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ivb"] = {
names = {"Ibatan"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ivv"] = {
names = {"Ivatan"},
type = "regular",
scripts = {"Latn"},
family = "phi"}
m["iwk"] = {
names = {"I-Wak"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iwm"] = {
names = {"Iwam"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iwo"] = {
names = {"Iwur"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iws"] = {
names = {"Sepik Iwam"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ixc"] = {
names = {"Ixcatec"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["ixl"] = {
names = {"Ixil"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iya"] = {
names = {"Iyayu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["iyo"] = {
names = {"Mesaka"},
type = "regular",
scripts = {"None"},
family = "nic-bod"}
m["izh"] = {
names = {"Ingriaasch", "Ingrian"},
type = "regular",
scripts = {"Latn"},
family = "fiu-fin"}
m["izi"] = {
names = {"Izi-Ezaa-Ikwo-Mgbo"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["izr"] = {
names = {"Izere"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
return m