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

Content deleted Content added
m 1 revision imported
disabled non-IETF compliant tags; see embedded comments;
Line 1:
return { -- wp preferred names -- IANA language names and notes
--ISO 639-1 codes
["ab"] = {"Abkhaz"}, -- Abkhazian
Line 121:
["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 -> IANA/ISO-639-3 Kölsch; misksh-x-colog -> Colognian & mis-x-ripuar -> Ripuarian both defined in Module:Lang/data
["ktz"] = {"Juǀ'hoan"}, -- Ju/'hoan, Juǀʼhoan, Juǀʼhoansi
["lez"] = {"Lezgian"}, -- Lezghian
Line 186:
 
 
--[[
-- 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
["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 ⟶ 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-yue"] = {"Cantonese"} -- zh-yue = Cantonese; redundant in IANA, yue preferred; zh-yue.wikipedia.org
]] }