Module:Language/data/wp languages: Difference between revisions

disabled non-IETF compliant tags; see embedded comments;
m (1 revision imported)
(disabled non-IETF compliant tags; see embedded comments;)
Line 1: Line 1:
return { -- wp preferred names -- IANA language names and notes
return { -- wp preferred names -- IANA language names and notes
--ISO 639-1 codes
--ISO 639-1 codes
["ab"] = {"Abkhaz"}, -- Abkhazian
["ab"] = {"Abkhaz"}, -- Abkhazian
Line 121: Line 121:
["krj"] = {"Kinaray-a"}, -- Kinaray-A
["krj"] = {"Kinaray-a"}, -- Kinaray-A
-- ["ksh"] = {"Ripuarian"}, -- Kölsch;  --ksh is the code of Colognian, but ksh.wiki is the Ripuarian Wikipedia; disabled here so that:
-- ["ksh"] = {"Ripuarian"}, -- Kölsch;  --ksh is the code of Colognian, but ksh.wiki is the Ripuarian Wikipedia; disabled here so that:
-- ksh -> IANA/ISO-639-3 Kölsch; mis-x-colog -> Colognian & mis-x-ripuar -> Ripuarian both defined in Module:Lang/data
-- ksh -> IANA/ISO-639-3 Kölsch; ksh-x-colog -> Colognian & mis-x-ripuar -> Ripuarian both defined in Module:Lang/data
["ktz"] = {"Juǀ'hoan"}, -- Ju/'hoan, Juǀʼhoan, Juǀʼhoansi
["ktz"] = {"Juǀ'hoan"}, -- Ju/'hoan, Juǀʼhoan, Juǀʼhoansi
["lez"] = {"Lezgian"}, -- Lezghian
["lez"] = {"Lezgian"}, -- Lezghian
Line 186: Line 186:




-- non-standard codes
--[[
non-standard codes
 
these tags are mostly (all?) supported by the MediaWiki {{#language:}} magic word; none are valid IETF language
tags.  Templates needing these tags might be better served by using the magic word or the functions available in
Module:mw lang via its template {{mw lang}}
]]
--[[
["bat-smg"] = {"Samogitian"}, -- bat = Baltic languages (639-2); dialect of Lithuanian has it's own IANA code sgs; bat-smg
["bat-smg"] = {"Samogitian"}, -- bat = Baltic languages (639-2); dialect of Lithuanian has it's own IANA code sgs; bat-smg
["be-x-old "] = {"Belarusian (Taraškievica)"}, -- be = Belarusian; x-old = private use tag; be-x-old.wikipedia.org; space char in index may indicate that this code not used
["be-x-old "] = {"Belarusian (Taraškievica)"}, -- be = Belarusian; x-old = private use tag; be-x-old.wikipedia.org; space char in index may indicate that this code not used
Line 202: Line 209:
["zh-min-nan"] = {"Min Nan"}, -- zh-min-nan = Minnan, Hokkien, Amoy, Taiwanese, Southern Min, Southern Fujian, Hoklo, Southern Fukien, Ho-lo; granfathered in IANA, nan preferred; zh-min-nan.wikipedia.org
["zh-min-nan"] = {"Min Nan"}, -- zh-min-nan = Minnan, Hokkien, Amoy, Taiwanese, Southern Min, Southern Fujian, Hoklo, Southern Fukien, Ho-lo; granfathered in IANA, nan preferred; zh-min-nan.wikipedia.org
["zh-yue"] = {"Cantonese"} -- zh-yue = Cantonese; redundant in IANA, yue preferred; zh-yue.wikipedia.org
["zh-yue"] = {"Cantonese"} -- zh-yue = Cantonese; redundant in IANA, yue preferred; zh-yue.wikipedia.org
}
]] }
Anonymous user