Module:Wikt-lang/data and Module:Wikt-lang/data/sandbox: Difference between pages
(Difference between pages)
imported>Yacàwotçã adding Paraguayan Guaraní |
imported>Sophisticatedevening Testing |
||
| Line 18: | Line 18: | ||
--[[ | --[[ | ||
This is a table of Wiktionary language codes with data belonging to them. | |||
* "Wiktionary_name" is the "canonical name" used on Wiktionary. Should be set only if different from the name from Module:Lang. | |||
]] | ]] | ||
local data = { | local data = { | ||
["languages"] = { | ["languages"] = { | ||
["aaq"] = { | ["aaq"] = { | ||
[" | ["Wiktionary_name"] = "Penobscot", | ||
}, | }, | ||
["abe"] = { | ["abe"] = { | ||
[" | ["Wiktionary_name"] = "Abenaki", | ||
}, | }, | ||
[" | ["ajp"] = { | ||
[" | ["Wiktionary_name"] = "South Levantine Arabic", | ||
["replacements"] = { | ["replacements"] = { | ||
-- ālif with wasla is replaced by ālif; | -- ālif with wasla is replaced by ālif; | ||
| Line 63: | Line 42: | ||
}, | }, | ||
}, | }, | ||
["alg-pro"] = { | |||
[" | ["Wiktionary_name"] = "Proto-Algonquian", | ||
["article"] = " | ["article"] = "Proto-Algonquian language", | ||
}, | |||
["ang"] = { | |||
-- Remove macrons, acutes, and overdots | |||
["replacements"] = { | ["replacements"] = { | ||
decompose = true, | |||
from = { "[" .. macron .. acute .. dot .. "]" }, | |||
}, | }, | ||
}, | }, | ||
[" | ["apc"] = { | ||
[" | ["Wiktionary_name"] = "North Levantine Arabic", | ||
["replacements"] = { | ["replacements"] = { | ||
-- ālif with wasla is replaced by ālif; | -- ālif with wasla is replaced by ālif; | ||
| Line 93: | Line 66: | ||
}, | }, | ||
}, | }, | ||
[" | ["ar"] = { | ||
["replacements"] = { | ["replacements"] = { | ||
-- ālif with wasla is replaced by ālif; | -- ālif with wasla is replaced by ālif; | ||
| Line 108: | Line 78: | ||
}, | }, | ||
}, | }, | ||
[" | ["arb"] = { | ||
[" | ["Wiktionary_name"] = "Modern Standard Arabic", | ||
["replacements"] = { | ["replacements"] = { | ||
-- ālif with wasla is replaced by ālif; | -- ālif with wasla is replaced by ālif; | ||
| Line 124: | Line 92: | ||
}, | }, | ||
["arz"] = { | ["arz"] = { | ||
["replacements"] = { | ["replacements"] = { | ||
-- ālif with wasla is replaced by ālif; | -- ālif with wasla is replaced by ālif; | ||
| Line 137: | Line 102: | ||
..U(0x0651)..U(0x0652)..U(0x0670).."]"] = "", | ..U(0x0651)..U(0x0652)..U(0x0670).."]"] = "", | ||
}, | }, | ||
}, | }, | ||
["be"] = { | ["be"] = { | ||
["replacements"] = { | |||
["replacements"] = { [acute] = "" | [acute] = "", | ||
}, | |||
}, | }, | ||
[ | ["cel-x-bryproto"] = { | ||
["Wiktionary_name"] = "Proto-Brythonic", | |||
[" | |||
["type"] = "reconstructed", | ["type"] = "reconstructed", | ||
}, | }, | ||
["cu"] = { | ["cu"] = { | ||
[" | ["Wiktionary_name"] = "Old Church Slavonic", | ||
}, | }, | ||
["egy"] = { | ["egy"] = { | ||
[" | ["Wiktionary_name"] = "Egyptian", | ||
}, | }, | ||
["frp"] = { | ["frp"] = { | ||
[" | ["Wiktionary_name"] = "Franco-Provençal", | ||
}, | }, | ||
["gem-x-proto"] = { | ["gem-x-proto"] = { | ||
["type"] = "reconstructed", | ["type"] = "reconstructed", | ||
}, | }, | ||
["gmw-x-proto"] = { | ["gmw-x-proto"] = { | ||
[" | ["Wiktionary_name"] = "Proto-West Germanic", | ||
["type"] = "reconstructed", | ["type"] = "reconstructed", | ||
}, | }, | ||
["goh"] = { | ["goh"] = { | ||
| Line 243: | Line 137: | ||
}, | }, | ||
["got"] = { | ["got"] = { | ||
["replacements"] = { | ["replacements"] = { | ||
-- Latin to Gothic since people will not want to have to copy | -- Latin to Gothic since people will not want to have to copy | ||
| Line 274: | Line 166: | ||
["[OoŌō]"] = "𐍉", | ["[OoŌō]"] = "𐍉", | ||
}, | }, | ||
}, | }, | ||
["grc"] = { | ["grc"] = { | ||
["replacements"] = { | ["replacements"] = { | ||
decompose = true, | decompose = true, | ||
| Line 293: | Line 180: | ||
} | } | ||
}, | }, | ||
}, | }, | ||
["grk-x-proto"] = { | ["grk-x-proto"] = { | ||
[" | ["Wiktionary_name"] = "Proto-Hellenic", | ||
["type"] = "reconstructed", | ["type"] = "reconstructed", | ||
["replacements"] = {}, | ["replacements"] = {}, | ||
}, | }, | ||
["ha"] = { | ["ha"] = { | ||
-- remove tilde, grave, acute, macron, circumflex | -- remove tilde, grave, acute, macron, circumflex | ||
["replacements"] = { | ["replacements"] = { | ||
| Line 320: | Line 193: | ||
}, | }, | ||
}, | }, | ||
["ine-x-bsproto"] = { | |||
["Wiktionary_name"] = "Proto-Balto-Slavic", | |||
["ine- | |||
[" | |||
["type"] = "reconstructed", | ["type"] = "reconstructed", | ||
}, | }, | ||
["ine-x-proto"] = { | ["ine-x-proto"] = { | ||
["type"] = "reconstructed", | ["type"] = "reconstructed", | ||
}, | }, | ||
["jbo"] = { -- Lojban | ["jbo"] = { -- Lojban | ||
["type"] = "appendix", | ["type"] = "appendix", | ||
}, | }, | ||
["la"] = { | ["la"] = { | ||
["replacements"] = { | ["replacements"] = { | ||
decompose = true, | decompose = true, | ||
| Line 370: | Line 210: | ||
}, | }, | ||
["lt"] = { | ["lt"] = { | ||
-- remove acute, tilde, grave | -- remove acute, tilde, grave | ||
["replacements"] = { | ["replacements"] = { | ||
| Line 376: | Line 215: | ||
from = { "[" .. acute .. tilde .. grave .. "]" }, | from = { "[" .. acute .. tilde .. grave .. "]" }, | ||
}, | }, | ||
}, | }, | ||
["moe"] = { | ["moe"] = { | ||
[" | ["Wiktionary_name"] = "Cree", | ||
}, | }, | ||
["mul"] = { | ["mul"] = { | ||
[" | ["Wiktionary_name"] = "Translingual", | ||
}, | }, | ||
["nci"] = { | ["nci"] = { | ||
-- Remove macrons, acutes, circumflexes and graves | -- Remove macrons, acutes, circumflexes and graves | ||
["replacements"] = { | ["replacements"] = { | ||
| Line 399: | Line 232: | ||
}, | }, | ||
["nds-de"] = { | ["nds-de"] = { | ||
[" | ["Wiktionary_name"] = "German Low German", | ||
}, | }, | ||
["non-x-proto"] = { | ["non-x-proto"] = { | ||
[" | ["Wiktionary_name"] = "Proto-Norse", | ||
}, | }, | ||
["orv"] = { | ["orv"] = { | ||
["replacements"] = { | ["replacements"] = { | ||
[U(0x484)] = "", | [U(0x484)] = "", | ||
}, | }, | ||
}, | }, | ||
[" | ["poz-x-polproto"] = { -- is this even in use? | ||
["Wiktionary_name"] = "Proto-Nuclear Polynesian", | |||
[" | |||
["type"] = "reconstructed", | ["type"] = "reconstructed", | ||
}, | }, | ||
["ru"] = { | ["ru"] = { | ||
[" | ["replacements"] = { | ||
[acute] = "", | |||
}, | |||
}, | }, | ||
["rw"] = { | ["rw"] = { | ||
[" | ["Wiktionary_name"] = "Rwanda-Rundi", | ||
}, | }, | ||
["se"] = { | ["se"] = { | ||
| Line 471: | Line 259: | ||
}, | }, | ||
}, | }, | ||
["sem- | ["sem-x-proto"] = { | ||
["type"] = "reconstructed", | ["type"] = "reconstructed", | ||
}, | }, | ||
["sh"] = { | ["sh"] = { | ||
["replacements"] = { | ["replacements"] = { | ||
decompose = true, | decompose = true, | ||
from = { "([AaEeIiOoUuRrАаЕеИиОоУуРр])[" .. double_grave | from = { "([AaEeIiOoUuRrАаЕеИиОоУуРр])[" .. double_grave | ||
.. grave .. invbreve .. acute .. macron .. tilde .. "]" }, | .. grave .. invbreve .. acute .. macron .. tilde .. "]" }, | ||
to = { "%1" }, | to = {"%1"}, | ||
}, | }, | ||
}, | }, | ||
["sl"] = { | ["sl"] = { | ||
["replacements"] = { | ["replacements"] = { | ||
decompose = true, | decompose = true, | ||
| Line 493: | Line 277: | ||
to = {"l"}, | to = {"l"}, | ||
}, | }, | ||
}, | }, | ||
["sla-x-proto"] = { | ["sla-x-proto"] = { | ||
["type"] = "reconstructed", | ["type"] = "reconstructed", | ||
["replacements"] = { | ["replacements"] = { | ||
| Line 542: | Line 301: | ||
}, | }, | ||
["tts"] = { | ["tts"] = { | ||
[" | ["Wiktionary_name"] = "Isan", -- also "Northeastern Thai" | ||
}, | }, | ||
["uk"] = { | ["uk"] = { | ||
["replacements"] = { | |||
["replacements"] = { [acute] = "", | [acute] = "", | ||
}, | |||
}, | }, | ||
["xcl"] = { | ["xcl"] = { | ||
["replacements"] = { | ["replacements"] = { | ||
["[՞՜՛՟]"] = "", | ["[՞՜՛՟]"] = "", | ||
| Line 570: | Line 315: | ||
}, | }, | ||
["xgf"] = { | ["xgf"] = { | ||
["replacements"] = { | ["replacements"] = { | ||
["['`ʔ]"] = "ʼ", | ["['`ʔ]"] = "ʼ", | ||
| Line 577: | Line 320: | ||
}, | }, | ||
["xlu"] = { | ["xlu"] = { | ||
[" | ["Wiktionary_name"] = "Luwian", -- not name "Cuneiform Luwian" | ||
}, | }, | ||
[" | ["zle-x-ort"] = { | ||
["Wiktionary_name"] = "Old Ruthenian", | |||
["replacements"] = { | |||
[acute] = "", | |||
}, | |||
[" | |||
["replacements"] = { [acute] = "", }, | |||
}, | }, | ||
}, | }, | ||
} | } | ||
return data | return data | ||