မေႃႇၵျူး:Language/data/ISO 639 deprecated
Lua module ဢၼ်ၼႆႉ လႆႈၸႂ်ႉဝႆႉ တီႈၼႃႈလိၵ်ႈ many ၼႃႈလိၵ်ႈ လႄႈ လွင်ႈလႅၵ်ႈလၢႆႈၸိူဝ်းၼႆႉ တေႁႂ်ႈၽၢင်ႉမႅၼ်ႈၺႃး ၵႂၢင်ႈၵႂၢင်ႈၶႂၢင်ၶႂၢင်။ ၸၢမ်းတူၺ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း မေႃႇၵျူး's /sandbox ဢမ်ႇၼၼ် ၼႃႈလိၵ်ႈၽႄ /testcases . ဝူၼ်ႉသွၼ်ႇ ဢုပ်ႇဢူဝ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း ၼႃႈလိၵ်ႈ တႃႇဢုပ်ႇ ၽွင်းမိူဝ်ႈပႆႇ ၵေႃႇသၢင်ႈၶဝ်ၼၼ်ႉ။
ႁူဝ်ၼပ်ႉ လွင်ႈၶဝ်ႈပႃးၼႆႉ မၼ်းႁဵတ်းဢၢပ်ႉတဵတ်ႉဝႆႉႁင်းမၼ်း (တူၺ်းတီႈ ၽိုၼ်လိၵ်ႈ)။ |
Uses Lua: |
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ မေႃႇၵျူး:Language/data/ISO 639 deprecated/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း မေႃႇၵျူးဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း မေႃႇၵျူး ဢၼ်ၼႆႉ။. |
--[[--------------------------< D E P R E C A T E D _ 1 >------------------------------------------------------
ISO 639-1 code / name pairs taken from https://www.loc.gov/standards/iso639-2/php/code_changes.php
]]
local deprecated_1 = { -- ISO 639-1 codes
["in"] = {"Indonesian"},
["iw"] = {"Hebrew"},
["ji"] = {"Yiddish"},
["jw"] = {"Javanese"},
["mo"] = {"Moldavian", "Moldovan"},
["sh"] = {"Serbo-Croatian"}, -- deprecated by ISO; retained in IANA
}
--[[--------------------------< D E P R E C A T E D _ 2 >------------------------------------------------------
ISO 639-2 code / name pairs taken from https://www.loc.gov/standards/iso639-2/php/code_changes.php
]]
local deprecated_2 = { -- ISO 639-2 codes
["mol"] = {"Moldavian", "Moldovan"}, -- ISO 639-3 overwrites this to {"Moldavian"}
}
--[[--------------------------< D E P R E C A T E D _ 2 B >----------------------------------------------------
ISO 639-2B code / name pairs taken from https://www.loc.gov/standards/iso639-2/php/code_changes.php
]]
local deprecated_2B = { -- ISO 639-2B codes
["jaw"] = {"Javanese"},
["scc"] = {"Serbian"},
["scr"] = {"Croatian"},
}
--[[--------------------------< D E P R E C A T E D _ 3 >------------------------------------------------------
ISO 639-3 code / name pairs taken from iso-639-3_Retirements_YYYYMMDD.tab file in Complete Code Tables Set UTF-8
version zip file available at https://iso639-3.sil.org/code_tables/download_tables
function deprecated_3_make() to avoid the metatable trap
]]
local function deprecated_3_make ()
local dep3 = mw.loadData ('Module:Language/data/ISO 639-3 (dep)'); -- separate source table for deprecated ISO 639-3 codes
local t = {};
for k, v in pairs (dep3) do -- add deprecated ISO 639-3 codes/language names
t[k] = {v[1]};
end
dep3={};
return t;
end
local deprecated_3 = deprecated_3_make(); -- create deprecated codes/language names table
--[[--------------------------< D E P R E C A T E D _ 5 >------------------------------------------------------
ISO 639-3 code taken from https://www.loc.gov/standards/iso639-5/changes.php; names not listed
]]
local deprecated_5 = {
["car"] = {"Galibi Carib"}, -- name is assumed from -2, -3 (both active); source omits name
}
--[[--------------------------< E X P O R T E D T A B L E S >------------------------------------------------
]]
return
{
deprecated_1 = deprecated_1,
deprecated_2 = deprecated_2,
deprecated_2B = deprecated_2B,
deprecated_3 = deprecated_3,
deprecated_5 = deprecated_5,
}