Mòideal:Language/data/ISO 639 override
< Mòideal:Language | data
(deasbaireachd⧼tpt-languages-separator⧽ ⧼tpt-languages-separator⧽eachdraidh⧼tpt-languages-separator⧽ceanglaichean⧼tpt-languages-separator⧽doc⧼tpt-languages-separator⧽bogsa-gainmhich⧼tpt-languages-separator⧽cùisean deuchainn)
This module is currently protected from editing. See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may submit an edit request to ask an administrator to make an edit if it is uncontroversial or supported by consensus. You may also request that this page be unprotected. |
This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
{{Module rating }}
Ùsaid - Usage
{{#invoke:Language/data|function_name}}
--[[--------------------------< O V E R R I D E >--------------------------------------------------------------
Language codes and names in this table override the ISO 639 names in:
Module:Language/data/iana languages
Module:Language/data/ISO 639-2
Module:Language/data/ISO 639-3
Module:Language/data/ISO 639-5
code indexes in this table shall always be lower case
]]
local override = {
["ang"] = {"Old English"}, -- English, Old
["dum"] = {"Middle Dutch"}, -- Dutch, Middle
["egy"] = {"Ancient Egyptian"}, -- 639-2, -3: Egyptian (Ancient)
["el"] = {"Greek"}, -- 639-1: Modern Greek (1453-)
["ell"] = {"Greek"}, -- Greek, Modern
["enm"] = {"Middle English"}, -- English, Middle
["frm"] = {"Middle French"}, -- French, Middle
["fro"] = {"Old French"}, -- French, Old
["gmh"] = {"Middle High German"}, -- German, Middle High
["goh"] = {"Old High German"}, -- German, Old High
["grc"] = {"Ancient Greek"}, -- Greek, Ancient
["gre"] = {"Greek"}, -- 639-2: Greek, Modern (1453-)
["mga"] = {"Middle Irish"}, -- Irish, Middle
["nbl"] = {"Southern Ndebele"}, -- Ndebele, South
["nde"] = {"Northern Ndebele"}, -- Ndebele, North
["nob"] = {"Norwegian Bokmål"}, -- Bokmål, Norwegian
["non"] = {"Old Norse"}, -- Norse, Old
["ota"] = {"Ottoman Turkish"}, -- Turkish, Ottoman
["peo"] = {"Old Persian"}, -- Persian, Old
["pms"] = {"Piedmontese"}, -- ISO 639-3 name is Piemontese; to match en.wiki article title
["pro"] = {"Old Occitan"}, -- Provençal, Old
["sga"] = {"Old Irish"}, -- Irish, Old
["sot"] = {"Sotho"}, -- Sotho, Southern
}
--[[--------------------------< A R T I C L E _ L I N K >------------------------------------------------------
for those rare occasions when article titles don't fit with the normal '<language name> language', this table
maps language code to article title. Use of this table should be avoided and the use of redirects preferred as
that is the long-standing method of handling article names that don't fit with the normal pattern
]]
local article_name = {
["lij"] = {"Ligurian (Romance language)"}, -- see Template_talk:Lang#Ligurian_dab
["xlg"] = {"Ligurian language (ancient)"}, -- see Template_talk:Lang#Ligurian_dab
}
--[[--------------------------< E X P O R T E D T A B L E S >------------------------------------------------
]]
return
{
override = override,
article_name = article_name,
}