Module:data consistency check
- The following documentation is located at Module:data consistency check/documentation. [edit]
- Useful links: subpage list • links • transclusions • testcases • sandbox
This module checks the validity and internal consistency of the language, language family, and script data used on Wiktionary: the modules in Category:Language data modules as well as Module:scripts/data.
Output
[baguhin]Discrepancies detected:
- Code:
EL.. Saw name: Ecclesiastical Latin. Expected name: Latin ng Simbahan. - Code:
LL.. Saw name: Late Latin. Expected name: Huling Latin. - Code:
ML.. Saw name: Medieval Latin. Expected name: Medyebal na Latin. - Code:
aav. Saw name: Austroasiatic. Expected name: Awstroasyatiko. - Code:
ab. Saw name: Abkhaz. Expected name: Abhasiyo. - Code:
abc. Saw name: Ambala Ayta. Expected name: Ayta Ambala. - Code:
abp. Saw name: Abenlen Ayta. Expected name: Abellen. - Code:
ace. Saw name: Acehnese. Expected name: Atsenes. - Code:
acw. Saw name: Hijazi Arabic. Expected name: Arabe Hijazi. - Code:
acy. Saw name: Cypriot Arabic. Expected name: Arabe Tsipriyota. - Code:
ady. Saw name: Adyghe. Expected name: Adiges. - Code:
ae. Saw name: Avestan. Expected name: Abestiko. - Code:
aeb. Saw name: Tunisian Arabic. Expected name: Arabe Tunesino. - Code:
af. Saw name: Afrikaans. Expected name: Aprikaans. - Code:
afb. Saw name: Gulf Arabic. Expected name: Arabe Golpo. - Code:
agn. Saw name: Agutaynen. Expected name: Agutaynën. - Code:
agv. Saw name: Remontado Agta. Expected name: Hatang Kaye. - Code:
ajg. Saw name: Adja. Expected name: Aja (West Africa). - Code:
ajp. Saw name: South Levantine Arabic. Expected name: Arabe Timog Levantino. - Code:
akk. Saw name: Akkadian. Expected name: Akadyo. - Code:
ale. Saw name: Aleut. Expected name: Aleutyano. - Code:
alj. Saw name: Alangan. Expected name: Alangan Mangyan. - Code:
als. Saw name: Albanian. Expected name: Albanes. - Code:
an. Saw name: Aragonese. Expected name: Aragones. - Code:
ang. Saw name: Old English. Expected name: Lumang Ingles. - Code:
apc. Saw name: North Levantine Arabic. Expected name: Arabe Hilagang Levantino. - Code:
ar. Saw name: Arabic. Expected name: Arabe. - Code:
arc. Saw name: Aramaic. Expected name: Arameas. - Code:
ary. Saw name: Moroccan Arabic. Expected name: Arabe Maroki. - Code:
arz. Saw name: Egyptian Arabic. Expected name: Arabe Ehipsiyo. - Code:
as. Saw name: Assamese. Expected name: Asames. - Code:
ast. Saw name: Asturian. Expected name: Asturyano. - Code:
atd. Saw name: Ata Manobo. Expected name: Manobo Ata. - Code:
att. Saw name: Pamplona Atta. Expected name: Atta Pamplona. - Code:
ayl. Saw name: Libyan Arabic. Expected name: Arabe Libyo. - Code:
az. Saw name: Azerbaijani. Expected name: Aseri. - Code:
ba. Saw name: Bashkir. Expected name: Baskir. - Code:
ban. Saw name: Balinese. Expected name: Balines. - Code:
bar. Saw name: Bavarian. Expected name: Bavaro. - Code:
bcl. Saw name: Bikol Central. Expected name: Bikol Naga. - Code:
be. Saw name: Belarusian. Expected name: Biyeloruso. - Code:
bg. Saw name: Bulgarian. Expected name: Bulgaro. - Code:
bjn. Saw name: Banjarese. Expected name: Banjares. - Code:
bks. Saw name: Masbate Sorsogon. Expected name: Hilagang Sorsoganon. - Code:
bln. Saw name: Southern Catanduanes Bicolano. Expected name: Bikol Katimugang Catanduanes. - Code:
blx. Saw name: Mag-Indi Ayta. Expected name: Ayta Mag-indi. - Code:
bo. Saw name: Tibetan. Expected name: Tibetano. - Code:
btn. Saw name: Ratagnon. Expected name: Ratagnon Mangyan. - Code:
bto. Saw name: Iriga Bicolano. Expected name: Rinkonada. - Code:
btw. Saw name: Butuanon. Expected name: Butwanon. - Code:
ca. Saw name: Catalan. Expected name: Katalan. - Code:
car. Saw name: Kari'na. Expected name: Karîña. - Code:
cbk. Saw name: Chavacano. Expected name: Chabacano. - Code:
cdo. Saw name: Eastern Min. Expected name: Silanganang Min. - Code:
ce. Saw name: Chechen. Expected name: Tsetseno. - Code:
ceb. Saw name: Cebuano. Expected name: Sebwano. - Code:
cel-bry-pro. Saw name: Proto-Brythonic. Expected name: Proto-Britoniko. - Code:
cgc. Saw name: Kagayanen. Expected name: Kagayanën. - Code:
ch. Saw name: Chamorro. Expected name: Tsamoro. - Code:
chy. Saw name: Cheyenne. Expected name: Tseyene. - Code:
cic. Saw name: Chickasaw. Expected name: Tsikasaw. - Code:
cim. Saw name: Cimbrian. Expected name: Simbriyano. - Code:
cjo. Saw name: Ashéninka Pajonal. Expected name: Pajonal Ashéninka. - Code:
ckb. Saw name: Central Kurdish. Expected name: Kurdo Sentral. - Code:
co. Saw name: Corsican. Expected name: Korso. - Code:
crs. Saw name: Seychellois Creole. Expected name: Kriyolo ng Seychelles. - Code:
cs. Saw name: Czech. Expected name: Tseko. - Code:
cts. Saw name: Northern Catanduanes Bicolano. Expected name: Bikol Kahilagaang Catanduanes. - Code:
cu. Saw name: Old Church Slavonic. Expected name: Lumang Simbahang Eslabo. - Code:
cv. Saw name: Chuvash. Expected name: Tsubasyo. - Code:
cy. Saw name: Welsh. Expected name: Gales. - Code:
cyo. Saw name: Cuyunon. Expected name: Kuyunon. - Code:
da. Saw name: Danish. Expected name: Danes. - Code:
de. Saw name: German. Expected name: Aleman. - Code:
dgc. Saw name: Casiguran Dumagat Agta. Expected name: Agta Dumagat Casiguran. - Code:
dlm. Saw name: Dalmatian. Expected name: Dalmatiko. - Code:
dng. Saw name: Dungan. Expected name: Dunggano. - Code:
dum. Saw name: Middle Dutch. Expected name: Gitnang Nerlandes. - Code:
duo. Saw name: Dupaningan Agta. Expected name: Tenap. - Code:
dv. Saw name: Dhivehi. Expected name: Divehi. - Code:
ebk. Saw name: Eastern Bontoc. Expected name: Finallig. - Code:
egl. Saw name: Emilian. Expected name: Emilyano. - Code:
egy. Saw name: Egyptian. Expected name: Ehipsiyo. - Code:
el. Saw name: Greek. Expected name: Griyego. - Code:
en. Saw name: English. Expected name: Ingles. - Code:
enm. Saw name: Middle English. Expected name: Gitnang Ingles. - Code:
es. Saw name: Spanish. Expected name: Espanyol. - Code:
et. Saw name: Estonian. Expected name: Estonyo. - Code:
eu. Saw name: Basque. Expected name: Euskera. - Code:
ext. Saw name: Extremaduran. Expected name: Ekstremenyo. - Code:
fa. Saw name: Persian. Expected name: Persa. - Code:
fbl. Saw name: West Albay Bikol. Expected name: Bikolano ng Kanlurang Albay. - Code:
fi. Saw name: Finnish. Expected name: Pinlandes. - Code:
fj. Saw name: Fijian. Expected name: Fiyano. - Code:
fo. Saw name: Faroese. Expected name: Peroes. - Code:
fr. Saw name: French. Expected name: Pranses. - Code:
fr-CA. Saw name: Canadian French. Expected name: Pranses ng Kanada. - Code:
fr-CA. Saw name: French. Expected name: Pranses. - Code:
frk. Saw name: Frankish. Expected name: Prankiko. - Code:
frm. Saw name: Middle French. Expected name: Gitnang Pranses. - Code:
fro. Saw name: Old French. Expected name: Lumang Pranses. - Code:
fro-nor. Saw name: Old French. Expected name: Lumang Pranses. - Code:
frp. Saw name: Franco-Provençal. Expected name: Prangko-Probensal. - Code:
fur. Saw name: Friulian. Expected name: Priyulano. - Code:
fy. Saw name: West Frisian. Expected name: Kanlurang Frison. - Code:
ga. Saw name: Irish. Expected name: Irlandes. - Code:
gd. Saw name: Scottish Gaelic. Expected name: Gaelikong Eskoses. - Code:
gem. Saw name: Germanic. Expected name: Hermaniko. - Code:
gim. Saw name: Gimi (Goroka). Expected name: Gimi (Papuan). - Code:
gkm. Saw name: Byzantine Greek. Expected name: Griyegong Bisantino. - Code:
gkm. Saw name: Ancient Greek. Expected name: Sinaunang Griyego. - Code:
gl. Saw name: Galician. Expected name: Galyego. - Code:
gmy. Saw name: Mycenaean Greek. Expected name: Griyego Miseniko. - Code:
got. Saw name: Gothic. Expected name: Gotiko. - Code:
grc. Saw name: Ancient Greek. Expected name: Sinaunang Griyego. - Code:
gu. Saw name: Gujarati. Expected name: Guyarati. - Code:
gv. Saw name: Manx. Expected name: Manes. - Code:
haw. Saw name: Hawaiian. Expected name: Hawayano. - Code:
he. Saw name: Hebrew. Expected name: Hebreo. - Code:
ht. Saw name: Haitian Creole. Expected name: Kriyolo ng Hayti. - Code:
hu. Saw name: Hungarian. Expected name: Unggaro. - Code:
hwc. Saw name: Hawaiian Creole. Expected name: Kriyolyo Hawayano. - Code:
hy. Saw name: Armenian. Expected name: Armenyo. - Code:
ibl. Saw name: Ibaloi. Expected name: Ibaloy. - Code:
id. Saw name: Indonesian. Expected name: Indones. - Code:
ifb. Saw name: Batad Ifugao. Expected name: Ifugaw Batad. - Code:
ifu. Saw name: Mayoyao Ifugao. Expected name: Ifugaw Mayawyaw. - Code:
ik. Saw name: Inupiaq. Expected name: Inyupyak. - Code:
ilk. Saw name: Ilongot. Expected name: Bugkalut. - Code:
ilo. Saw name: Ilocano. Expected name: Ilokano. - Code:
ine-pro. Saw name: Proto-Indo-European. Expected name: Proto-Indo-Europeo. - Code:
inn. Saw name: Isinai. Expected name: Isinay. - Code:
iry. Saw name: Iraya. Expected name: Iraya Mangyan. - Code:
is. Saw name: Icelandic. Expected name: Islandes. - Code:
isd. Saw name: Isnag. Expected name: Isnëg. - Code:
it. Saw name: Italian. Expected name: Italyano. - Code:
itc-ola. Saw name: Old Latin. Expected name: Lumang Latin. - Code:
itc-pro. Saw name: Proto-Italic. Expected name: Proto-Italiko. - Code:
ivb. Saw name: Ibatan. Expected name: Ivatan. - Code:
ivv. Saw name: Ivatan. Expected name: Itbayatën. - Code:
ja. Saw name: Japanese. Expected name: Hapones. - Code:
jv. Saw name: Javanese. Expected name: Habanes. - Code:
ka. Saw name: Georgian. Expected name: Heorhiyano. - Code:
kak. Saw name: Kayapa Kallahan. Expected name: Kalanguya. - Code:
kk. Saw name: Kazakh. Expected name: Kasaho. - Code:
kl. Saw name: Greenlandic. Expected name: Groenlandes. - Code:
klg. Saw name: Tagakaulu Kalagan. Expected name: Tagakawlo. - Code:
km. Saw name: Khmer. Expected name: Hemer. - Code:
kmc. Saw name: Southern Kam. Expected name: Katimugang Kam. - Code:
kmk. Saw name: Limos Kalinga. Expected name: Kalingga Limos. - Code:
kmr. Saw name: Northern Kurdish. Expected name: Kahilagaang Kurdo. - Code:
knb. Saw name: Lubuagan Kalinga. Expected name: Kalingga Lubuagan. - Code:
kne. Saw name: Kankanaey. Expected name: Kankanaëy. - Code:
ko. Saw name: Korean. Expected name: Koreano. - Code:
ks. Saw name: Kashmiri. Expected name: Katsemir. - Code:
ktb. Saw name: Kambaata. Expected name: Kambāta. - Code:
kus. Saw name: Kusaal. Expected name: Kusāl. - Code:
kw. Saw name: Cornish. Expected name: Korniko. - Code:
kxd. Saw name: Brunei Malay. Expected name: Malayo Brunei. - Code:
ky. Saw name: Kyrgyz. Expected name: Kirgis. - Code:
la-ecc. Saw name: Ecclesiastical Latin. Expected name: Latin ng Simbahan. - Code:
la-lat. Saw name: Late Latin. Expected name: Huling Latin. - Code:
la-med. Saw name: Medieval Latin. Expected name: Medyebal na Latin. - Code:
lb. Saw name: Luxembourgish. Expected name: Luksemburges. - Code:
lbk. Saw name: Central Bontoc. Expected name: Finontok. - Code:
lbl. Saw name: Libon Bikol. Expected name: Bikol Libon. - Code:
li. Saw name: Limburgish. Expected name: Limburges. - Code:
lij. Saw name: Ligurian. Expected name: Liguryo. - Code:
lng. Saw name: Lombardic. Expected name: Lombardiko. - Code:
loc. Saw name: Inonhan. Expected name: Onhan. - Code:
lou. Saw name: Louisiana Creole. Expected name: Kriyolo ng Louisiana. - Code:
lt. Saw name: Lithuanian. Expected name: Litwano. - Code:
ltc. Saw name: Middle Chinese. Expected name: Gitnang Tsino. - Code:
lv. Saw name: Latvian. Expected name: Leton. - Code:
map. Saw name: Austronesian. Expected name: Awstronesyo. - Code:
mba. Saw name: Higaonon. Expected name: Higaunon. - Code:
mbb. Saw name: Western Bukidnon Manobo. Expected name: Menuvu. - Code:
mbd. Saw name: Dibabawon Manobo. Expected name: Manobo Dibabawon. - Code:
mbi. Saw name: Ilianen Manobo. Expected name: Manobo Ilyanen. - Code:
mdh. Saw name: Maguindanao. Expected name: Magindanawon. - Code:
men. Saw name: Mende. Expected name: Mende (Sierra Leone). - Code:
mfe. Saw name: Mauritian Creole. Expected name: Kriyolo ng Maurisyo. - Code:
mg. Saw name: Malagasy. Expected name: Malgatse. - Code:
mh. Saw name: Marshallese. Expected name: Marshales. - Code:
mk. Saw name: Macedonian. Expected name: Masedonyo. - Code:
mn. Saw name: Mongolian. Expected name: Monggol. - Code:
mr. Saw name: Marathi. Expected name: Marati. - Code:
mrw. Saw name: Maranao. Expected name: Mëranaw. - Code:
ms-cla. Saw name: Classical Malay. Expected name: Klasikong Malay. - Code:
ms-old. Saw name: Old Malay. Expected name: Lumang Malay. - Code:
msm. Saw name: Agusan Manobo. Expected name: Manobo Agusan. - Code:
mt. Saw name: Maltese. Expected name: Maltes. - Code:
mul. Saw name: Translingual. Expected name: Maramihang wika. - Code:
mwl. Saw name: Mirandese. Expected name: Mirandes. - Code:
my. Saw name: Burmese. Expected name: Birmano. - Code:
na. Saw name: Nauruan. Expected name: Nauruano. - Code:
nap. Saw name: Neapolitan. Expected name: Napolitano. - Code:
nb. Saw name: Norwegian Bokmål. Expected name: Norwegong Bokmål. - Code:
nd. Saw name: Northern Ndebele. Expected name: Hilagang Ndebele. - Code:
nhe. Saw name: Eastern Huasteca Nahuatl. Expected name: Nahuatl ng Silangang Huasteca. - Code:
nhn. Saw name: Central Nahuatl. Expected name: Gitnang Nahuatl. - Code:
nl. Saw name: Dutch. Expected name: Olandes. - Code:
nn. Saw name: Norwegian Nynorsk. Expected name: Norwegong Nynorsk. - Code:
no. Saw name: Norwegian. Expected name: Norwego. - Code:
nr. Saw name: Southern Ndebele. Expected name: Katimugang Ndebele. - Code:
nv. Saw name: Navajo. Expected name: Navaho. - Code:
ny. Saw name: Chichewa. Expected name: Tsitsewa. - Code:
oc. Saw name: Occitan. Expected name: Oksitano. - Code:
och. Saw name: Old Chinese. Expected name: Lumang Tsino. - Code:
odt. Saw name: Old Dutch. Expected name: Lumang Nerlandes. - Code:
ofs. Saw name: Old Frisian. Expected name: Lumang Frison. - Code:
oge. Saw name: Old Georgian. Expected name: Lumang Heorhiyano. - Code:
ohu. Saw name: Old Hungarian. Expected name: Lumang Unggaro. - Code:
ojp. Saw name: Old Japanese. Expected name: Lumang Hapones. - Code:
okm. Saw name: Middle Korean. Expected name: Gitnang Koreano. - Code:
oko. Saw name: Old Korean. Expected name: Lumang Koreano. - Code:
okz. Saw name: Old Khmer. Expected name: Lumang Hemer. - Code:
okz-ang. Saw name: Old Khmer. Expected name: Lumang Hemer. - Code:
os. Saw name: Ossetian. Expected name: Osetyo. - Code:
osp. Saw name: Old Spanish. Expected name: Lumang Espanyol. - Code:
osx. Saw name: Old Saxon. Expected name: Lumang Sahon. - Code:
ota. Saw name: Ottoman Turkish. Expected name: Turko Otomano. - Code:
oui. Saw name: Old Uyghur. Expected name: Lumang Wigur. - Code:
pap. Saw name: Papiamentu. Expected name: Papyamento. - Code:
phi-pro. Saw name: Proto-Philippine. Expected name: Proto-Pilipino. - Code:
phl. Saw name: Phalura. Expected name: Palula. - Code:
pl. Saw name: Polish. Expected name: Polako. - Code:
plv. Saw name: Southwest Palawano. Expected name: Palaw-an Timog Kanluran. - Code:
plw. Saw name: Brooke's Point Palawano. Expected name: Palaw-an Brooke's Point. - Code:
pms. Saw name: Piedmontese. Expected name: Piedmontes. - Code:
pov. Saw name: Guinea-Bissau Creole. Expected name: Kriyolo ng Ginea-Bissau. - Code:
poz-pro. Saw name: Proto-Malayo-Polynesian. Expected name: Proto-Malayo-Polinesyo. - Code:
pro. Saw name: Old Occitan. Expected name: Lumang Oksitano. - Code:
ps. Saw name: Pashto. Expected name: Pastun. - Code:
pt. Saw name: Portuguese. Expected name: Portuges. - Code:
qu. Saw name: Quechua. Expected name: Ketsuwa. - Code:
rbl. Saw name: Miraya Bikol. Expected name: Bikol Miraya. - Code:
rm. Saw name: Romansch. Expected name: Romantse. - Code:
rmw. Saw name: Welsh Romani. Expected name: Romani Gales. - Code:
ro. Saw name: Romanian. Expected name: Rumano. - Code:
roa. Saw name: Romance. Expected name: Romanse. - Code:
roa-leo. Saw name: Leonese. Expected name: Leones. - Code:
roa-oca. Saw name: Old Catalan. Expected name: Lumang Katalan. - Code:
roa-ole. Saw name: Old Leonese. Expected name: Lumang Leones. - Code:
roa-opt. Saw name: Old Galician-Portuguese. Expected name: Lumang Galisyano-Portuges. - Code:
rol. Saw name: Romblomanon. Expected name: Ini. - Code:
ru. Saw name: Russian. Expected name: Ruso. - Code:
rue. Saw name: Carpathian Rusyn. Expected name: Rusino Karpato. - Code:
rup. Saw name: Aromanian. Expected name: Arumano. - Code:
ruq. Saw name: Megleno-Romanian. Expected name: Meglenorumano. - Code:
rw. Saw name: Rwanda-Rundi. Expected name: Kinyarwanda-Kirundi. - Code:
ryu. Saw name: Okinawan. Expected name: Okinawense. - Code:
sbl. Saw name: Botolan Sambal. Expected name: Sambal Botolan. - Code:
sc. Saw name: Sardinian. Expected name: Sardo. - Code:
scn. Saw name: Sicilian. Expected name: Sisilyano. - Code:
sco. Saw name: Scots. Expected name: Eskoses. - Code:
sd. Saw name: Sindhi. Expected name: Sindi. - Code:
se. Saw name: Northern Sami. Expected name: Hilagang Sami. - Code:
sga. Saw name: Old Irish. Expected name: Lumang Irlandes. - Code:
sgb. Saw name: Mag-Anchi Ayta. Expected name: Ayta Mag-antsi. - Code:
sgd. Saw name: Surigaonon. Expected name: Surigawnon. - Code:
sh. Saw name: Serbo-Croatian. Expected name: Serbokroata. - Code:
si. Saw name: Sinhalese. Expected name: Singgales. - Code:
sit. Saw name: Sino-Tibetan. Expected name: Sino-Tibetano. - Code:
sjm. Saw name: Mapun. Expected name: Jama Mapun. - Code:
sk. Saw name: Slovak. Expected name: Eslobako. - Code:
sl. Saw name: Slovene. Expected name: Eslobeno. - Code:
slm. Saw name: Pangutaran Sama. Expected name: Sama Pangutaran. - Code:
sm. Saw name: Samoan. Expected name: Samoano. - Code:
smk. Saw name: Bolinao. Expected name: Bolinaw. - Code:
sq. Saw name: Albanian. Expected name: Albanes. - Code:
srv. Saw name: Waray Sorsogon. Expected name: Katimugang Sorsoganon. - Code:
ss. Saw name: Swazi. Expected name: Suwazi. - Code:
sv. Saw name: Swedish. Expected name: Suweko. - Code:
szl. Saw name: Silesian. Expected name: Silesyo. - Code:
tbl. Saw name: Tboli. Expected name: Tiboli. - Code:
tbw. Saw name: Tagbanwa. Expected name: Tagbanwa Aborlan. - Code:
tdy. Saw name: Tadyawan. Expected name: Tadyawan Mangyan. - Code:
tg. Saw name: Tajik. Expected name: Tayiko. - Code:
th. Saw name: Thai. Expected name: Tailandes. - Code:
tiy. Saw name: Tiruray. Expected name: Tëduray. - Code:
tk. Saw name: Turkmen. Expected name: Turkomano. - Code:
tkl. Saw name: Tokelauan. Expected name: Tokelawano. - Code:
to. Saw name: Tongan. Expected name: Tongano. - Code:
tr. Saw name: Turkish. Expected name: Turko. - Code:
ts. Saw name: Tsonga. Expected name: Tsongga. - Code:
tsg. Saw name: Tausug. Expected name: Bahasa Sūg. - Code:
tt. Saw name: Tatar. Expected name: Tartaro. - Code:
tvl. Saw name: Tuvaluan. Expected name: Tuvalwano. - Code:
ty. Saw name: Tahitian. Expected name: Tahityano. - Code:
ubl. Saw name: Buhi'non Bikol. Expected name: Boînën. - Code:
ug. Saw name: Uyghur. Expected name: Wigur. - Code:
uk. Saw name: Ukrainian. Expected name: Ukranyano. - Code:
uz. Saw name: Uzbek. Expected name: Usbeko. - Code:
vi. Saw name: Vietnamese. Expected name: Biyetnames. - Code:
vsn. Saw name: Vedic Sanskrit. Expected name: Sanskrit ng Veda. - Code:
wa. Saw name: Walloon. Expected name: Valon. - Code:
war. Saw name: Waray-Waray. Expected name: Waray. - Code:
xno. Saw name: Old French. Expected name: Lumang Pranses. - Code:
yi. Saw name: Yiddish. Expected name: Yidis. - Code:
yrk. Saw name: Tundra Nenets. Expected name: Nenets. - Code:
yue. Saw name: Cantonese. Expected name: Kantones. - Code:
zh. Saw name: Chinese. Expected name: Tsino. - Code:
zlw-ocs. Saw name: Old Czech. Expected name: Lumang Tseko. - Code:
zlw-opl. Saw name: Old Polish. Expected name: Lumang Polako.
- The canonical name Arabeng Husestani (
acm-khu) is missing. - Arabe Huzestani, the canonical name for the code
acm-khu, is wrong; it should be Arabeng Husestani. - The canonical name Tibetanong Amdo (
adx) is missing. - Tibetano Amdo, the canonical name for the code
adx, is wrong; it should be Tibetanong Amdo. - Arabe Hilagang Levantino Alepino, the canonical name for the code
apc-ale, is wrong; it should be Arabeng Hilagang Lebantino ng Aleppo. - The canonical name Arabeng Hilagang Lebantino ng Aleppo (
apc-ale) is missing. - Arabe Hilagang Levantino Damaseno, the canonical name for the code
apc-dam, is wrong; it should be Arabeng Hilagang Lebantino ng Damascus. - The canonical name Arabeng Hilagang Lebantino ng Damascus (
apc-dam) is missing. - Arabe Hilagang Levantino Libanes, the canonical name for the code
apc-leb, is wrong; it should be Arabeng Hilagang Lebantino ng Lebanon. - The canonical name Arabeng Hilagang Lebantino ng Lebanon (
apc-leb) is missing. - The canonical name Arabeng Hilagang Lebantino ng Hilagang Lebanon (
apc-nle) is missing. - Arabe Hilagang Levantino Hilagang Libanes, the canonical name for the code
apc-nle, is wrong; it should be Arabeng Hilagang Lebantino ng Hilagang Lebanon. - The canonical name Arabeng Hilagang Lebantino ng Katimugang Lebanon (
apc-sle) is missing. - Arabe Hilagang Levantino Timog Libanes, the canonical name for the code
apc-sle, is wrong; it should be Arabeng Hilagang Lebantino ng Katimugang Lebanon. - The canonical name Arabeng Hilagang Lebantino ng Sirya (
apc-syr) is missing. - Arabe Hilagang Levantino Siryo, the canonical name for the code
apc-syr, is wrong; it should be Arabeng Hilagang Lebantino ng Sirya. - Azeri Klasikal, the canonical name for the code
az-cls, is wrong; it should be Klasikong Aseri. - The canonical name Klasikong Aseri (
az-cls) is missing. - The canonical name Karaniwang Bantu (
bnt-cmn) is missing. - Common Bantu, the canonical name for the code
bnt-cmn, is wrong; it should be Karaniwang Bantu. - The canonical name Serbokroatang Tsakabo (
ckm) is missing. - Serbokroata Tsakavo, the canonical name for the code
ckm, is wrong; it should be Serbokroatang Tsakabo. - The canonical name Klasikong Sanskrit (
cls) is missing. - Classical Sanskrit, the canonical name for the code
cls, is wrong; it should be Klasikong Sanskrit. - The canonical name Pilipinong Mandarin (
cmn-PH) is missing. - Mandarin Pilipino, the canonical name for the code
cmn-PH, is wrong; it should be Pilipinong Mandarin. - Mandarin Beijing, the canonical name for the code
cmn-bei, is wrong; it should be Mandarin ng Beijing. - The canonical name Mandarin ng Beijing (
cmn-bei) is missing. - The canonical name Aleman ng Austria (
de-AT) is missing. - Austrian German, the canonical name for the code
de-AT, is wrong; it should be Aleman ng Austria. - The canonical name Aleman ng Vienna (
de-AT-vie) is missing. - Viennese German, the canonical name for the code
de-AT-vie, is wrong; it should be Aleman ng Vienna. - Switzerland German, the canonical name for the code
de-CH, is wrong; it should be Aleman ng Suwisa. - The canonical name Aleman ng Suwisa (
de-CH) is missing. - Baltic German, the canonical name for the code
de-bal, is wrong; it should be Baltikong Aleman. - The canonical name Baltikong Aleman (
de-bal) is missing. - Aleman Mataas na Bago na Maaga, the canonical name for the code
de-ear, is wrong; it should be Maagang Bagong Mataas na Aleman. - The canonical name Maagang Bagong Mataas na Aleman (
de-ear) is missing. - Late Egyptian, the canonical name for the code
egy-lat, is wrong; it should be Huling Ehipsiyo. - The canonical name Huling Ehipsiyo (
egy-lat) is missing. - The canonical name Gitnang Ehipsiyo (
egy-mid) is missing. - Middle Egyptian, the canonical name for the code
egy-mid, is wrong; it should be Gitnang Ehipsiyo. - The canonical name Bagong Gitnang Ehipsiyo (
egy-nmi) is missing. - Neo-Middle Egyptian, the canonical name for the code
egy-nmi, is wrong; it should be Bagong Gitnang Ehipsiyo. - The canonical name Lumang Ehipsiyo (
egy-old) is missing. - Old Egyptian, the canonical name for the code
egy-old, is wrong; it should be Lumang Ehipsiyo. - Cretan Greek, the canonical name for the code
el-crt, is wrong; it should be Griyegong Kretano. - The canonical name Griyegong Kretano (
el-crt) is missing. - Cypriot Greek, the canonical name for the code
el-cyp, is wrong; it should be Griyegong Tsipriota. - The canonical name Griyegong Tsipriota (
el-cyp) is missing. - Ingles Awstralyano, the canonical name for the code
en-AU, is wrong; it should be Ingles ng Australia. - The canonical name Ingles ng Australia (
en-AU) is missing. - Ingles Kanadyense, the canonical name for the code
en-CA, is wrong; it should be Ingles ng Kanada. - The canonical name Ingles ng Kanada (
en-CA) is missing. - Ingles Britaniko, the canonical name for the code
en-GB, is wrong; it should be Britanikong Ingles. - The canonical name Britanikong Ingles (
en-GB) is missing. - The canonical name Ingles ng Hilagang Irlanda (
en-GB-NIR) is missing. - Ingles Hilagang Irlandes, the canonical name for the code
en-GB-NIR, is wrong; it should be Ingles ng Hilagang Irlanda. - Ingles Eskoses, the canonical name for the code
en-GB-SCT, is wrong; it should be Ingles ng Eskosya. - The canonical name Ingles ng Eskosya (
en-GB-SCT) is missing. - Ingles Gales, the canonical name for the code
en-GB-WLS, is wrong; it should be Ingles ng Gales. - The canonical name Ingles ng Gales (
en-GB-WLS) is missing. - The canonical name Ingles ng Hong Kong (
en-HK) is missing. - Ingles Hong Kong, the canonical name for the code
en-HK, is wrong; it should be Ingles ng Hong Kong. - The canonical name Ingles ng Irlanda (
en-IE) is missing. - Ingles Irlandes, the canonical name for the code
en-IE, is wrong; it should be Ingles ng Irlanda. - Ingles Manes, the canonical name for the code
en-IM, is wrong; it should be Ingles ng Man. - The canonical name Ingles ng Man (
en-IM) is missing. - Ingles Indiyo, the canonical name for the code
en-IN, is wrong; it should be Indiyanong Ingles. - The canonical name Indiyanong Ingles (
en-IN) is missing. - Ingles Hilagang Amerikano, the canonical name for the code
en-NNN, is wrong; it should be Ingles ng Hilagang Amerika. - The canonical name Ingles ng Hilagang Amerika (
en-NNN) is missing. - Ingles Neozelandes, the canonical name for the code
en-NZ, is wrong; it should be Ingles ng Nueva Selanda. - The canonical name Ingles ng Nueva Selanda (
en-NZ) is missing. - The canonical name Amerikanong Ingles (
en-US) is missing. - Ingles Amerikano, the canonical name for the code
en-US, is wrong; it should be Amerikanong Ingles. - The canonical name Ingles ng California (
en-US-CA) is missing. - Ingles Kalifornya, the canonical name for the code
en-US-CA, is wrong; it should be Ingles ng California. - Ingles Timog Afrikano, the canonical name for the code
en-ZA, is wrong; it should be Ingles ng Timog Aprika. - The canonical name Ingles ng Timog Aprika (
en-ZA) is missing. - The canonical name Ingles ng Katutubong Australia (
en-aae) is missing. - Ingles Katutubong Awstralyano, the canonical name for the code
en-aae, is wrong; it should be Ingles ng Katutubong Australia. - The canonical name Maagang Modernong Ingles (
en-ear) is missing. - Ingles Modernong Maaga, the canonical name for the code
en-ear, is wrong; it should be Maagang Modernong Ingles. - The canonical name Ingles ng Ulster (
en-uls) is missing. - Ingles Ulster, the canonical name for the code
en-uls, is wrong; it should be Ingles ng Ulster. - Espanyol Riyoplatense, the canonical name for the code
es-AR, is wrong; it should be Espanyol ng Rio Plata. - The canonical name Espanyol ng Rio Plata (
es-AR) is missing. - The canonical name Espanyol ng Bulibya (
es-BO) is missing. - Espanyol Bolivyano, the canonical name for the code
es-BO, is wrong; it should be Espanyol ng Bulibya. - Espanyol Tsileno, the canonical name for the code
es-CL, is wrong; it should be Espanyol ng Tsile. - The canonical name Espanyol ng Tsile (
es-CL) is missing. - The canonical name Espanyol ng Kolombya (
es-CO) is missing. - Espanyol Colombiyano, the canonical name for the code
es-CO, is wrong; it should be Espanyol ng Kolombya. - Espanyol Kubano, the canonical name for the code
es-CU, is wrong; it should be Kubanong Espanyol. - The canonical name Kubanong Espanyol (
es-CU) is missing. - Espanyol Mehikano, the canonical name for the code
es-MX, is wrong; it should be Mehikanong Espanyol. - The canonical name Mehikanong Espanyol (
es-MX) is missing. - Espanyol Perwano, the canonical name for the code
es-PE, is wrong; it should be Espanyol ng Peru. - The canonical name Espanyol ng Peru (
es-PE) is missing. - Espanyol Pilipino, the canonical name for the code
es-PH, is wrong; it should be Pilipinong Espanyol. - The canonical name Pilipinong Espanyol (
es-PH) is missing. - Espanyol Puwertorikeño, the canonical name for the code
es-PR, is wrong; it should be Espanyol ng Puerto Rico. - The canonical name Espanyol ng Puerto Rico (
es-PR) is missing. - Espanyol Estados Unidos, the canonical name for the code
es-US, is wrong; it should be Amerikanong Espanyol. - The canonical name Amerikanong Espanyol (
es-US) is missing. - Espanyol Venezolano, the canonical name for the code
es-VE, is wrong; it should be Espanyol ng Beneswela. - The canonical name Espanyol ng Beneswela (
es-VE) is missing. - The canonical name Maagang Modernong Espanyol (
es-ear) is missing. - Espanyol Modernong Maaga, the canonical name for the code
es-ear, is wrong; it should be Maagang Modernong Espanyol. - The canonical name Pranses ng Kanada (
fr-CA) is missing. - Ukranyano Franses, the canonical name for the code
fr-CA, is wrong; it should be Pranses ng Kanada. - Swiss French, the canonical name for the code
fr-CH, is wrong; it should be Pranses ng Suwisa. - The canonical name Pranses ng Suwisa (
fr-CH) is missing. - The canonical name Pranses ng Acadia (
fr-aca) is missing. - Acadian French, the canonical name for the code
fr-aca, is wrong; it should be Pranses ng Acadia. - Louisiana French, the canonical name for the code
fr-lou, is wrong; it should be Pranses ng Louisiana. - The canonical name Pranses ng Louisiana (
fr-lou) is missing. - The canonical name Pranses ng Missouri (
fr-mis) is missing. - Missouri French, the canonical name for the code
fr-mis, is wrong; it should be Pranses ng Missouri. - The canonical name Pranses na Cajun (
frc) is missing. - Cajun French, the canonical name for the code
frc, is wrong; it should be Pranses na Cajun. - The canonical name Prankiko (
frk) is missing. - Frankish, the canonical name for the code
frk, is wrong; it should be Prankiko. - Suevic, the canonical name for the code
gem-sue, is wrong; it should be Suebiko. - The canonical name Suebiko (
gem-sue) is missing. - The canonical name Griyegong Bisantino (
gkm) is missing. - Byzantine Greek, the canonical name for the code
gkm, is wrong; it should be Griyegong Bisantino. - The canonical name Proto-Anglo-Prisyano (
gmw-afr-pro) is missing. - Proto-Anglo-Frisian, the canonical name for the code
gmw-afr-pro, is wrong; it should be Proto-Anglo-Prisyano. - Proto-North Sea Germanic, the canonical name for the code
gmw-nsg-pro, is wrong; it should be Proto-Alemaniko ng Dagat Hilaga. - The canonical name Proto-Alemaniko ng Dagat Hilaga (
gmw-nsg-pro) is missing. - Aeolic Greek, the canonical name for the code
grc-aeo, is wrong; it should be Aeolikong Griyego. - The canonical name Aeolikong Griyego (
grc-aeo) is missing. - The canonical name Griyego ng Arcadia (
grc-arc) is missing. - Arcadian Greek, the canonical name for the code
grc-arc, is wrong; it should be Griyego ng Arcadia. - The canonical name Griyegong Arkadotsipriota (
grc-arp) is missing. - Arcadocypriot Greek, the canonical name for the code
grc-arp, is wrong; it should be Griyegong Arkadotsipriota. - Attic Greek, the canonical name for the code
grc-att, is wrong; it should be Atikong Griyego. - The canonical name Atikong Griyego (
grc-att) is missing. - Boeotian Greek, the canonical name for the code
grc-boi, is wrong; it should be Griyegong Boeotiyano. - The canonical name Griyegong Boeotiyano (
grc-boi) is missing. - Doric Greek, the canonical name for the code
grc-dor, is wrong; it should be Dorikong Griyego. - The canonical name Dorikong Griyego (
grc-dor) is missing. - Epic Greek, the canonical name for the code
grc-epc, is wrong; it should be Epikong Griyego. - The canonical name Epikong Griyego (
grc-epc) is missing. - The canonical name Ionikong Griyego (
grc-ion) is missing. - Ionic Greek, the canonical name for the code
grc-ion, is wrong; it should be Ionikong Griyego. - Koine Greek, the canonical name for the code
grc-koi, is wrong; it should be Griyegong Koine. - The canonical name Griyegong Koine (
grc-koi) is missing. - Alsatian Alemannic German, the canonical name for the code
gsw-FR-als, is wrong; it should be Alemanikong Aleman ng Alsasya. - The canonical name Alemanikong Aleman ng Alsasya (
gsw-FR-als) is missing. - High Alemannic German, the canonical name for the code
gsw-hig, is wrong; it should be Mataas na Alemanikong Aleman. - The canonical name Mataas na Alemanikong Aleman (
gsw-hig) is missing. - The canonical name Pinakamataas na Alemanikong Aleman (
gsw-hst) is missing. - Highest Alemannic German, the canonical name for the code
gsw-hst, is wrong; it should be Pinakamataas na Alemanikong Aleman. - The canonical name Mababang Alemanikong Aleman (
gsw-low) is missing. - Low Alemannic German, the canonical name for the code
gsw-low, is wrong; it should be Mababang Alemanikong Aleman. - Ilokano Kaigorotan, the canonical name for the code
ilo-car, is wrong; it should be Ilokanong Kaigorotan. - The canonical name Ilokanong Kaigorotan (
ilo-car) is missing. - Ilokano Cagayan Valley, the canonical name for the code
ilo-cvy, is wrong; it should be Ilokano ng Lambak ng Cagayan. - The canonical name Ilokano ng Lambak ng Cagayan (
ilo-cvy) is missing. - Ilokano Amianan, the canonical name for the code
ilo-nor, is wrong; it should be Ilokanong Amianan. - The canonical name Ilokanong Amianan (
ilo-nor) is missing. - The canonical name Ilokanong Abagatan (
ilo-sou) is missing. - Ilokano Abagatan, the canonical name for the code
ilo-sou, is wrong; it should be Ilokanong Abagatan. - The canonical name Italyano ng Suwisa (
it-CH) is missing. - Switzerland Italian, the canonical name for the code
it-CH, is wrong; it should be Italyano ng Suwisa. - Old Latin, the canonical name for the code
itc-ola, is wrong; it should be Lumang Latin. - The canonical name Lumang Latin (
itc-ola) is missing. - Hapones Klasikal, the canonical name for the code
ja-cla, is wrong; it should be Klasikong Hapones. - The canonical name Klasikong Hapones (
ja-cla) is missing. - Hapones Modernong Maaga, the canonical name for the code
ja-ear, is wrong; it should be Maagang Modernong Hapones. - The canonical name Maagang Modernong Hapones (
ja-ear) is missing. - Hapones Gitnang Maaga, the canonical name for the code
ja-mid-ear, is wrong; it should be Maagang Gitnang Hapones. - The canonical name Maagang Gitnang Hapones (
ja-mid-ear) is missing. - Late Middle Japanese, the canonical name for the code
ja-mid-lat, is wrong; it should be Huling Gitnang Hapones. - The canonical name Huling Gitnang Hapones (
ja-mid-lat) is missing. - The canonical name Tibetanong Khams (
khg) is missing. - Tibetano Khams, the canonical name for the code
khg, is wrong; it should be Tibetanong Khams. - Serbokroata Kaykavo, the canonical name for the code
kjv, is wrong; it should be Serbokroatang Kaykabo. - The canonical name Serbokroatang Kaykabo (
kjv) is missing. - The canonical name Sentrong Koreano (
ko-cen) is missing. - Koreano Sentral, the canonical name for the code
ko-cen, is wrong; it should be Sentrong Koreano. - Koreano Chungcheong, the canonical name for the code
ko-chu, is wrong; it should be Koreano ng Chungcheong. - The canonical name Koreano ng Chungcheong (
ko-chu) is missing. - Koreano Yeongdong, the canonical name for the code
ko-gan, is wrong; it should be Koreano ng Yeongdong. - The canonical name Koreano ng Yeongdong (
ko-gan) is missing. - The canonical name Koreano ng Gyeonggi (
ko-gyg) is missing. - Koreano Gyeonggi, the canonical name for the code
ko-gyg, is wrong; it should be Koreano ng Gyeonggi. - Koreano Gyeongsang, the canonical name for the code
ko-gys, is wrong; it should be Koreano ng Gyeongsang. - The canonical name Koreano ng Gyeongsang (
ko-gys) is missing. - Koreano Hamgyong, the canonical name for the code
ko-ham, is wrong; it should be Koreano ng Hamgyong. - The canonical name Koreano ng Hamgyong (
ko-ham) is missing. - The canonical name Koreano ng Hwanghae (
ko-hwa) is missing. - Koreano Hwanghae, the canonical name for the code
ko-hwa, is wrong; it should be Koreano ng Hwanghae. - The canonical name Koreano ng Jeolla (
ko-jeo) is missing. - Koreano Jeolla, the canonical name for the code
ko-jeo, is wrong; it should be Koreano ng Jeolla. - Koreano Pyongan, the canonical name for the code
ko-pyo, is wrong; it should be Koreano ng Pyongan. - The canonical name Koreano ng Pyongan (
ko-pyo) is missing. - The canonical name Koreano ng Yukjin (
ko-yuk) is missing. - Koreano Yukjin, the canonical name for the code
ko-yuk, is wrong; it should be Koreano ng Yukjin. - Classical Latin, the canonical name for the code
la-cla, is wrong; it should be Klasikong Latin. - The canonical name Klasikong Latin (
la-cla) is missing. - The canonical name Kasalukuyang Latin (
la-con) is missing. - Contemporary Latin, the canonical name for the code
la-con, is wrong; it should be Kasalukuyang Latin. - Ecclesiastical Latin, the canonical name for the code
la-ecc, is wrong; it should be Latin ng Simbahan. - The canonical name Latin ng Simbahan (
la-ecc) is missing. - Early Medieval Latin, the canonical name for the code
la-eme, is wrong; it should be Maagang Medyebal na Latin. - The canonical name Maagang Medyebal na Latin (
la-eme) is missing. - Late Latin, the canonical name for the code
la-lat, is wrong; it should be Huling Latin. - The canonical name Huling Latin (
la-lat) is missing. - Medieval Latin, the canonical name for the code
la-med, is wrong; it should be Medyebal na Latin. - The canonical name Medyebal na Latin (
la-med) is missing. - The canonical name Bagong Latin (
la-new) is missing. - New Latin, the canonical name for the code
la-new, is wrong; it should be Bagong Latin. - Renaissance Latin, the canonical name for the code
la-ren, is wrong; it should be Latin ng Renasimiyento. - The canonical name Latin ng Renasimiyento (
la-ren) is missing. - Lombardic, the canonical name for the code
lng, is wrong; it should be Lombardiko. - The canonical name Lombardiko (
lng) is missing. - Tsino Gitnang Maaga, the canonical name for the code
ltc-ear, is wrong; it should be Maagang Gitnang Tsino. - The canonical name Maagang Gitnang Tsino (
ltc-ear) is missing. - The canonical name Huling Gitnang Tsino (
ltc-lat) is missing. - Late Middle Chinese, the canonical name for the code
ltc-lat, is wrong; it should be Huling Gitnang Tsino. - The canonical name Klasikong Tsino ng Korea (
lzh-KO) is missing. - Korean Classical Chinese, the canonical name for the code
lzh-KO, is wrong; it should be Klasikong Tsino ng Korea. - Vietnamese Classical Chinese, the canonical name for the code
lzh-VI, is wrong; it should be Klasikong Tsino ng Biyetnam. - The canonical name Klasikong Tsino ng Biyetnam (
lzh-VI) is missing. - Classical Mandarin, the canonical name for the code
lzh-cmn, is wrong; it should be Klasikong Mandarin. - The canonical name Klasikong Mandarin (
lzh-cmn) is missing. - The canonical name Klasikong Mandarin ng Taiwan (
lzh-cmn-TW) is missing. - Classical Taiwanese Mandarin, the canonical name for the code
lzh-cmn-TW, is wrong; it should be Klasikong Mandarin ng Taiwan. - Literary Chinese, the canonical name for the code
lzh-lit, is wrong; it should be Pampanitikang Tsino. - The canonical name Preklasikong Tsino (
lzh-pre) is missing. - Pre-Classical Chinese, the canonical name for the code
lzh-pre, is wrong; it should be Preklasikong Tsino. - The canonical name Tradisyonal na panulaang Tsino (
lzh-shi) is missing. - Traditional Chinese poetry, the canonical name for the code
lzh-shi, is wrong; it should be Tradisyonal na panulaang Tsino. - The canonical name Klasikong Taishanes (
lzh-tai) is missing. - Classical Taishanese, the canonical name for the code
lzh-tai, is wrong; it should be Klasikong Taishanes. - The canonical name Klasikong Kantones (
lzh-yue) is missing. - Classical Cantonese, the canonical name for the code
lzh-yue, is wrong; it should be Klasikong Kantones. - Malay Klasikal, the canonical name for the code
ms-cla, is wrong; it should be Klasikong Malay. - The canonical name Klasikong Malay (
ms-cla) is missing. - The canonical name Lumang Malay (
ms-old) is missing. - Lumang Malayo, the canonical name for the code
ms-old, is wrong; it should be Lumang Malay. - Philippine Hokkien, the canonical name for the code
nan-hbl-PH, is wrong; it should be Pilipinong Hokkien. - The canonical name Pilipinong Hokkien (
nan-hbl-PH) is missing. - The canonical name Lumang Neapolitano (
nap-old) is missing. - Old Neapolitan, the canonical name for the code
nap-old, is wrong; it should be Lumang Neapolitano. - The code
nds-deand the canonical name German Low German should be removed; they are not found in Module:etymology languages/data. - The code
nds-nland the canonical name Dutch Low Saxon should be removed; they are not found in Module:etymology languages/data. - The canonical name Olandes ng Belhika (
nl-BE) is missing. - Belgian Dutch, the canonical name for the code
nl-BE, is wrong; it should be Olandes ng Belhika. - The canonical name Maagang Lumang Tsino (
och-ear) is missing. - Tsino Lumang Maaga, the canonical name for the code
och-ear, is wrong; it should be Maagang Lumang Tsino. - Late Old Chinese, the canonical name for the code
och-lat, is wrong; it should be Huling Lumang Tsino. - The canonical name Huling Lumang Tsino (
och-lat) is missing. - Hapones Lumang Silanganin, the canonical name for the code
ojp-eas, is wrong; it should be Silangang Lumang Hapones. - The canonical name Silangang Lumang Hapones (
ojp-eas) is missing. - Early Middle Korean, the canonical name for the code
okm-ear, is wrong; it should be Maagang Gitnang Koreano. - The canonical name Maagang Gitnang Koreano (
okm-ear) is missing. - Late Old Korean, the canonical name for the code
oko-lat, is wrong; it should be Huling Lumang Koreano. - The canonical name Huling Lumang Koreano (
oko-lat) is missing. - Palatine German, the canonical name for the code
pfl, is wrong; it should be Alemang Palatinado. - The canonical name Alemang Palatinado (
pfl) is missing. - The canonical name Timog-silangang Pastun (
ps-sea) is missing. - Timog Silanganing Pastun, the canonical name for the code
ps-sea, is wrong; it should be Timog-silangang Pastun. - Timog Kanluraning Pastun, the canonical name for the code
ps-swe, is wrong; it should be Timog-kanlurang Pastun. - The canonical name Timog-kanlurang Pastun (
ps-swe) is missing. - Portugues Brasileño, the canonical name for the code
pt-BR, is wrong; it should be Brasilyanong Portuges. - The canonical name Brasilyanong Portuges (
pt-BR) is missing. - The canonical name Europeong Portuges (
pt-PT) is missing. - Portugues Europeo, the canonical name for the code
pt-PT, is wrong; it should be Europeong Portuges. - Pre-Greek, the canonical name for the code
qsb-grc, is wrong; it should be Pre-Griyego. - The canonical name a Pre-Griyego substrate (
qsb-grc) is missing. - Proto-Romance, the canonical name for the code
roa-pro, is wrong; it should be Proto-Romanse. - The canonical name Proto-Romanse (
roa-pro) is missing. - Brahmanic Sanskrit, the canonical name for the code
sa-bra, is wrong; it should be Bramanikong Sanskrit. - The canonical name Bramanikong Sanskrit (
sa-bra) is missing. - New Sanskrit, the canonical name for the code
sa-neo, is wrong; it should be Bagong Sanskrit. - The canonical name Bagong Sanskrit (
sa-neo) is missing. - The canonical name Lumang Sisilyo (
scn-old) is missing. - Old Sicilian, the canonical name for the code
scn-old, is wrong; it should be Lumang Sisilyo. - The canonical name Serbokroatang Torlak (
sh-tor) is missing. - Serbokroata Torlak, the canonical name for the code
sh-tor, is wrong; it should be Serbokroatang Torlak. - The canonical name Medyebal na Tashelhit (
shi-med) is missing. - Medieval Tashelhit, the canonical name for the code
shi-med, is wrong; it should be Medyebal na Tashelhit. - The canonical name Silangang Gitnang Aleman ng Silesya (
sli) is missing. - Silesian East Central German, the canonical name for the code
sli, is wrong; it should be Silangang Gitnang Aleman ng Silesya. - Upper Saxon German, the canonical name for the code
sxu, is wrong; it should be Aleman ng Itaas na Sahonya. - The canonical name Aleman ng Itaas na Sahonya (
sxu) is missing. - Tagalog Aurora, the canonical name for the code
tl-aur, is wrong; it should be Tagalog ng Aurora. - The canonical name Tagalog ng Aurora (
tl-aur) is missing. - The canonical name Tagalog ng Baguio (
tl-bag) is missing. - Tagalog Baguio, the canonical name for the code
tl-bag, is wrong; it should be Tagalog ng Baguio. - The canonical name Tagalog ng Bataan (
tl-ban) is missing. - Tagalog Bataan, the canonical name for the code
tl-ban, is wrong; it should be Tagalog ng Bataan. - The canonical name Batanggenyong Tagalog (
tl-btg) is missing. - Tagalog Batangas, the canonical name for the code
tl-btg, is wrong; it should be Batanggenyong Tagalog. - Tagalog Bulacan, the canonical name for the code
tl-bul, is wrong; it should be Bulakenyong Tagalog. - The canonical name Bulakenyong Tagalog (
tl-bul) is missing. - Tagalog Camarines Norte, the canonical name for the code
tl-can, is wrong; it should be Tagalog ng Camarines Norte. - The canonical name Tagalog ng Camarines Norte (
tl-can) is missing. - Tagalog Sentral, the canonical name for the code
tl-cen, is wrong; it should be Gitnang Tagalog. - The canonical name Gitnang Tagalog (
tl-cen) is missing. - The canonical name Klasikong Tagalog (
tl-cls) is missing. - Tagalog Klasikal, the canonical name for the code
tl-cls, is wrong; it should be Klasikong Tagalog. - Tagalog Laguna, the canonical name for the code
tl-lag, is wrong; it should be Tagalog ng Laguna. - The canonical name Tagalog ng Laguna (
tl-lag) is missing. - The canonical name Marindukenyong Tagalog (
tl-mad) is missing. - Tagalog Marinduque, the canonical name for the code
tl-mad, is wrong; it should be Marindukenyong Tagalog. - The canonical name Tagalog ng Mindoro (
tl-mdo) is missing. - Tagalog Mindoro, the canonical name for the code
tl-mdo, is wrong; it should be Tagalog ng Mindoro. - The canonical name Hilagang Tagalog (
tl-nor) is missing. - Kahilagaang Tagalog, the canonical name for the code
tl-nor, is wrong; it should be Hilagang Tagalog. - The canonical name Tagalog ng Nueva Ecija (
tl-nue) is missing. - Tagalog Nueva Ecija, the canonical name for the code
tl-nue, is wrong; it should be Tagalog ng Nueva Ecija. - The canonical name Tayabasing Tagalog (
tl-que) is missing. - Tagalog Quezon, the canonical name for the code
tl-que, is wrong; it should be Tayabasing Tagalog. - The canonical name Rizalenyong Tagalog (
tl-riz) is missing. - Tagalog Rizal, the canonical name for the code
tl-riz, is wrong; it should be Rizalenyong Tagalog. - The canonical name Tsinoy Tagalog (
tl-zho) is missing. - Tagalog Tsinoy, the canonical name for the code
tl-zho, is wrong; it should be Tsinoy Tagalog. - Ukranyano Kanadyense, the canonical name for the code
uk-CA, is wrong; it should be Ukranyano ng Kanada. - The canonical name Ukranyano ng Kanada (
uk-CA) is missing. - Vedic Sanskrit, the canonical name for the code
vsn, is wrong; it should be Sanskrit ng Veda. - The canonical name Sanskrit ng Veda (
vsn) is missing. - The canonical name Alemang Walser (
wae) is missing. - Walser German, the canonical name for the code
wae, is wrong; it should be Alemang Walser. - The code
xaqand the canonical name Aquitanian should be removed; they are not found in Module:etymology languages/data. - The canonical name Kankanaey Aplay (
xnn) is missing. - Kankanaëy Aplay, the canonical name for the code
xnn, is wrong; it should be Kankanaey Aplay.
- Arabe Huzestani, the canonical name for the code
acm-khu, is wrong; it should be Arabeng Husestani. - Tibetano Amdo, the canonical name for the code
adx, is wrong; it should be Tibetanong Amdo. - Arabe Hilagang Levantino Alepino, the canonical name for the code
apc-ale, is wrong; it should be Arabeng Hilagang Lebantino ng Aleppo. - Arabe Hilagang Levantino Damaseno, the canonical name for the code
apc-dam, is wrong; it should be Arabeng Hilagang Lebantino ng Damascus. - Arabe Hilagang Levantino Libanes, the canonical name for the code
apc-leb, is wrong; it should be Arabeng Hilagang Lebantino ng Lebanon. - Arabe Hilagang Levantino Hilagang Libanes, the canonical name for the code
apc-nle, is wrong; it should be Arabeng Hilagang Lebantino ng Hilagang Lebanon. - Arabe Hilagang Levantino Timog Libanes, the canonical name for the code
apc-sle, is wrong; it should be Arabeng Hilagang Lebantino ng Katimugang Lebanon. - Arabe Hilagang Levantino Siryo, the canonical name for the code
apc-syr, is wrong; it should be Arabeng Hilagang Lebantino ng Sirya. - Azeri Klasikal, the canonical name for the code
az-cls, is wrong; it should be Klasikong Aseri. - Common Bantu, the canonical name for the code
bnt-cmn, is wrong; it should be Karaniwang Bantu. - Serbokroata Tsakavo, the canonical name for the code
ckm, is wrong; it should be Serbokroatang Tsakabo. - Classical Sanskrit, the canonical name for the code
cls, is wrong; it should be Klasikong Sanskrit. - Mandarin Pilipino, the canonical name for the code
cmn-PH, is wrong; it should be Pilipinong Mandarin. - Mandarin Beijing, the canonical name for the code
cmn-bei, is wrong; it should be Mandarin ng Beijing. - Austrian German, the canonical name for the code
de-AT, is wrong; it should be Aleman ng Austria. - Viennese German, the canonical name for the code
de-AT-vie, is wrong; it should be Aleman ng Vienna. - Switzerland German, the canonical name for the code
de-CH, is wrong; it should be Aleman ng Suwisa. - Baltic German, the canonical name for the code
de-bal, is wrong; it should be Baltikong Aleman. - Aleman Mataas na Bago na Maaga, the canonical name for the code
de-ear, is wrong; it should be Maagang Bagong Mataas na Aleman. - Late Egyptian, the canonical name for the code
egy-lat, is wrong; it should be Huling Ehipsiyo. - Middle Egyptian, the canonical name for the code
egy-mid, is wrong; it should be Gitnang Ehipsiyo. - Neo-Middle Egyptian, the canonical name for the code
egy-nmi, is wrong; it should be Bagong Gitnang Ehipsiyo. - Old Egyptian, the canonical name for the code
egy-old, is wrong; it should be Lumang Ehipsiyo. - Cretan Greek, the canonical name for the code
el-crt, is wrong; it should be Griyegong Kretano. - Cypriot Greek, the canonical name for the code
el-cyp, is wrong; it should be Griyegong Tsipriota. - Ingles Awstralyano, the canonical name for the code
en-AU, is wrong; it should be Ingles ng Australia. - Ingles Kanadyense, the canonical name for the code
en-CA, is wrong; it should be Ingles ng Kanada. - Ingles Britaniko, the canonical name for the code
en-GB, is wrong; it should be Britanikong Ingles. - Ingles Hilagang Irlandes, the canonical name for the code
en-GB-NIR, is wrong; it should be Ingles ng Hilagang Irlanda. - Ingles Eskoses, the canonical name for the code
en-GB-SCT, is wrong; it should be Ingles ng Eskosya. - Ingles Gales, the canonical name for the code
en-GB-WLS, is wrong; it should be Ingles ng Gales. - Ingles Hong Kong, the canonical name for the code
en-HK, is wrong; it should be Ingles ng Hong Kong. - Ingles Irlandes, the canonical name for the code
en-IE, is wrong; it should be Ingles ng Irlanda. - Ingles Manes, the canonical name for the code
en-IM, is wrong; it should be Ingles ng Man. - Ingles Indiyo, the canonical name for the code
en-IN, is wrong; it should be Indiyanong Ingles. - Ingles Hilagang Amerikano, the canonical name for the code
en-NNN, is wrong; it should be Ingles ng Hilagang Amerika. - Ingles Neozelandes, the canonical name for the code
en-NZ, is wrong; it should be Ingles ng Nueva Selanda. - Ingles Amerikano, the canonical name for the code
en-US, is wrong; it should be Amerikanong Ingles. - Ingles Kalifornya, the canonical name for the code
en-US-CA, is wrong; it should be Ingles ng California. - Ingles Timog Afrikano, the canonical name for the code
en-ZA, is wrong; it should be Ingles ng Timog Aprika. - Ingles Katutubong Awstralyano, the canonical name for the code
en-aae, is wrong; it should be Ingles ng Katutubong Australia. - Ingles Modernong Maaga, the canonical name for the code
en-ear, is wrong; it should be Maagang Modernong Ingles. - Ingles Ulster, the canonical name for the code
en-uls, is wrong; it should be Ingles ng Ulster. - Espanyol Riyoplatense, the canonical name for the code
es-AR, is wrong; it should be Espanyol ng Rio Plata. - Espanyol Bolivyano, the canonical name for the code
es-BO, is wrong; it should be Espanyol ng Bulibya. - Espanyol Tsileno, the canonical name for the code
es-CL, is wrong; it should be Espanyol ng Tsile. - Espanyol Colombiyano, the canonical name for the code
es-CO, is wrong; it should be Espanyol ng Kolombya. - Espanyol Kubano, the canonical name for the code
es-CU, is wrong; it should be Kubanong Espanyol. - Espanyol Mehikano, the canonical name for the code
es-MX, is wrong; it should be Mehikanong Espanyol. - Espanyol Perwano, the canonical name for the code
es-PE, is wrong; it should be Espanyol ng Peru. - Espanyol Pilipino, the canonical name for the code
es-PH, is wrong; it should be Pilipinong Espanyol. - Espanyol Puwertorikeño, the canonical name for the code
es-PR, is wrong; it should be Espanyol ng Puerto Rico. - Espanyol Estados Unidos, the canonical name for the code
es-US, is wrong; it should be Amerikanong Espanyol. - Espanyol Venezolano, the canonical name for the code
es-VE, is wrong; it should be Espanyol ng Beneswela. - Espanyol Modernong Maaga, the canonical name for the code
es-ear, is wrong; it should be Maagang Modernong Espanyol. - Ukranyano Franses, the canonical name for the code
fr-CA, is wrong; it should be Pranses ng Kanada. - Swiss French, the canonical name for the code
fr-CH, is wrong; it should be Pranses ng Suwisa. - Acadian French, the canonical name for the code
fr-aca, is wrong; it should be Pranses ng Acadia. - Louisiana French, the canonical name for the code
fr-lou, is wrong; it should be Pranses ng Louisiana. - Missouri French, the canonical name for the code
fr-mis, is wrong; it should be Pranses ng Missouri. - Cajun French, the canonical name for the code
frc, is wrong; it should be Pranses na Cajun. - Frankish, the canonical name for the code
frk, is wrong; it should be Prankiko. - Suevic, the canonical name for the code
gem-sue, is wrong; it should be Suebiko. - Byzantine Greek, the canonical name for the code
gkm, is wrong; it should be Griyegong Bisantino. - Proto-Anglo-Frisian, the canonical name for the code
gmw-afr-pro, is wrong; it should be Proto-Anglo-Prisyano. - Proto-North Sea Germanic, the canonical name for the code
gmw-nsg-pro, is wrong; it should be Proto-Alemaniko ng Dagat Hilaga. - Aeolic Greek, the canonical name for the code
grc-aeo, is wrong; it should be Aeolikong Griyego. - Arcadian Greek, the canonical name for the code
grc-arc, is wrong; it should be Griyego ng Arcadia. - Arcadocypriot Greek, the canonical name for the code
grc-arp, is wrong; it should be Griyegong Arkadotsipriota. - Attic Greek, the canonical name for the code
grc-att, is wrong; it should be Atikong Griyego. - Boeotian Greek, the canonical name for the code
grc-boi, is wrong; it should be Griyegong Boeotiyano. - Doric Greek, the canonical name for the code
grc-dor, is wrong; it should be Dorikong Griyego. - Epic Greek, the canonical name for the code
grc-epc, is wrong; it should be Epikong Griyego. - Ionic Greek, the canonical name for the code
grc-ion, is wrong; it should be Ionikong Griyego. - Koine Greek, the canonical name for the code
grc-koi, is wrong; it should be Griyegong Koine. - Alsatian Alemannic German, the canonical name for the code
gsw-FR-als, is wrong; it should be Alemanikong Aleman ng Alsasya. - High Alemannic German, the canonical name for the code
gsw-hig, is wrong; it should be Mataas na Alemanikong Aleman. - Highest Alemannic German, the canonical name for the code
gsw-hst, is wrong; it should be Pinakamataas na Alemanikong Aleman. - Low Alemannic German, the canonical name for the code
gsw-low, is wrong; it should be Mababang Alemanikong Aleman. - Ilokano Kaigorotan, the canonical name for the code
ilo-car, is wrong; it should be Ilokanong Kaigorotan. - Ilokano Cagayan Valley, the canonical name for the code
ilo-cvy, is wrong; it should be Ilokano ng Lambak ng Cagayan. - Ilokano Amianan, the canonical name for the code
ilo-nor, is wrong; it should be Ilokanong Amianan. - Ilokano Abagatan, the canonical name for the code
ilo-sou, is wrong; it should be Ilokanong Abagatan. - Switzerland Italian, the canonical name for the code
it-CH, is wrong; it should be Italyano ng Suwisa. - Old Latin, the canonical name for the code
itc-ola, is wrong; it should be Lumang Latin. - Hapones Klasikal, the canonical name for the code
ja-cla, is wrong; it should be Klasikong Hapones. - Hapones Modernong Maaga, the canonical name for the code
ja-ear, is wrong; it should be Maagang Modernong Hapones. - Hapones Gitnang Maaga, the canonical name for the code
ja-mid-ear, is wrong; it should be Maagang Gitnang Hapones. - Late Middle Japanese, the canonical name for the code
ja-mid-lat, is wrong; it should be Huling Gitnang Hapones. - Tibetano Khams, the canonical name for the code
khg, is wrong; it should be Tibetanong Khams. - Serbokroata Kaykavo, the canonical name for the code
kjv, is wrong; it should be Serbokroatang Kaykabo. - Koreano Sentral, the canonical name for the code
ko-cen, is wrong; it should be Sentrong Koreano. - Koreano Chungcheong, the canonical name for the code
ko-chu, is wrong; it should be Koreano ng Chungcheong. - Koreano Yeongdong, the canonical name for the code
ko-gan, is wrong; it should be Koreano ng Yeongdong. - Koreano Gyeonggi, the canonical name for the code
ko-gyg, is wrong; it should be Koreano ng Gyeonggi. - Koreano Gyeongsang, the canonical name for the code
ko-gys, is wrong; it should be Koreano ng Gyeongsang. - Koreano Hamgyong, the canonical name for the code
ko-ham, is wrong; it should be Koreano ng Hamgyong. - Koreano Hwanghae, the canonical name for the code
ko-hwa, is wrong; it should be Koreano ng Hwanghae. - Koreano Jeolla, the canonical name for the code
ko-jeo, is wrong; it should be Koreano ng Jeolla. - Koreano Pyongan, the canonical name for the code
ko-pyo, is wrong; it should be Koreano ng Pyongan. - Koreano Yukjin, the canonical name for the code
ko-yuk, is wrong; it should be Koreano ng Yukjin. - Classical Latin, the canonical name for the code
la-cla, is wrong; it should be Klasikong Latin. - Contemporary Latin, the canonical name for the code
la-con, is wrong; it should be Kasalukuyang Latin. - Ecclesiastical Latin, the canonical name for the code
la-ecc, is wrong; it should be Latin ng Simbahan. - Early Medieval Latin, the canonical name for the code
la-eme, is wrong; it should be Maagang Medyebal na Latin. - Late Latin, the canonical name for the code
la-lat, is wrong; it should be Huling Latin. - Medieval Latin, the canonical name for the code
la-med, is wrong; it should be Medyebal na Latin. - New Latin, the canonical name for the code
la-new, is wrong; it should be Bagong Latin. - Renaissance Latin, the canonical name for the code
la-ren, is wrong; it should be Latin ng Renasimiyento. - Lombardic, the canonical name for the code
lng, is wrong; it should be Lombardiko. - Tsino Gitnang Maaga, the canonical name for the code
ltc-ear, is wrong; it should be Maagang Gitnang Tsino. - Late Middle Chinese, the canonical name for the code
ltc-lat, is wrong; it should be Huling Gitnang Tsino. - Korean Classical Chinese, the canonical name for the code
lzh-KO, is wrong; it should be Klasikong Tsino ng Korea. - Vietnamese Classical Chinese, the canonical name for the code
lzh-VI, is wrong; it should be Klasikong Tsino ng Biyetnam. - Classical Mandarin, the canonical name for the code
lzh-cmn, is wrong; it should be Klasikong Mandarin. - Classical Taiwanese Mandarin, the canonical name for the code
lzh-cmn-TW, is wrong; it should be Klasikong Mandarin ng Taiwan. - Literary Chinese, the canonical name for the code
lzh-lit, is wrong; it should be Pampanitikang Tsino. - Pre-Classical Chinese, the canonical name for the code
lzh-pre, is wrong; it should be Preklasikong Tsino. - Traditional Chinese poetry, the canonical name for the code
lzh-shi, is wrong; it should be Tradisyonal na panulaang Tsino. - Classical Taishanese, the canonical name for the code
lzh-tai, is wrong; it should be Klasikong Taishanes. - Classical Cantonese, the canonical name for the code
lzh-yue, is wrong; it should be Klasikong Kantones. - Malay Klasikal, the canonical name for the code
ms-cla, is wrong; it should be Klasikong Malay. - Lumang Malayo, the canonical name for the code
ms-old, is wrong; it should be Lumang Malay. - Philippine Hokkien, the canonical name for the code
nan-hbl-PH, is wrong; it should be Pilipinong Hokkien. - Old Neapolitan, the canonical name for the code
nap-old, is wrong; it should be Lumang Neapolitano. - The code
nds-deand the canonical name German Low German should be removed; they are not found in Module:etymology languages/data. - The code
nds-nland the canonical name Dutch Low Saxon should be removed; they are not found in Module:etymology languages/data. - Belgian Dutch, the canonical name for the code
nl-BE, is wrong; it should be Olandes ng Belhika. - Tsino Lumang Maaga, the canonical name for the code
och-ear, is wrong; it should be Maagang Lumang Tsino. - Late Old Chinese, the canonical name for the code
och-lat, is wrong; it should be Huling Lumang Tsino. - Hapones Lumang Silanganin, the canonical name for the code
ojp-eas, is wrong; it should be Silangang Lumang Hapones. - Early Middle Korean, the canonical name for the code
okm-ear, is wrong; it should be Maagang Gitnang Koreano. - Late Old Korean, the canonical name for the code
oko-lat, is wrong; it should be Huling Lumang Koreano. - Palatine German, the canonical name for the code
pfl, is wrong; it should be Alemang Palatinado. - Timog Silanganing Pastun, the canonical name for the code
ps-sea, is wrong; it should be Timog-silangang Pastun. - Timog Kanluraning Pastun, the canonical name for the code
ps-swe, is wrong; it should be Timog-kanlurang Pastun. - Portugues Brasileño, the canonical name for the code
pt-BR, is wrong; it should be Brasilyanong Portuges. - Portugues Europeo, the canonical name for the code
pt-PT, is wrong; it should be Europeong Portuges. - Pre-Greek, the canonical name for the code
qsb-grc, is wrong; it should be Pre-Griyego. - Proto-Romance, the canonical name for the code
roa-pro, is wrong; it should be Proto-Romanse. - Brahmanic Sanskrit, the canonical name for the code
sa-bra, is wrong; it should be Bramanikong Sanskrit. - New Sanskrit, the canonical name for the code
sa-neo, is wrong; it should be Bagong Sanskrit. - Old Sicilian, the canonical name for the code
scn-old, is wrong; it should be Lumang Sisilyo. - Serbokroata Torlak, the canonical name for the code
sh-tor, is wrong; it should be Serbokroatang Torlak. - Medieval Tashelhit, the canonical name for the code
shi-med, is wrong; it should be Medyebal na Tashelhit. - Silesian East Central German, the canonical name for the code
sli, is wrong; it should be Silangang Gitnang Aleman ng Silesya. - Upper Saxon German, the canonical name for the code
sxu, is wrong; it should be Aleman ng Itaas na Sahonya. - Tagalog Aurora, the canonical name for the code
tl-aur, is wrong; it should be Tagalog ng Aurora. - Tagalog Baguio, the canonical name for the code
tl-bag, is wrong; it should be Tagalog ng Baguio. - Tagalog Bataan, the canonical name for the code
tl-ban, is wrong; it should be Tagalog ng Bataan. - Tagalog Batangas, the canonical name for the code
tl-btg, is wrong; it should be Batanggenyong Tagalog. - Tagalog Bulacan, the canonical name for the code
tl-bul, is wrong; it should be Bulakenyong Tagalog. - Tagalog Camarines Norte, the canonical name for the code
tl-can, is wrong; it should be Tagalog ng Camarines Norte. - Tagalog Sentral, the canonical name for the code
tl-cen, is wrong; it should be Gitnang Tagalog. - Tagalog Klasikal, the canonical name for the code
tl-cls, is wrong; it should be Klasikong Tagalog. - Tagalog Laguna, the canonical name for the code
tl-lag, is wrong; it should be Tagalog ng Laguna. - Tagalog Marinduque, the canonical name for the code
tl-mad, is wrong; it should be Marindukenyong Tagalog. - Tagalog Mindoro, the canonical name for the code
tl-mdo, is wrong; it should be Tagalog ng Mindoro. - Kahilagaang Tagalog, the canonical name for the code
tl-nor, is wrong; it should be Hilagang Tagalog. - Tagalog Nueva Ecija, the canonical name for the code
tl-nue, is wrong; it should be Tagalog ng Nueva Ecija. - Tagalog Quezon, the canonical name for the code
tl-que, is wrong; it should be Tayabasing Tagalog. - Tagalog Rizal, the canonical name for the code
tl-riz, is wrong; it should be Rizalenyong Tagalog. - Tagalog Tsinoy, the canonical name for the code
tl-zho, is wrong; it should be Tsinoy Tagalog. - Ukranyano Kanadyense, the canonical name for the code
uk-CA, is wrong; it should be Ukranyano ng Kanada. - Vedic Sanskrit, the canonical name for the code
vsn, is wrong; it should be Sanskrit ng Veda. - Walser German, the canonical name for the code
wae, is wrong; it should be Alemang Walser. - The code
xaqand the canonical name Aquitanian should be removed; they are not found in Module:etymology languages/data. - Kankanaëy Aplay, the canonical name for the code
xnn, is wrong; it should be Kankanaey Aplay.
- Pampanitikang Tsino (
lzh-lit) has a canonical name that is not unique; it is also used by the codelzh. - German Low German (
nds-de) has a canonical name that is not unique; it is also used by the codends-de. - The code
nds-deis not unique; it is also defined in Module:languages/data/exceptional. - The code
nds-nlis not unique; it is also defined in Module:languages/data/exceptional. - Dutch Low Saxon (
nds-nl) has a canonical name that is not unique; it is also used by the codends-nl. - The code
xaqis not unique; it is also defined in Module:languages/data/3/x. - Aquitanian (
xaq) has a canonical name that is not unique; it is also used by the codexaq.
- Awstroasyatika, the canonical name for the code
aav, is wrong; it should be Awstroasyatiko. - The canonical name Mga wikang Awstroasyatiko (
aav) is missing. - The canonical name Mga wikang Khasiko (
aav-khs) is missing. - Khasika, the canonical name for the code
aav-khs, is wrong; it should be Khasiko. - The canonical name Mga wikang Afroasyatiko (
afa) is missing. - Afroasyatika, the canonical name for the code
afa, is wrong; it should be Afroasyatiko. - Algonkinas, the canonical name for the code
alg, is wrong; it should be Algonkino. - The canonical name Mga wikang Algonkino (
alg) is missing. - Atlantiko-Konggoleñas, the canonical name for the code
alv, is wrong; it should be Atlantiko-Konggoleño. - The canonical name Mga wikang Atlantiko-Konggoleño (
alv) is missing. - Algikas, the canonical name for the code
aql, is wrong; it should be Algiko. - The canonical name Mga wikang Algiko (
aql) is missing. - Mababang Franconyo, the canonical name for the code
gmw-frk, is wrong; it should be Mababang Frankonyo. - The canonical name Mga wikang Mababang Frankonyo (
gmw-frk) is missing. - Malayo-Polinesya, the canonical name for the code
poz, is wrong; it should be Malayopolinesyo. - The canonical name Mga wikang Malayopolinesyo (
poz) is missing. - Eastern Romance, the canonical name for the code
roa-eas, is wrong; it should be Silanganing Romanse. - The canonical name Mga wikang Silanganing Romanse (
roa-eas) is missing. - The canonical name Mga wikang Oil (
roa-oil) is missing. - Oïl, the canonical name for the code
roa-oil, is wrong; it should be Oil. - Silanganing Min, the canonical name for the code
zhx-nan, is wrong; it should be Katimugang Min. - The canonical name Mga wikang Katimugang Min (
zhx-nan) is missing.
- Awstroasyatika, the canonical name for the code
aav, is wrong; it should be Awstroasyatiko. - Khasika, the canonical name for the code
aav-khs, is wrong; it should be Khasiko. - Afroasyatika, the canonical name for the code
afa, is wrong; it should be Afroasyatiko. - Algonkinas, the canonical name for the code
alg, is wrong; it should be Algonkino. - Atlantiko-Konggoleñas, the canonical name for the code
alv, is wrong; it should be Atlantiko-Konggoleño. - Algikas, the canonical name for the code
aql, is wrong; it should be Algiko. - Mababang Franconyo, the canonical name for the code
gmw-frk, is wrong; it should be Mababang Frankonyo. - Malayo-Polinesya, the canonical name for the code
poz, is wrong; it should be Malayopolinesyo. - Eastern Romance, the canonical name for the code
roa-eas, is wrong; it should be Silanganing Romanse. - Oïl, the canonical name for the code
roa-oil, is wrong; it should be Oil. - Silanganing Min, the canonical name for the code
zhx-nan, is wrong; it should be Katimugang Min.
- Mga wikang Old Indo-Aryan (
inc-old) has no child families or languages. - Mga wikang Middle Iranian (
ira-mid) has no child families or languages. - Mga wikang Old Iranian (
ira-old) has no child families or languages. - Mga wikang Papuan (
paa) has no child families or languages. - Mga wikang creole (
qfa-cre) has no child families or languages. - Mga wikang pidgin (
qfa-pid) has no child families or languages.
- Avestiko, the canonical name for the code
ae, is wrong; it should be Abestiko. - The canonical name Abestiko (
ae) is missing. - The canonical name Aprikaans (
af) is missing. - Afrikāns, the canonical name for the code
af, is wrong; it should be Aprikaans. - Avar, the canonical name for the code
av, is wrong; it should be Abar. - The canonical name Abar (
av) is missing. - Azeri, the canonical name for the code
az, is wrong; it should be Aseri. - The canonical name Aseri (
az) is missing. - The canonical name Bengali (
bn) is missing. - Benggali, the canonical name for the code
bn, is wrong; it should be Bengali. - Proto-Brythonic, the canonical name for the code
cel-bry-pro, is wrong; it should be Proto-Britoniko. - The canonical name Proto-Britoniko (
cel-bry-pro) is missing. - The canonical name Kriyolo ng Seychelles (
crs) is missing. - Seychellois Creole, the canonical name for the code
crs, is wrong; it should be Kriyolo ng Seychelles. - The canonical name Lumang Simbahang Eslabo (
cu) is missing. - Lumang Simbahang Eslavo, the canonical name for the code
cu, is wrong; it should be Lumang Simbahang Eslabo. - Tsuvasyo, the canonical name for the code
cv, is wrong; it should be Tsubasyo. - The canonical name Tsubasyo (
cv) is missing. - Central Min, the canonical name for the code
czo, is wrong; it should be Min Sentral. - The canonical name Min Sentral (
czo) is missing. - Dalmatico, the canonical name for the code
dlm, is wrong; it should be Dalmatiko. - The canonical name Dalmatiko (
dlm) is missing. - The canonical name Eteokretense (
ecr) is missing. - Eteocretan, the canonical name for the code
ecr, is wrong; it should be Eteokretense. - Eteocypriot, the canonical name for the code
ecy, is wrong; it should be Eteotsipriyota. - The canonical name Eteotsipriyota (
ecy) is missing. - Emilian, the canonical name for the code
egl, is wrong; it should be Emilyano. - The canonical name Emilyano (
egl) is missing. - Egyptian, the canonical name for the code
egy, is wrong; it should be Ehipsiyo. - The canonical name Ehipsiyo (
egy) is missing. - The canonical name Elamita (
elx) is missing. - Elamite, the canonical name for the code
elx, is wrong; it should be Elamita. - Middle English, the canonical name for the code
enm, is wrong; it should be Gitnang Ingles. - The canonical name Gitnang Ingles (
enm) is missing. - The canonical name Ekstremenyo (
ext) is missing. - Extremaduran, the canonical name for the code
ext, is wrong; it should be Ekstremenyo. - The canonical name Bikolano ng Kanlurang Albay (
fbl) is missing. - Bikol Kanlurang Albay, the canonical name for the code
fbl, is wrong; it should be Bikolano ng Kanlurang Albay. - The canonical name Wikang Senyas ng Quebec (
fcs) is missing. - Wikang Senyas ng mga Kebekes, the canonical name for the code
fcs, is wrong; it should be Wikang Senyas ng Quebec. - Fines, the canonical name for the code
fi, is wrong; it should be Pinlandes. - The canonical name Pinlandes (
fi) is missing. - The canonical name Fiyano (
fj) is missing. - Fiyiyano, the canonical name for the code
fj, is wrong; it should be Fiyano. - The canonical name Peroes (
fo) is missing. - Feroes, the canonical name for the code
fo, is wrong; it should be Peroes. - Franses, the canonical name for the code
fr, is wrong; it should be Pranses. - The canonical name Pranses (
fr) is missing. - The canonical name Gitnang Pranses (
frm) is missing. - Gitnang Franses, the canonical name for the code
frm, is wrong; it should be Gitnang Pranses. - The canonical name Lumang Pranses (
fro) is missing. - Lumang Franses, the canonical name for the code
fro, is wrong; it should be Lumang Pranses. - Franco-Provenzal, the canonical name for the code
frp, is wrong; it should be Prangko-Probensal. - The canonical name Prangko-Probensal (
frp) is missing. - The canonical name Wikang Senyas ng Pinlandes (
fse) is missing. - Wikang Senyas ng mga Fines, the canonical name for the code
fse, is wrong; it should be Wikang Senyas ng Pinlandes. - Wikang Senyas ng mga Franses, the canonical name for the code
fsl, is wrong; it should be Wikang Senyas ng Pranses. - The canonical name Wikang Senyas ng Pranses (
fsl) is missing. - The canonical name Wikang Senyas ng Pinlandes-Suweko (
fss) is missing. - Wikang Senyas ng mga Franses-Suweko, the canonical name for the code
fss, is wrong; it should be Wikang Senyas ng Pinlandes-Suweko. - Friulian, the canonical name for the code
fur, is wrong; it should be Priyulano. - The canonical name Priyulano (
fur) is missing. - The canonical name Kriyolo ng Guyanang Pranses (
gcr) is missing. - Guianese Creole, the canonical name for the code
gcr, is wrong; it should be Kriyolo ng Guyanang Pranses. - Gaeliko Eskoses, the canonical name for the code
gd, is wrong; it should be Gaelikong Eskoses. - The canonical name Gaelikong Eskoses (
gd) is missing. - Hawsa, the canonical name for the code
ha, is wrong; it should be Hausa. - The canonical name Hausa (
ha) is missing. - The canonical name Hebreo (
he) is missing. - Ebreo, the canonical name for the code
he, is wrong; it should be Hebreo. - The canonical name Kriyolo ng Hayti (
ht) is missing. - Kriyolyo Aityano, the canonical name for the code
ht, is wrong; it should be Kriyolo ng Hayti. - The canonical name Interlingua (
ia) is missing. - Interlingguwa, the canonical name for the code
ia, is wrong; it should be Interlingua. - Indonesyo, the canonical name for the code
id, is wrong; it should be Indones. - The canonical name Indones (
id) is missing. - Interlingguwe, the canonical name for the code
ie, is wrong; it should be Interlingue. - The canonical name Interlingue (
ie) is missing. - Nuwosu, the canonical name for the code
ii, is wrong; it should be Nuosu. - The canonical name Nuosu (
ii) is missing. - Iñupyak, the canonical name for the code
ik, is wrong; it should be Inyupyak. - The canonical name Inyupyak (
ik) is missing. - The canonical name Proto-Italiko (
itc-pro) is missing. - Proto-Italic, the canonical name for the code
itc-pro, is wrong; it should be Proto-Italiko. - Havanes, the canonical name for the code
jv, is wrong; it should be Habanes. - The canonical name Habanes (
jv) is missing. - The canonical name Kongo (
kg) is missing. - Konggo, the canonical name for the code
kg, is wrong; it should be Kongo. - Kazaho, the canonical name for the code
kk, is wrong; it should be Kasaho. - The canonical name Kasaho (
kk) is missing. - Ligurian, the canonical name for the code
lij, is wrong; it should be Liguryo. - The canonical name Liguryo (
lij) is missing. - Linggala, the canonical name for the code
ln, is wrong; it should be Lingala. - The canonical name Lingala (
ln) is missing. - Louisiana Creole, the canonical name for the code
lou, is wrong; it should be Kriyolo ng Louisiana. - The canonical name Kriyolo ng Louisiana (
lou) is missing. - Mauritian Creole, the canonical name for the code
mfe, is wrong; it should be Kriyolo ng Maurisyo. - The canonical name Kriyolo ng Maurisyo (
mfe) is missing. - The canonical name Maori (
mi) is missing. - Māori, the canonical name for the code
mi, is wrong; it should be Maori. - The canonical name Malay (
ms) is missing. - Malayo, the canonical name for the code
ms, is wrong; it should be Malay. - The canonical name Mirandes (
mwl) is missing. - Mirandese, the canonical name for the code
mwl, is wrong; it should be Mirandes. - The canonical name Makanes (
mzs) is missing. - Macanese, the canonical name for the code
mzs, is wrong; it should be Makanes. - The canonical name Nauruano (
na) is missing. - Naurwano, the canonical name for the code
na, is wrong; it should be Nauruano. - The canonical name Napolitano (
nap) is missing. - Neapolitan, the canonical name for the code
nap, is wrong; it should be Napolitano. - Norwego Bokmål, the canonical name for the code
nb, is wrong; it should be Norwegong Bokmål. - The canonical name Norwegong Bokmål (
nb) is missing. - The canonical name Ndonga (
ng) is missing. - Endonga, the canonical name for the code
ng, is wrong; it should be Ndonga. - The canonical name Nahuatl ng Silangang Huasteca (
nhe) is missing. - Eastern Huasteca Nahuatl, the canonical name for the code
nhe, is wrong; it should be Nahuatl ng Silangang Huasteca. - The canonical name Nahuatl ng Zacatlán-Ahuacatlán-Tepetzintla (
nhi) is missing. - Zacatlán-Ahuacatlán-Tepetzintla Nahuatl, the canonical name for the code
nhi, is wrong; it should be Nahuatl ng Zacatlán-Ahuacatlán-Tepetzintla. - Cosoleacaque Nahuatl, the canonical name for the code
nhk, is wrong; it should be Nahuatl ng Cosoleacaque. - The canonical name Nahuatl ng Cosoleacaque (
nhk) is missing. - The canonical name Nahuatl ng Morelos (
nhm) is missing. - Morelos Nahuatl, the canonical name for the code
nhm, is wrong; it should be Nahuatl ng Morelos. - Central Nahuatl, the canonical name for the code
nhn, is wrong; it should be Gitnang Nahuatl. - The canonical name Gitnang Nahuatl (
nhn) is missing. - Nerlandes, the canonical name for the code
nl, is wrong; it should be Olandes. - The canonical name Olandes (
nl) is missing. - The canonical name Norwegong Nynorsk (
nn) is missing. - Norwego Nynorsk, the canonical name for the code
nn, is wrong; it should be Norwegong Nynorsk. - Ojibwë, the canonical name for the code
oj, is wrong; it should be Ojibwe. - The canonical name Ojibwe (
oj) is missing. - The canonical name Piedmontes (
pms) is missing. - Piedmontese, the canonical name for the code
pms, is wrong; it should be Piedmontes. - The canonical name Kriyolo ng Ginea-Bissau (
pov) is missing. - Guinea-Bissau Creole, the canonical name for the code
pov, is wrong; it should be Kriyolo ng Ginea-Bissau. - Proto-Malayo-Polynesian, the canonical name for the code
poz-pro, is wrong; it should be Proto-Malayo-Polinesyo. - The canonical name Proto-Malayo-Polinesyo (
poz-pro) is missing. - Old Occitan, the canonical name for the code
pro, is wrong; it should be Lumang Oksitano. - The canonical name Lumang Oksitano (
pro) is missing. - The canonical name Romani Gales (
rmw) is missing. - Welsh Romani, the canonical name for the code
rmw, is wrong; it should be Romani Gales. - Old Galician-Portuguese, the canonical name for the code
roa-opt, is wrong; it should be Lumang Galisyano-Portuges. - The canonical name Lumang Galisyano-Portuges (
roa-opt) is missing. - Pannonian Rusyn, the canonical name for the code
rsk, is wrong; it should be Rusino Panoniko. - The canonical name Rusino Panoniko (
rsk) is missing. - The canonical name Rusino Karpato (
rue) is missing. - Carpathian Rusyn, the canonical name for the code
rue, is wrong; it should be Rusino Karpato. - The canonical name Meglenorumano (
ruq) is missing. - Megleno-Romanian, the canonical name for the code
ruq, is wrong; it should be Meglenorumano. - Kiñarwanda-Kirundi, the canonical name for the code
rw, is wrong; it should be Kinyarwanda-Kirundi. - The canonical name Kinyarwanda-Kirundi (
rw) is missing. - The canonical name Sango (
sg) is missing. - Sanggo, the canonical name for the code
sg, is wrong; it should be Sango. - Old Irish, the canonical name for the code
sga, is wrong; it should be Lumang Irlandes. - The canonical name Lumang Irlandes (
sga) is missing. - Eslovako, the canonical name for the code
sk, is wrong; it should be Eslobako. - The canonical name Eslobako (
sk) is missing. - Esloveno, the canonical name for the code
sl, is wrong; it should be Eslobeno. - The canonical name Eslobeno (
sl) is missing. - The canonical name Swahili (
sw) is missing. - Suwahili, the canonical name for the code
sw, is wrong; it should be Swahili. - Tigriña, the canonical name for the code
ti, is wrong; it should be Tigrinya. - The canonical name Tigrinya (
ti) is missing. - The canonical name Tongano (
to) is missing. - Tonggano, the canonical name for the code
to, is wrong; it should be Tongano. - Uzbeko, the canonical name for the code
uz, is wrong; it should be Usbeko. - The canonical name Usbeko (
uz) is missing. - Viyetnamita, the canonical name for the code
vi, is wrong; it should be Biyetnames. - The canonical name Biyetnames (
vi) is missing. - Khosa, the canonical name for the code
xh, is wrong; it should be Xhosa. - The canonical name Xhosa (
xh) is missing.
- Avestiko, the canonical name for the code
ae, is wrong; it should be Abestiko. - Afrikāns, the canonical name for the code
af, is wrong; it should be Aprikaans. - Avar, the canonical name for the code
av, is wrong; it should be Abar. - Azeri, the canonical name for the code
az, is wrong; it should be Aseri. - Benggali, the canonical name for the code
bn, is wrong; it should be Bengali. - Proto-Brythonic, the canonical name for the code
cel-bry-pro, is wrong; it should be Proto-Britoniko. - Seychellois Creole, the canonical name for the code
crs, is wrong; it should be Kriyolo ng Seychelles. - Lumang Simbahang Eslavo, the canonical name for the code
cu, is wrong; it should be Lumang Simbahang Eslabo. - Tsuvasyo, the canonical name for the code
cv, is wrong; it should be Tsubasyo. - Central Min, the canonical name for the code
czo, is wrong; it should be Min Sentral. - Dalmatico, the canonical name for the code
dlm, is wrong; it should be Dalmatiko. - Eteocretan, the canonical name for the code
ecr, is wrong; it should be Eteokretense. - Eteocypriot, the canonical name for the code
ecy, is wrong; it should be Eteotsipriyota. - Emilian, the canonical name for the code
egl, is wrong; it should be Emilyano. - Egyptian, the canonical name for the code
egy, is wrong; it should be Ehipsiyo. - Elamite, the canonical name for the code
elx, is wrong; it should be Elamita. - Middle English, the canonical name for the code
enm, is wrong; it should be Gitnang Ingles. - Extremaduran, the canonical name for the code
ext, is wrong; it should be Ekstremenyo. - Bikol Kanlurang Albay, the canonical name for the code
fbl, is wrong; it should be Bikolano ng Kanlurang Albay. - Wikang Senyas ng mga Kebekes, the canonical name for the code
fcs, is wrong; it should be Wikang Senyas ng Quebec. - Fines, the canonical name for the code
fi, is wrong; it should be Pinlandes. - Fiyiyano, the canonical name for the code
fj, is wrong; it should be Fiyano. - Feroes, the canonical name for the code
fo, is wrong; it should be Peroes. - Franses, the canonical name for the code
fr, is wrong; it should be Pranses. - Gitnang Franses, the canonical name for the code
frm, is wrong; it should be Gitnang Pranses. - Lumang Franses, the canonical name for the code
fro, is wrong; it should be Lumang Pranses. - Franco-Provenzal, the canonical name for the code
frp, is wrong; it should be Prangko-Probensal. - Wikang Senyas ng mga Fines, the canonical name for the code
fse, is wrong; it should be Wikang Senyas ng Pinlandes. - Wikang Senyas ng mga Franses, the canonical name for the code
fsl, is wrong; it should be Wikang Senyas ng Pranses. - Wikang Senyas ng mga Franses-Suweko, the canonical name for the code
fss, is wrong; it should be Wikang Senyas ng Pinlandes-Suweko. - Friulian, the canonical name for the code
fur, is wrong; it should be Priyulano. - Guianese Creole, the canonical name for the code
gcr, is wrong; it should be Kriyolo ng Guyanang Pranses. - Gaeliko Eskoses, the canonical name for the code
gd, is wrong; it should be Gaelikong Eskoses. - Hawsa, the canonical name for the code
ha, is wrong; it should be Hausa. - Ebreo, the canonical name for the code
he, is wrong; it should be Hebreo. - Kriyolyo Aityano, the canonical name for the code
ht, is wrong; it should be Kriyolo ng Hayti. - Interlingguwa, the canonical name for the code
ia, is wrong; it should be Interlingua. - Indonesyo, the canonical name for the code
id, is wrong; it should be Indones. - Interlingguwe, the canonical name for the code
ie, is wrong; it should be Interlingue. - Nuwosu, the canonical name for the code
ii, is wrong; it should be Nuosu. - Iñupyak, the canonical name for the code
ik, is wrong; it should be Inyupyak. - Proto-Italic, the canonical name for the code
itc-pro, is wrong; it should be Proto-Italiko. - Havanes, the canonical name for the code
jv, is wrong; it should be Habanes. - Konggo, the canonical name for the code
kg, is wrong; it should be Kongo. - Kazaho, the canonical name for the code
kk, is wrong; it should be Kasaho. - Ligurian, the canonical name for the code
lij, is wrong; it should be Liguryo. - Linggala, the canonical name for the code
ln, is wrong; it should be Lingala. - Louisiana Creole, the canonical name for the code
lou, is wrong; it should be Kriyolo ng Louisiana. - Mauritian Creole, the canonical name for the code
mfe, is wrong; it should be Kriyolo ng Maurisyo. - Māori, the canonical name for the code
mi, is wrong; it should be Maori. - Malayo, the canonical name for the code
ms, is wrong; it should be Malay. - Mirandese, the canonical name for the code
mwl, is wrong; it should be Mirandes. - Macanese, the canonical name for the code
mzs, is wrong; it should be Makanes. - Naurwano, the canonical name for the code
na, is wrong; it should be Nauruano. - Neapolitan, the canonical name for the code
nap, is wrong; it should be Napolitano. - Norwego Bokmål, the canonical name for the code
nb, is wrong; it should be Norwegong Bokmål. - Endonga, the canonical name for the code
ng, is wrong; it should be Ndonga. - Eastern Huasteca Nahuatl, the canonical name for the code
nhe, is wrong; it should be Nahuatl ng Silangang Huasteca. - Zacatlán-Ahuacatlán-Tepetzintla Nahuatl, the canonical name for the code
nhi, is wrong; it should be Nahuatl ng Zacatlán-Ahuacatlán-Tepetzintla. - Cosoleacaque Nahuatl, the canonical name for the code
nhk, is wrong; it should be Nahuatl ng Cosoleacaque. - Morelos Nahuatl, the canonical name for the code
nhm, is wrong; it should be Nahuatl ng Morelos. - Central Nahuatl, the canonical name for the code
nhn, is wrong; it should be Gitnang Nahuatl. - Nerlandes, the canonical name for the code
nl, is wrong; it should be Olandes. - Norwego Nynorsk, the canonical name for the code
nn, is wrong; it should be Norwegong Nynorsk. - Ojibwë, the canonical name for the code
oj, is wrong; it should be Ojibwe. - Piedmontese, the canonical name for the code
pms, is wrong; it should be Piedmontes. - Guinea-Bissau Creole, the canonical name for the code
pov, is wrong; it should be Kriyolo ng Ginea-Bissau. - Proto-Malayo-Polynesian, the canonical name for the code
poz-pro, is wrong; it should be Proto-Malayo-Polinesyo. - Old Occitan, the canonical name for the code
pro, is wrong; it should be Lumang Oksitano. - Welsh Romani, the canonical name for the code
rmw, is wrong; it should be Romani Gales. - Old Galician-Portuguese, the canonical name for the code
roa-opt, is wrong; it should be Lumang Galisyano-Portuges. - Pannonian Rusyn, the canonical name for the code
rsk, is wrong; it should be Rusino Panoniko. - Carpathian Rusyn, the canonical name for the code
rue, is wrong; it should be Rusino Karpato. - Megleno-Romanian, the canonical name for the code
ruq, is wrong; it should be Meglenorumano. - Kiñarwanda-Kirundi, the canonical name for the code
rw, is wrong; it should be Kinyarwanda-Kirundi. - Sanggo, the canonical name for the code
sg, is wrong; it should be Sango. - Old Irish, the canonical name for the code
sga, is wrong; it should be Lumang Irlandes. - Eslovako, the canonical name for the code
sk, is wrong; it should be Eslobako. - Esloveno, the canonical name for the code
sl, is wrong; it should be Eslobeno. - Suwahili, the canonical name for the code
sw, is wrong; it should be Swahili. - Tigriña, the canonical name for the code
ti, is wrong; it should be Tigrinya. - Tonggano, the canonical name for the code
to, is wrong; it should be Tongano. - Uzbeko, the canonical name for the code
uz, is wrong; it should be Usbeko. - Viyetnamita, the canonical name for the code
vi, is wrong; it should be Biyetnames. - Khosa, the canonical name for the code
xh, is wrong; it should be Xhosa.
- Divehi (
dv) has its canonical name ("Divehi") repeated in the table ofaliases. - Maori (
mi) has its canonical name ("Maori") repeated in the table ofaliases. - Norwegong Bokmål (
nb) has Middle Norwegian (gmq-mno) set as an ancestor, but is not in the Mga wikang West Scandinavian (gmq-wes). - Norwegong Bokmål (
nb) has Danes (da) set as an ancestor, but is not in the Mga wikang East Scandinavian (gmq-eas). - Navaho (
nv) has its canonical name ("Navaho") repeated in the table ofaliases. - Oriya (
or) has its canonical name ("Oriya") repeated in the table ofaliases.
- Manide (
abd) has its canonical name ("Manide") repeated in the table ofother_names.
- Eastern Gurung (
ggn) has data in Module:languages/data/3/g, but does not have corresponding data in Module:languages/data/3/g/extra.
- Caribbean Hindustani (
hns) has Bhojpuri (bho) set as an ancestor, but is not in the Mga wikang Bihari (inc-bih). - Caribbean Hindustani (
hns) has Awadhi (awa) set as an ancestor, but is not in the Mga wikang Eastern Hindi (inc-hie).
- Kabardian (
kbd) has its canonical name ("Kabardian") repeated in the table ofaliases. - Kurukh (
kru) has its canonical name ("Kurukh") repeated in the table ofaliases. - Katabaga (
ktq) has Ayta Kadi (dul) set as an ancestor, but is not in the Mga wikang Pilipino (phi).
- Nepali Kurux (
kxl) has data in Module:languages/data/3/k, but does not have corresponding data in Module:languages/data/3/k/extra.
- The code
llois not found in Module:languages/data/3/l, and should be removed from Module:languages/data/3/l/extra. - The code
lmzis not found in Module:languages/data/3/l, and should be removed from Module:languages/data/3/l/extra.
- The code
ontis not found in Module:languages/data/3/o, and should be removed from Module:languages/data/3/o/extra.
- Manat (
pmr) has its canonical name ("Manat") repeated in the table ofaliases.
- Moriori (
rrm) has data in Module:languages/data/3/r, but does not have corresponding data in Module:languages/data/3/r/extra.
- Uni (
uni) has data in Module:languages/data/3/u, but does not have corresponding data in Module:languages/data/3/u/extra.
- The
sort_keyfield in the data table for East Franconian (vmf) specifies the module Module:vmf-sortkey, which does not exist. - The
translitfield in the data table for Vai (vai) specifies the module Module:Vaii-translit, which does not exist.
- Waray (
war) has its canonical name ("Waray") repeated in the table ofaliases. - Mokati (
wnb) has its canonical name ("Mokati") repeated in the table ofaliases.
- Koromu (
xes) has its canonical name ("Koromu") repeated in the table ofaliases.
- The code
xnnis not found in Module:languages/data/3/x, and should be removed from Module:languages/data/3/x/extra.
- Yeri (
yev) has its canonical name ("Yeri") repeated in the table ofaliases.
- Proto-language with no family: Proto-Amuesha-Chamicuro (
awd-amc-pro) should be the proto-language of"awd-amc", which doesn't exist. - Proto-language with no family: Proto-Kampa (
awd-kmp-pro) should be the proto-language of"awd-kmp", which doesn't exist. - Proto-language with no family: Proto-Paresi-Waura (
awd-prw-pro) should be the proto-language of"awd-prw", which doesn't exist. - Proto-language with no family: Proto-Rukai (
dru-pro) should be the proto-language of"dru", but Rukai (dru) is not a family. - Proto-language with no family: Proto-Puroik (
sit-khp-pro) should be the proto-language of"sit-khp", which doesn't exist.
- Proto-Binanderean (
ngf-bin-pro) has data in Module:languages/data/exceptional, but does not have corresponding data in Module:languages/data/exceptional/extra. - Kómnzo (
paa-kmn) has data in Module:languages/data/exceptional, but does not have corresponding data in Module:languages/data/exceptional/extra. - The code
paa-komis not found in Module:languages/data/exceptional, and should be removed from Module:languages/data/exceptional/extra. - Leitre (
paa-lei) has data in Module:languages/data/exceptional, but does not have corresponding data in Module:languages/data/exceptional/extra.
apcis set as an ISO 639-3 code on multiple items:Q56593atQ22809485.kjvis set as an ISO 639-3 code on multiple items:Q838165atQ31199873.msnis set as an ISO 639-3 code on multiple items:Q3331111atQ3563857.tttis set as an ISO 639-3 code on multiple items:Q56489atQ123964178.
- katitikang Blissymbolic (
Blis) is not used by any language and has no characters listed for auto-detection. - katitikang Cypro-Minoan (
Cpmn) is not used by any language. - katitikang Hiragana (
Hira) is not used by any language. - katitikang Kana (
Hrkt) is not used by any language. - katitikang Image-rendered (
Image) is not used by any language and has no characters listed for auto-detection. - katitikang International Phonetic Alphabet (
Ipach) is not used by any language and has no characters listed for auto-detection. - katitikang Moon (
Moon) is not used by any language and has no characters listed for auto-detection. - Morse code (
Morse) is not used by any language and has no characters listed for auto-detection. - musical notation (
Music) is not used by any language. - katitikang Proto-Cuneiform (
Pcun) is not used by any language and has no characters listed for auto-detection. - katitikang Proto-Elamite (
Pelm) is not used by any language and has no characters listed for auto-detection. - katitikang Proto-Sinaitic (
Psin) is not used by any language and has no characters listed for auto-detection. - katitikang Rongorongo (
Roro) is not used by any language and has no characters listed for auto-detection. - Rumi numerals (
Rumin) is not used by any language. - flag semaphore (
Semap) is not used by any language and has no characters listed for auto-detection. - katitikang Visible Speech (
Visp) is not used by any language and has no characters listed for auto-detection. - mathematical notation (
Zmth) is not used by any language. - katitikang symbolic (
Zsym) is not used by any language. - katitikang undetermined (
Zyyy) is not used by any language and has no characters listed for auto-detection. - katitikang uncoded (
Zzzz) is not used by any language and has no characters listed for auto-detection. - The codes
fa-Arab,ug-Arab,ks-Arab,ps-Arab,ur-Arab,ku-Arab,tt-Arab,ota-Arab,mzn-Arabandsd-Arabare currently alias codes. Only one code should be used in the data. - The codes
ms-Arabandkk-Arabare currently alias codes. Only one code should be used in the data. - The data key
otherNamesfor katitikang Arabic (ug-Arab) is invalid. - The data key
otherNamesfor katitikang Tifinagh (Tfng) is invalid. - The data key
otherNamesfor katitikang Arabic (sd-Arab) is invalid. - The data key
otherNamesfor katitikang Arabic (ota-Arab) is invalid. - The data key
otherNamesfor katitikang Arabic (fa-Arab) is invalid. - The data key
otherNamesfor katitikang Shahmukhi (pa-Arab) is invalid. - The data key
otherNamesfor katitikang Arabic (ks-Arab) is invalid. - The data key
otherNamesfor katitikang Arabic (ps-Arab) is invalid. - The data key
otherNamesfor katitikang Arabic (ur-Arab) is invalid. - The data key
otherNamesfor katitikang Assamese (as-Beng) is invalid. - The data key
otherNamesfor katitikang Fraktur (Latf) is invalid. - The data key
otherNamesfor katitikang Arabic (tt-Arab) is invalid. - The data key
otherNamesfor katitikang Gaelic (Latg) is invalid. - The data key
otherNamesfor katitikang Arabic (mzn-Arab) is invalid. - The data key
otherNamesfor katitikang Arabic (ku-Arab) is invalid.
Checks performed
[baguhin]For multiple data modules:
- Codes for languages, families and etymology-only languages must be unique and cannot clash with one another.
- Canonical names for languages, families, and etymology-only languages must not be found in the list of other names.
- Each name in the list of other names must appear only once.
otherNames, if present, must be an array.- Wikidata item IDs must be a positive integer or a string starting with
Qand ending with decimal digits.
The following must be true of the data used by Module:languages:
- Each code must be defined in the correct submodule according to whether it is two-letter, three-letter or exceptional.
- The canonical name (field
1) must be present and must not be the same as the canonical name of another language. - If field
2is notnil, it must a valid Wikidata item ID. - If field
3orfamilyis given and notnil, it must be a valid family code. - If field
4orscriptsis given and notnil, it must be an array, and each string in the array must be a valid script code. - If
ancestorsis given, it must be an array, and each string in the array must be a valid language or etymology language code. - If
familyis given, it must be a valid family code. - If
typeis given, it must be one of the recognised values (regular,reconstructed,appendix-constructed). - If
entry_nameis given, it must be a table that contains either two arrays (fromandto) or a string (remove_diacritics) or both. - If
sort_keyis given, it may either be a string, or at table that in turn contains either two arrays (fromandto) or a string (remove_diacritics). - If
entry_nameorsort_keyis given, thefromarray must be longer or equal in length to thetoarray. - If
standardCharsis given, it must form a valid Lua string pattern when placed between square brackets with^before it ("[^...]). (It should match all characters regularly used in the language, but that cannot be tested.) - If
override_translitis set,translitmust also be set, because there must be a transliteration module that can override manual transliteration. - If
link_tris present, it must betrue. - Have no data keys besides these:
1, 2, 3, "entry_name", "sort_key", "display", "otherNames", "aliases", "varieties", "type", "scripts", "ancestors", "wikimedia_codes", "wikipedia_article", "standardChars", "translit", "override_translit", "link_tr".
Checks not performed:
- If
translitis present, it should be the name of a module, and this module should contain atrfunction that takes a pagename (and optionally a language code and script code) as arguments. - If
sort_keyis a string, it should be the name of a module, and this module should contain amakeSortKeyfunction that takes a pagename (and optionally a language code and script code) as arguments. - If
entry_nameorsort_keyis a table and contains a fieldremove_diacritics, the value of the field should be a string that forms a valid Lua pattern when it is placed inside negated set notation ([^...]).
These are not checked here, because module errors will quickly crop up in entries if these conditions are not met, assuming that Module:utilities attempts to generate a sortkey for a category pertaining to the language in question, or full_link attempts to use the transliteration module.
Module:languages/code to canonical name and Module:languages/canonical names must contain all the codes and canonical names found in the data submodules of Module:languages, and no more.
The following must be true of the data used by Module:etymology languages:
canonicalNamemust be given.parentmust be given must be a valid language, family or etymology-only language code.- If
ancestorsis given, it must be an array, and each string in the array must be a valid language or etymology language code. The etymology language should also be listed as the ancestor of a regular language. - Have no data keys besides these:
"canonicalName", "otherNames", "parent", "ancestors", "wikipedia_article", "wikidata_item".
Codes in Module:families data must:
- Have
canonicalName, which must not be the same as the canonical name of another family. - If
familyis given, it must be a valid family code. - Have at least one language or subfamily belonging to it.
- Have no data keys besides these:
"canonicalName", "otherNames", "family", "protoLanguage", "wikidata_item".
Codes in Module:scripts data must:
- Have
canonicalName. - Have at least one language that lists it as one of its scripts.
- Have a
characterspattern for script autodetection, and this must form a valid Lua string pattern when placed between square brackets ("[...]"). (It should match all characters in the script, but that cannot be tested.) - Have no data keys besides these:
"canonicalName", "otherNames", "parent", "systems", "wikipedia_article", "characters", "direction".
-- TODO:
-- ietf_subtag field used with a 2/3-letter langauge/family code except qaa-qtz, or a 4-letter script code.
-- Check against files containing up-to-date ISO data, to cross-check validity.
local export = {}
local mw = mw
local require = require
local string = string
local Array = require("Module:array")
local m_en_utilities = require("Module:en-utilities")
local m_etym_languages_canonical_names = require("Module:etymology languages/canonical names")
local m_etym_languages_codes = require("Module:etymology languages/code to canonical name")
local m_etym_languages_data = require("Module:etymology languages/data")
local m_families = require("Module:families")
local m_families_canonical_names = require("Module:families/canonical names")
local m_families_codes = require("Module:families/code to canonical name")
local m_families_data = require("Module:families/data")
local m_languages = require("Module:languages")
local m_languages_canonical_names = require("Module:languages/canonical names")
local m_languages_codes = require("Module:languages/code to canonical name")
local m_languages_data_all = require("Module:languages/data/all")
local m_load = require("Module:load")
local m_scripts = require("Module:scripts")
local m_scripts_canonical_names = require("Module:scripts/canonical names")
local m_scripts_codes = require("Module:scripts/code to canonical name")
local m_scripts_data = require("Module:scripts/data")
local m_str_utils = require("Module:string utilities")
local m_table = require("Module:table")
local add_indefinite_article = m_en_utilities.add_indefinite_article
local codepoint = m_str_utils.codepoint
local concat = table.concat
local dump = mw.dumpObject
local format = string.format
local gcodepoint = m_str_utils.gcodepoint
local get_data_module_name = m_languages.getDataModuleName
local get_family_by_code = m_families.getByCode
local get_family_by_canonical_name = m_families.getByCanonicalName
local get_indefinite_article = m_en_utilities.get_indefinite_article
local get_language_by_code = m_languages.getByCode
local get_language_by_canonical_name = m_languages.getByCanonicalName
local get_script_by_code = m_scripts.getByCode
local get_script_by_canonical_name = m_scripts.getByCanonicalName
local gmatch = string.gmatch
local gsub = string.gsub
local insert = table.insert
local ipairs = ipairs
local is_callable = require("Module:fun").is_callable
local is_positive_integer = require("Module:math").is_positive_integer
local is_known_language_tag = mw.language.isKnownLanguageTag
local isutf8 = mw.ustring.isutf8
local json_decode = mw.text.jsonDecode
local language_link = require("Module:links").language_link
local list_to_set = m_table.listToSet
local list_to_text = mw.text.listToText
local load_data = m_load.load_data
local log = mw.log
local main_loader = package.loaders[2]
local make_family = m_families.makeObject
local make_lang = m_languages.makeObject
local make_script = m_scripts.makeObject
local match = string.match
local new_title = mw.title.new
local next = next
local pairs = pairs
local pcall = pcall
local remove_comments = require("Module:string/removeComments")
local safe_require = m_load.safe_require
local sorted_pairs = m_table.sortedPairs
local split = m_str_utils.split
local sub = string.sub
local table_len = m_table.length
local tag_text = require("Module:script utilities").tag_text
local type = type
local umatch = m_str_utils.match
local unpack = unpack or table.unpack -- Lua 5.2 compatibility
local aliases = require("Module:languages/data").aliases
local messages
local function discrepancy(modname, ...)
local success, result = pcall(function(...)
messages[modname]:insert(format(...))
end, ...)
if not success then
log(result, ...)
end
end
local messages_mt = {}
function messages_mt:__index(k)
local val = Array()
self[k] = val
return val
end
local all_codes = {}
local language_names = {}
local etym_language_names = {}
local family_names = {}
local script_names = {}
local nonempty_families = {}
local allowed_empty_families = {tbq = true}
local nonempty_scripts = {}
local function link(obj, code_first)
return type(obj) == "string" and obj or
code_first and format("<code>%s</code> (%s)", obj:getCode(), obj:makeCategoryLink()) or
format("%s (<code>%s</code>)", obj:makeCategoryLink(), obj:getCode())
end
local function check_data_keys(...)
local valid_keys = Array(...):toSet()
return function (modname, obj, data)
local invalid_keys
for k in pairs(data) do
if not valid_keys[k] then
if not invalid_keys then
invalid_keys = Array(k)
else
invalid_keys:insert(k)
end
end
end
if invalid_keys == nil then
return
end
local plural = #invalid_keys ~= 1
discrepancy(modname,
"The data key%s %s for %s %s invalid.",
plural and "s" or "",
invalid_keys:map(function(key)
return "<code>" .. key .. "</code>"
end):concat(", "),
link(obj),
plural and "are" or "is"
)
end
end
-- Modification of isArray in [[Module:table]].
-- This assumes all keys are either integers or non-numbers.
-- If there are fractional numbers, the results might be incorrect.
-- For instance, find_gap{"a", "b", [0.5] = true} evaluates to 3, but there
-- isn't a gap at 3 in the sense of there being an integer key greater than 3.
local function find_gap(t, can_contain_non_number_keys)
local i = 0
for k in pairs(t) do
if not (can_contain_non_number_keys and type(k) ~= "number") then
i = i + 1
if t[i] == nil then
return i
end
end
end
end
local function check_true_or_string_or_nil(modname, obj, data, key)
local field = data[key]
if not (field == nil or field == true or type(field) == "string") then
discrepancy(modname,
"%s has %s <code>%s</code> value that is not <code>nil</code>, <code>true</code> or a string: <code>%s</code>",
link(obj), get_indefinite_article(key), key, dump(data[key])
)
end
end
local function check_array(modname, obj, data, array_name, parent_array_name, can_contain_non_number_keys)
local parent_table = data
if parent_array_name then
parent_table = assert(data[parent_array_name], parent_array_name)
parent_array_name = "the <code>" .. parent_array_name .. "</code> field in "
else
parent_array_name = ""
end
local array_type = type(parent_table[array_name])
if array_type == "table" then
local gap = find_gap(parent_table[array_name], can_contain_non_number_keys)
if gap then
discrepancy(modname,
"The <code>%s</code> array in %sthe data table for %s has a gap at index %d.",
array_name,
parent_array_name,
link(obj),
gap
)
else
return true
end
else
discrepancy(modname,
"The <code>%s</code> field in %sthe data table for %s should be an array (table) but is %s.",
array_name,
parent_array_name,
link(obj),
array_type == "nil" and "nil" or "a " .. array_type
)
end
end
local function check_no_alias_codes(modname, mod_data)
local lookup, discrepancies = {}, {}
for k, v in pairs(mod_data) do
local check = lookup[v]
if check then
discrepancies[check] = discrepancies[check] or {"<code>" .. check .. "</code>"}
insert(discrepancies[check], "<code>" .. k .. "</code>")
else
lookup[v] = k
end
end
for _, v in pairs(discrepancies) do
discrepancy(modname,
"The codes %s are currently alias codes. Only one code should be used in the data.",
list_to_text(v, ", ", " and ")
)
end
end
local function check_wikidata_item(modname, obj, data, key)
local data_item = data[key]
if data_item == nil or is_positive_integer(data_item) then
return
end
discrepancy(modname,
"%s has a Wikidata item ID that is not a positive integer: <code>%s</code>",
link(obj), dump(data_item)
)
end
local function check_name_field(modname, obj, data, canonical_name, data_key, allow_nested, allow_canonical_name_in_table)
local array = data[data_key]
if not array then
return
end
check_array(modname, obj, data, data_key, nil, true)
local names = {}
local function check_other_name(other_name)
if not allow_canonical_name_in_table and other_name == canonical_name then
discrepancy(modname,
"%s has its canonical name (<code>%s</code>) repeated in the table of <code>%s</code>.",
link(obj), dump(canonical_name), data_key
)
end
if names[other_name] then
discrepancy(modname,
"The name %s is found twice or more in the list of <code>%s</code> for %s.",
other_name, data_key, link(obj)
)
end
names[other_name] = true
end
for _, other_name in ipairs(array) do
if type(other_name) == "table" then
if not allow_nested then
discrepancy(modname,
"A nested table is found in the list of <code>%s</code> for %s, but isn't allowed.",
data_key, link(obj)
)
else
for _, on in ipairs(other_name) do
check_other_name(on)
end
end
else
check_other_name(other_name)
end
end
end
local function check_other_names_aliases_varieties(modname, obj, data, canonical_name)
if data.other_names then
check_name_field(modname, obj, data, canonical_name, "other_names")
end
if data.aliases then
check_name_field(modname, obj, data, canonical_name, "aliases")
end
if data.varieties then
-- Sometimes a variety legitimately has the same name as the language as a whole, so allow that.
check_name_field(modname, obj, data, canonical_name, "varieties", "allow_nested", "allow_canonical_name_in_table")
end
end
local function validate_pattern(pattern, modname, obj, standard_chars)
if type(pattern) ~= "string" then
return discrepancy(modname,
"\"%s\", the %spattern for %s, is not a string.",
pattern, standard_chars and "standard character " or "", link(obj)
)
elseif not isutf8(pattern) then
return discrepancy(modname,
"%s specifies a pattern for for %scharacter detection which is not valid UTF-8: <code>%s</code>",
link(obj), standard_chars and "standard " or "", dump(pattern)
)
end
local ranges
for lower, higher in gmatch(pattern, "(.[\128-\191]*)%-%%?(.[\128-\191]*)") do
if codepoint(lower) >= codepoint(higher) then
ranges = ranges or Array()
insert(ranges, { lower, higher })
end
end
if ranges and ranges[1] then
local plural = #ranges ~= 1 and "s" or ""
discrepancy(modname,
"%s specifies an invalid pattern " ..
"for %scharacter detection: <code>%s</code>. The first codepoint%s " ..
"in the range%s %s %s must be less than or equal to the second.",
link(obj), standard_chars and "standard " or "", dump(pattern), plural, plural,
ranges:map(function(range)
return format(range[1] .. "-" .. range[2] .. " (U+%X, U+%X)", codepoint(range[1]), codepoint(range[2]))
end):concat(", "),
#ranges ~= 1 and "are" or "is"
)
end
local success, result = pcall(umatch, "", "[" .. pattern .. "]")
if not success then
discrepancy(modname,
"%s specifies an invalid pattern for %scharacter detection: <code>%s</code> (%s)",
link(obj), standard_chars and "standard " or "", dump(pattern), result
)
end
end
local remove_exceptions_addition = 0xF0000
local maximum_code_point = 0x10FFFF
local remove_exceptions_maximum_code_point = maximum_code_point - remove_exceptions_addition
-- TODO: check modules exist.
-- TODO: validate script codes and check inner tables.
local function check_replacement_data(modname, obj, data, key, func_name)
local replacements = data[key]
if replacements == nil then
return
end
local replacements_type = type(replacements)
if replacements_type == "string" then
local mod = main_loader("Module:" .. replacements)
if not mod then
discrepancy(modname,
"The <code>%s</code> field in the data table for %s specifies the module [[Module:%s]], which does not exist.",
key, link(obj), replacements
)
else
mod = mod()
if not (type(mod) == "table" and is_callable(mod[func_name])) then
discrepancy(modname,
"The <code>%s</code> field in the data table for %s specifies the module [[Module:%s]], which exists, but does not contain the expected function <code>%s()</code>.",
key, link(obj), replacements, func_name
)
end
end
return
elseif replacements_type ~= "table" then
discrepancy(modname,
"The <code>%s</code> field in the data table for %s must be a string or table, not a %s.",
key, link(obj), replacements_type
)
return
end
local from, to = replacements.from, replacements.to
if (from ~= nil) ~= (to ~= nil) then
discrepancy(modname,
"The <code>from</code> and <code>to</code> arrays in the <code>%s</code> table for %s are not both defined or both undefined.",
key, link(obj)
)
elseif from then
for _, k in ipairs {"from", "to"} do
check_array(modname, obj, data, k, key)
end
end
local remove_diacritics = replacements.remove_diacritics
if not (remove_diacritics == nil or type(remove_diacritics) == "string") then
discrepancy(modname,
"The <code>remove_diacritics</code> field in the <code>%s</code> table for %s table must be a string.",
key, link(obj)
)
end
local remove_exceptions = replacements.remove_exceptions
if remove_exceptions then
if check_array(modname, obj, data, "remove_exceptions", key) then
for sequence_i, sequence in ipairs(remove_exceptions) do
local code_point_i = 0
for code_point in gcodepoint(sequence) do
code_point_i = code_point_i + 1
if code_point > remove_exceptions_maximum_code_point then
discrepancy(modname,
"Code point #%d (0x%04X) in field #%d of the <code>remove_exceptions</code> array for %s is over U+%04X.",
code_point_i, code_point, sequence_i, link(obj), remove_exceptions_maximum_code_point
)
end
end
end
end
end
if from and to and table_len(to) > table_len(from) then
discrepancy(modname,
"The <code>from</code> array in the <code>%s</code> table for %s must be shorter or the same length as the <code>to</code> array.",
key, link(obj)
)
end
end
local function check_replacements_data(modname, obj, data)
for _, replacement_spec in ipairs{
{"translit", "tr"},
{"display_text", "makeDisplayText"},
{"strip_diacritics", "stripDiacritics"},
{"sort_key", "makeSortKey"},
} do
check_replacement_data(modname, obj, data, unpack(replacement_spec))
end
end
local function has_ancestor(lang, code)
for _, anc in ipairs(lang:getAncestors()) do
if code == anc:getCode() or has_ancestor(anc, code) then
return true
end
end
end
local function get_default_ancestors(lang)
if lang:hasType("language", "etymology-only") then
local parent = lang:getParent()
if not has_ancestor(parent, lang:getCode()) then
return parent:getAncestorCodes()
end
end
local fam_code, def_anc = lang:getFamilyCode()
while fam_code and fam_code ~= "qfa-not" do
local fam = m_families_data[fam_code]
if not fam then --TLCHANGE add this `fam` nil checker
error("Family \"" .. fam_code .. "\" of language \"" .. lang:getCode() .. "\"does not exist.")
end
def_anc = fam.protoLanguage or
m_languages_data_all[fam_code .. "-pro"] and fam_code .. "-pro" or
m_etym_languages_data[fam_code .. "-pro"] and fam_code .. "-pro"
if def_anc and def_anc ~= lang:getCode() then
return {def_anc}
end
fam_code = fam[3]
end
end
local function iterate_ancestor(obj, modname, anc_code)
local anc = get_language_by_code(anc_code, nil, true)
if not anc then
discrepancy(modname,
"%s lists the invalid language code <code>%s</code> as its ancestor.",
link(obj), dump(anc_code)
)
return
end
local anc_fam = anc:getFamily()
if not anc_fam then
discrepancy(modname,
"%s has no family.",
link(anc)
)
return
end
local anc_fam_code = anc_fam:getCode()
local def_ancs = get_default_ancestors(obj)
if def_ancs then
for _, def_anc in ipairs(def_ancs) do
def_anc = get_language_by_code(def_anc, nil, true)
if def_anc and (
anc_code == def_anc:getCode() or
has_ancestor(def_anc, anc_code) or
def_anc:hasParent(anc_code) and not has_ancestor(anc, def_anc:getCode())
) then
discrepancy(modname,
"%s has the ancestor %s listed in its ancestor field, which is redundant, since it is determined to be ancestral automatically.",
link(obj), link(anc)
)
end
end
end
if not obj:inFamily(anc_fam_code) then
discrepancy(modname,
"%s has %s set as an ancestor, but is not in the %s.",
link(obj), link(anc), link(anc_fam)
)
end
local fam, proto = obj
repeat
fam = fam:getFamily()
proto = fam and fam:getProtoLanguage()
until proto or not fam or fam:getCode() == "qfa-not"
if proto and not (
proto:getCode() == anc:getCode() or
proto:hasAncestor(anc:getCode()) or
anc:hasAncestor(proto:getCode())
) then
local fam = obj:getFamily()
discrepancy(modname,
"%s is in the %s and has %s set as an ancestor, but it is not possible to form an ancestral chain between them.",
link(obj), link(fam), link(anc)
)
end
end
local function check_ancestors(modname, obj, data)
local ancestors = data.ancestors
if ancestors == nil then
return
end
local ancestors_type = type(ancestors)
if ancestors_type == "string" then
ancestors = split(ancestors, ",", true, true)
elseif ancestors_type ~= "table" then
discrepancy(modname,
"The <code>ancestors</code> field in the data table for %s must be a string or table, not a %s.",
link(obj), ancestors_type
)
end
for _, anc in ipairs(ancestors) do
iterate_ancestor(obj, modname, anc)
end
end
local function check_wikimedia_codes(modname, obj, data)
local wikimedia_codes = data.wikimedia_codes
if wikimedia_codes == nil then
return
end
local wikimedia_codes_type = type(wikimedia_codes)
if wikimedia_codes_type == "string" then
wikimedia_codes = split(wikimedia_codes, ",", true, true)
elseif wikimedia_codes_type ~= "table" then
discrepancy(modname,
"The <code>wikimedia_codes</code> field in the data table for %s must be a string or table, not a %s.",
link(obj), wikimedia_codes_type
)
end
for _, code in ipairs(wikimedia_codes) do
if not is_known_language_tag(code) then
discrepancy(modname,
"%s lists the invalid Wikimedia code <code>%s</code> in the <code>wikimedia_codes</code> field.",
link(obj), dump(code)
)
end
end
end
local function check_code_to_name_and_name_to_code_maps(
source_module_type,
source_module_description,
code_to_module_map, name_to_code_map,
code_to_name_modname, code_to_name_module,
name_to_code_modname, name_to_code_module
)
local function check_code_and_name(modname, code, canonical_name)
-- Check the code is in code_to_module_map and that it didn't originate from the wrong data module.
local check_mod = code_to_module_map[code] or code_to_module_map[aliases[code]]
if not (check_mod and match(check_mod, "^" .. source_module_type .. "/data")) then
if not name_to_code_map[canonical_name] then
discrepancy(modname,
"The code <code>%s</code> and the canonical name %s should be removed; they are not found in %s.",
code, canonical_name, source_module_description
)
else
discrepancy(modname,
"<code>%s</code>, the code for the canonical name %s, is wrong; it should be <code>%s</code>.",
code, canonical_name, name_to_code_map[canonical_name]
)
end
elseif not name_to_code_map[canonical_name] then
local data_table = require("Module:" .. code_to_module_map[code])[code]
discrepancy(modname,
"%s, the canonical name for the code <code>%s</code>, is wrong; it should be %s.",
canonical_name, code, data_table[1]
)
end
end
for code, canonical_name in pairs(code_to_name_module) do
check_code_and_name(code_to_name_modname, code, canonical_name)
end
for canonical_name, code in pairs(name_to_code_module) do
check_code_and_name(name_to_code_modname, code, canonical_name)
end
end
local function check_extraneous_extra_data(
data_modname, data_module, extra_data_modname, extra_data_module)
for code, _ in pairs(extra_data_module) do
if not data_module[code] then
discrepancy(extra_data_modname,
"The code <code>%s</code> is not found in [[Module:%s]], and should be removed from [[Module:%s]].",
code, data_modname, extra_data_modname
)
end
end
end
-- TODO: add collision check between the canonical names "X" and "X [Ll]anguage".
local function check_languages(frame)
local check_language_data_keys = check_data_keys(
1, 2, 3, 4, -- canonical name, Wikidata item, family, scripts
"display_text", "generate_forms", "strip_diacritics", "sort_key",
"other_names", "aliases", "varieties", "ietf_subtag",
"type", "ancestors", "pseudo_families",
"wikimedia_codes", "wikipedia_article", "standard_chars",
"translit", "override_translit", "link_tr",
"dotted_dotless_i",
"is_official_kwf_name", "english_name", "spanish_name" --TLCHANGE custom keys specific to tlwikt
)
local function check_language(modname, code, data, extra_modname, extra_data)
local obj, code_modname, canonical_name = make_lang(code, data, true), get_data_module_name(code), data[1]
-- FIXME: this module should use the prefixed module name throughout.
code_modname = code_modname:gsub("^Module:", "")
if code_modname ~= modname then
if code_modname == "languages/data/2" then
discrepancy(modname,
"%s is a two-letter code, so should be moved to [[Module:%s]].",
link(obj), code_modname
)
elseif code_modname == "languages/data/exceptional" then
discrepancy(modname,
"%s is an exceptional code, as it does not consist of two or three lowercase letters, so should be moved to [[Module:%s]].",
link(obj), code_modname
)
else
discrepancy(modname,
"%s is a three-letter code beginning with '%s', so should be moved to [[Module:%s]].",
link(obj), sub(code, 1, 1), code_modname
)
end
end
check_language_data_keys(modname, obj, data)
if all_codes[code] then
discrepancy(modname,
"The code <code>%s</code> is not unique; it is also defined in [[Module:%s]].",
code, all_codes[code]
)
else
if not m_languages_codes[code] then
discrepancy("languages/code to canonical name",
"The code %s is missing.",
link(obj, true)
)
end
all_codes[code] = modname
end
-- TODO: these checks should be consolidated with the proto-language checks in the family data,
-- since bad settings there affect the warnings here (e.g. xxx-pro assigned to yyy when xxx also
-- doesn't not exist - a warning that xxx has "no family" would be misleading).
if sub(code, -4) == "-pro" then
local fam_code = sub(code, 1, -5)
local fam = get_language_by_code(fam_code, nil, true, true)
if not fam then
discrepancy(modname,
"'''Proto-language with no family''': %s should be the proto-language of <code>%s</code>, which doesn't exist.",
link(obj), dump(fam_code)
)
elseif not fam:hasType("family") then
discrepancy(modname,
"'''Proto-language with no family''': %s should be the proto-language of <code>%s</code>, but %s is not a family.",
link(obj), dump(fam_code), link(fam)
)
else
-- Reinstate this as low-priority once message priorities have been implemented.
-- local expected_name = "Proto-" .. fam:getCanonicalName()
-- if canonical_name ~= expected_name then
-- discrepancy(modname,
-- "%s does not have the expected name \"%s\", even though it is the proto-language of the %s.",
-- link(obj), expected_name, link(fam)
-- )
-- end
end
end
if not canonical_name then
discrepancy(modname,
"The code <code>%s</code> has no canonical name specified.",
code
)
elseif language_names[canonical_name] then
local canonical_lang = get_language_by_canonical_name(canonical_name)
if not canonical_lang then
discrepancy(modname,
"%s has a canonical name that cannot be looked up.",
link(obj)
)
elseif data.main_code ~= canonical_lang:getCode() then
discrepancy(modname,
"%s has a canonical name that is not unique; it is also used by the code <code>%s</code>.",
link(obj), language_names[canonical_name]
)
end
else
if not m_languages_canonical_names[canonical_name] then
discrepancy("languages/canonical names",
"The canonical name %s is missing.",
link(obj)
)
end
language_names[canonical_name] = code
end
check_wikidata_item(modname, obj, data, 2)
if extra_data then
check_other_names_aliases_varieties(modname, obj, extra_data, canonical_name)
end
local lang_type = data.type
if lang_type and not (lang_type == "regular" or lang_type == "reconstructed" or lang_type == "appendix-constructed") then
discrepancy(modname,
"%s is of the invalid type <code>%s</code>.",
link(obj), lang_type
)
end
if data.aliases then
discrepancy(modname,
"%s has an <code>aliases</code> key in [[Module:%s]]. This must be moved to [[Module:%s]].",
link(obj), modname, extra_modname
)
end
if data.varieties then
discrepancy(modname,
"%s has the <code>varieties</code> key in [[Module:%s]]. This must be moved to [[Module:%s]].",
link(obj), modname, extra_modname
)
end
if data.other_names then
discrepancy(modname,
"%s has the <code>other_names</code> key in [[Module:%s]]. This must be moved to [[Module:%s]].",
link(obj), modname, extra_modname
)
end
if not extra_data then
discrepancy(extra_modname,
"%s has data in [[Module:%s]], but does not have corresponding data in [[Module:%s]].",
link(obj), modname, extra_modname
)
--[[elseif extra_data.other_names then
discrepancy(extra_modname,
"%s has <code>other_names</code> key, but these should be changed to either <code>aliases</code> or <code>varieties</code>.",
link(obj)
)]]
end
local sc = data[4]
if sc then
if type(sc) == "string" then
sc = split(sc, "%s*,%s*", true)
end
if type(sc) == "table" then
if not sc[1] then
discrepancy(modname,
"%s has no scripts listed.",
link(obj)
)
else
for _, sccode in ipairs(sc) do
local cur_sc = m_scripts_data[sccode]
if not (cur_sc or sccode == "All" or sccode == "Hants") then
discrepancy(modname,
"%s lists the invalid script code <code>%s</code>.",
link(obj), dump(sccode)
)
--[[elseif not cur_sc.characters then
discrepancy(modname,
"%s lists the %s, which does not have any characters.",
link(obj), link(get_script_by_code(sccode))
)]]
end
nonempty_scripts[sccode] = true
end
end
else
discrepancy(modname,
"The %s field for %s must be a table or string.",
4, link(obj)
)
end
end
if data.ancestors then
check_ancestors(modname, obj, data)
end
if data.wikimedia_codes then
check_wikimedia_codes(modname, obj, data)
end
if data[3] then
local family = data[3]
if not m_families_data[family] then
discrepancy(modname,
"%s has the invalid family code <code>%s</code>.",
link(obj), dump(family)
)
end
nonempty_families[family] = true
end
check_replacements_data(modname, obj, data)
if data.standard_chars then
if type(data.standard_chars) == "table" then
local sccodes = {}
for _, sccode in ipairs(sc) do
sccodes[sccode] = true
end
for sccode in pairs(data.standard_chars) do
if not (sccodes[sccode] or sccode == 1) then
discrepancy(modname,
"The field %s in the <code>standard_chars</code> table for %s does not match any script for that language.",
sccode, link(obj)
)
end
end
elseif data.standard_chars and type(data.standard_chars) ~= "string" then
discrepancy(modname,
"The <code>standard_chars</code> field in the data table for %s must be a string or table.",
link(obj)
)
end
end
check_true_or_string_or_nil(modname, obj, data, "override_translit")
check_true_or_string_or_nil(modname, obj, data, "link_tr")
-- This doesn't apply any more since scripts can be script-wide translit methods.
-- if data.override_translit and not data.translit then
-- discrepancy(modname,
-- "%s has the <code>override_translit</code> field set, but no transliteration module",
-- link(obj)
-- )
-- end
end
local function check_module(modname)
local mod_data = load_data("Module:" .. modname)
local extra_modname = modname .. "/extra"
local extra_mod_data = load_data("Module:" .. extra_modname)
for code, data in pairs(mod_data) do
check_language(modname, code, data, extra_modname, extra_mod_data[code])
end
check_no_alias_codes(modname, mod_data)
check_no_alias_codes(extra_modname, extra_mod_data)
check_extraneous_extra_data(modname, mod_data, extra_modname, extra_mod_data)
end
-- Check two-letter codes
check_module(
"languages/data/2"
)
-- Check three-letter codes
for i = 0x61, 0x7A do -- a to z
check_module(
format("languages/data/3/%c", i)
)
end
-- Check exceptional codes
check_module(
"languages/data/exceptional"
)
-- These checks must be done while all_codes only contains language codes:
-- that is, after language data modules have been processed, but before
-- etymology languages, families, and scripts have.
check_code_to_name_and_name_to_code_maps(
"languages",
"a submodule of [[Module:languages]]",
all_codes, language_names,
"languages/code to canonical name", m_languages_codes,
"languages/canonical names", m_languages_canonical_names
)
-- Check [[Template:langname-lite]]
local modname = "Template:langname-lite"
for code, name in gmatch(remove_comments(new_title(modname):getContent()), "\n\t*|#*([^\n]+)=([^\n]*)") do
if #code > 1 and code ~= "default" then
for _, code in pairs(split(code, "|", true)) do
local lang = get_language_by_code(code, nil, true, true)
if match(name, "etymcode") then
local nonEtym_name = frame:preprocess(name)
local nonEtym_real_name = lang:getFullName()
if nonEtym_name ~= nonEtym_real_name then
discrepancy(modname,
"Code: <code>%s</code>. Saw name: %s. Expected name: %s.",
code, nonEtym_name, nonEtym_real_name
)
end
name = frame:preprocess(gsub(name, "{{{allow etym|}}}", "1"))
elseif match(name, "familycode") then
name = match(name, "familycode|(.-)|")
else
name = name
end
if not lang then
discrepancy(modname,
"Code: <code>%s</code>. Saw name: %s. Language not present in data.",
code, name
)
else
local real_name = lang:getCanonicalName()
if name ~= real_name then
discrepancy(modname,
"Code: <code>%s</code>. Saw name: %s. Expected name: %s.",
code, name, real_name
)
end
end
end
end
end
end
local function check_etym_languages()
local modname = "etymology languages/data"
local check_etymology_language_data_keys = check_data_keys(
1, 2, 3, 4, -- canonical name, Wikidata item, family, scripts
"parent", "display_text", "generate_forms", "strip_diacritics", "sort_key",
"other_names", "aliases", "varieties", "ietf_subtag",
"type", "main_code", "ancestors", "pseudo_families",
"wikimedia_codes", "wikipedia_article", "standard_chars",
"translit", "override_translit", "link_tr",
"dotted_dotless_i",
"is_official_kwf_name", "english_name", "spanish_name" --TLCHANGE custom keys specific to tlwikt
)
local checked = {}
for code, data in pairs(m_etym_languages_data) do
local obj, canonical_name, parent = make_lang(code, data, true), data[1], data.parent
check_etymology_language_data_keys(modname, obj, data)
if all_codes[code] then
discrepancy(modname,
"The code <code>%s</code> is not unique; it is also defined in [[Module:%s]].",
code, all_codes[code]
)
else
if not m_etym_languages_codes[code] then
discrepancy("etymology languages/code to canonical name",
"The code %s is missing.",
link(obj, true)
)
end
all_codes[code] = modname
end
if not canonical_name then
discrepancy(modname,
"The code <code>%s</code> has no canonical name specified.",
code
)
elseif language_names[canonical_name] then
local canonical_lang = get_language_by_canonical_name(canonical_name, nil, true)
if not canonical_lang then
discrepancy(modname,
"%s has a canonical name that cannot be looked up.",
link(obj)
)
elseif data.main_code ~= canonical_lang:getCode() then
discrepancy(modname,
"%s has a canonical name that is not unique; it is also used by the code <code>%s</code>.",
link(obj), language_names[canonical_name]
)
end
else
if not m_etym_languages_canonical_names[canonical_name] then
discrepancy("etymology languages/canonical names",
"The canonical name %s is missing.",
link(obj)
)
end
etym_language_names[canonical_name] = code
end
check_other_names_aliases_varieties(modname, obj, data, canonical_name)
if parent then
if type(parent) ~= "string" then
discrepancy(modname,
"%s has a parent code that is %s rather than a string.",
link(obj), parent == nil and "nil" or "a " .. type(parent)
)
elseif not (m_languages_data_all[parent] or m_etym_languages_data[parent]) then
discrepancy(modname,
"%s has the invalid parent code <code>%s</code>%s.",
link(obj), dump(parent), m_families_data[parent] and " (a family code)" or ""
)
end
nonempty_families[parent] = true
else
discrepancy(modname,
"%s has no parent code.",
link(obj)
)
end
if data.ancestors then
check_ancestors(modname, obj, data)
end
if data.wikimedia_codes then
check_wikimedia_codes(modname, obj, data)
end
if data[3] then
local family = data[3]
if not m_families_data[family] then
discrepancy(modname,
"%s has the invalid family code <code>%s</code>.",
link(obj), dump(family))
end
nonempty_families[family] = true
end
check_replacements_data(modname, obj, data)
check_wikidata_item(modname, obj, data, 2)
local stack = {}
while data do
if checked[code] then
break
elseif stack[code] then
local parent = data.parent
discrepancy(modname,
"%s has a cyclic parental relationship to %s",
link(make_lang(code, data, true)),
link(get_language_by_code(parent, nil, true))
)
break
end
stack[code] = true
code = data.parent
data = m_etym_languages_data[code]
end
for code in pairs(stack) do
checked[code] = true
end
end
check_no_alias_codes(modname, m_etym_languages_data)
check_code_to_name_and_name_to_code_maps(
"etymology languages",
"[[Module:etymology languages/data]]",
all_codes, etym_language_names,
"etymology languages/code to canonical name", m_etym_languages_codes,
"etymology languages/canonical names", m_etym_languages_canonical_names)
end
-- TODO: add collision check between the canonical names "X" and "X [Ll]anguages".
local function check_families()
local modname = "families/data"
local check_family_data_keys = check_data_keys(
1, 2, 3, -- canonical name, Wikidata item, (parent) family
"type", "ietf_subtag",
"protoLanguage", "other_names", "aliases", "varieties", "pseudo_families",
"is_official_kwf_name", "english_name", "spanish_name" --TLCHANGE custom keys specific to tlwikt
)
local checked, double_check_if_empty = {["qfa-not"] = true}, {}
for code, data in pairs(m_families_data) do
local obj, canonical_name, family, protolang = make_family(code, data), data[1], data[3], data.protoLanguage
check_family_data_keys(modname, obj, data)
if all_codes[code] then
discrepancy(modname,
"The code <code>%s</code> is not unique; it is also defined in [[Module:%s]].",
code, all_codes[code]
)
else
if not m_families_codes[code] then
discrepancy("families/code to canonical name",
"The code %s is missing.",
link(obj, true)
)
end
all_codes[code] = modname
end
if not canonical_name then
discrepancy(modname,
"The code <code>%s</code> has no canonical name specified.",
code
)
elseif family_names[canonical_name] then
local canonical_family = get_family_by_canonical_name(canonical_name)
if not canonical_family then
discrepancy(modname,
"%s has a canonical name that cannot be looked up.",
link(obj)
)
elseif data.main_code ~= canonical_family:getCode() then
discrepancy(modname,
"%s has a canonical name that is not unique; it is also used by the code <code>%s</code>.",
link(obj), family_names[canonical_name]
)
end
else
if not m_families_canonical_names[canonical_name] then
discrepancy("families/canonical names",
"The canonical name %s is missing.",
link(obj)
)
end
family_names[canonical_name] = code
end
check_other_names_aliases_varieties(modname, obj, data, canonical_name)
if family then
if family == code and code ~= "qfa-not" then
discrepancy(modname,
"%s has itself as its family.",
link(obj)
)
elseif not m_families_data[family] then
discrepancy(modname,
"%s has the invalid parent family code <code>%s</code>.",
link(obj), dump(family)
)
end
nonempty_families[family] = true
end
if protolang then
local protolang_obj = get_language_by_code(protolang, nil, true)
if not protolang_obj then
discrepancy(modname,
"%s has the invalid proto-language code <code>%s</code>.",
link(obj), dump(protolang)
)
elseif protolang == code .. "-pro" then
discrepancy(modname,
"%s has %s listed as its proto-language, which is redundant, since it is determined to be the proto-language automatically.",
link(obj), link(protolang_obj)
)
elseif sub(protolang, -4) == "-pro" then
discrepancy(modname,
"%s has %s listed as its proto-language, which is supposed to be the proto-language for the family <code>%s</code>.", link(obj), link(protolang_obj), sub(protolang, 1, -5)
)
end
end
check_wikidata_item(modname, obj, data, 2)
-- Could be a false-positive if a child family occurs on a later
-- iteration, so set aside any that fail for a second check. This avoids
-- having to iterate through the whole list of families once
-- nonempty_families has been fully populated.
if not (nonempty_families[code] or allowed_empty_families[code]) then
double_check_if_empty[code] = obj
end
local stack = {}
while data do
if checked[code] then
break
elseif stack[code] then
local parent = data[3]
discrepancy(modname,
"%s has a cyclic familial relationship to %s",
link(make_family(code, data)),
link(get_family_by_code(parent))
)
break
end
stack[code] = true
code = data[3]
data = m_families_data[code]
end
for code in pairs(stack) do
checked[code] = true
end
end
-- Any languages set aside as candidates for having no children are checked
-- again, now that nonempty_families is definitely complete.
for code, obj in next, double_check_if_empty do
if not (nonempty_families[code] or allowed_empty_families[code]) then
discrepancy(modname,
"%s has no child families or languages.",
link(obj)
)
end
end
check_no_alias_codes(modname, m_families_data)
check_code_to_name_and_name_to_code_maps(
"families",
"[[Module:families/data]]",
all_codes, family_names,
"families/code to canonical name", m_families_codes,
"families/canonical names", m_families_canonical_names)
end
-- TODO: add collision check between the canonical names "X" and "X [Ss]cript".
local function check_scripts()
local modname = "scripts/data"
local check_script_data_keys = check_data_keys(
1, 2, 3, -- canonical name, Wikidata item, writing systems
"other_names", "aliases", "varieties", "parent", "ietf_subtag", "type",
"wikipedia_article", "ranges", "characters", "spaces", "capitalized", "translit", "direction",
"character_category", "normalizationFixes", "sort_by_scraping",
"display_text", "sort_key", "strip_diacritics",
"is_official_kwf_name", "english_name", "spanish_name" --TLCHANGE custom keys specific to tlwikt
)
-- Just to satisfy requirements of check_code_to_name_and_name_to_code_maps.
local script_code_to_module_map = {}
for code, data in pairs(m_scripts_data) do
local obj, canonical_name = make_script(code, data), data[1]
if not m_scripts_codes[code] and #code == 4 then
discrepancy("scripts/code to canonical name",
"The code %s is missing",
link(obj, true)
)
end
check_script_data_keys(modname, obj, data)
if not canonical_name then
discrepancy(modname,
"The code <code>%s</code> has no canonical name specified.",
code
)
elseif script_names[canonical_name] then
local canonical_script = get_script_by_canonical_name(canonical_name)
if not canonical_script then
discrepancy(modname,
"%s has a canonical name that cannot be looked up.",
link(obj)
)
--[[elseif data.main_code ~= canonical_script:getCode() then
discrepancy(modname,
"%s has a canonical name that is not unique; it is also used by the code <code>%s</code>.",
link(obj), script_names[canonical_name]
)]]
end
else
if not m_scripts_canonical_names[canonical_name] and #code == 4 then
discrepancy("scripts/canonical names",
"The canonical name %s is missing.",
link(obj)
)
end
script_names[canonical_name] = code
end
check_other_names_aliases_varieties(modname, obj, data, canonical_name)
if not nonempty_scripts[code] then
discrepancy(modname,
"%s is not used by any language%s.",
link(obj), data.characters and ""
or " and has no characters listed for auto-detection")
--[[elseif not data.characters then
discrepancy(modname,
"%s has no characters listed for auto-detection.",
link(obj)
)--]]
end
if data.characters then
validate_pattern(data.characters, modname, obj, false)
end
check_wikidata_item(modname, obj, data, 2)
script_code_to_module_map[code] = modname
end
check_no_alias_codes(modname, m_scripts_data)
check_code_to_name_and_name_to_code_maps(
"scripts",
"a submodule of [[Module:scripts]]",
script_code_to_module_map, script_names,
"scripts/code to canonical name", m_scripts_codes,
"scripts/canonical names", m_scripts_canonical_names)
end
-- FIXME: this is quite messy.
local function check_wikidata_languages()
local data = json_decode(new_title("Module:languages/data/wikidata.json"):getContent())
local seen = {{}, {}, {}, [5] = {}}
for _, item in ipairs(data) do
local id = item.id
for k, v in pairs(item) do
if k ~= "id" then
local _seen = seen[k]
for _, code in ipairs(v) do
local _code = code[1]
local _type = type(_seen[_code])
if _type == "table" then
insert(_seen[_code], id)
elseif _type == "string" then
_seen[_code] = {_seen[_code], id}
else
_seen[_code] = id
end
end
end
end
end
local modname = "languages/data/wikidata.json"
for k, v in pairs(seen) do
for code, ids in pairs(v) do
if type(ids) == "table" then
local t = {}
for i, id in ipairs(ids) do
t[i] = format("<code>[[d:%s|%s]]</code>", id, id)
end
discrepancy(modname,
"<code>%s</code> is set as an ISO 639-%d code on multiple items: %s.",
code, k, list_to_text(t)
)
end
end
end
end
local function check_labels()
local check_label_data_keys = check_data_keys(
"display", "Wikipedia", "glossary",
"plain_categories", "topical_categories", "pos_categories", "regional_categories", "sense_categories",
"omit_preComma", "omit_postComma", "omit_preSpace",
"deprecated", "track",
"english_name" --TLCHANGE custom keys specific to tlwikt
)
local function check_label(modname, code, data)
local _type = type(data)
if _type == "table" then
check_label_data_keys(modname, code, data)
elseif _type ~= "string" then
discrepancy(modname,
"The data for the label <code>%s</code> is %s %s; only tables and strings are allowed.",
code, add_indefinite_article(_type)
)
end
end
for _, module in ipairs{"", "/regional", "/topical"} do
local modname = "Module:labels/data" .. module
module = require(modname)
for label, data in pairs(module) do
check_label(modname, label, data)
end
end
for code in pairs(m_languages_codes) do
local modname = "Module:labels/data/lang/" .. code
local module = safe_require(modname)
if module then
for label, data in pairs(module) do
check_label(modname, label, data)
end
end
end
end
local function check_zh_trad_simp()
local m_ts = require("Module:zh/data/ts")
local m_st = require("Module:zh/data/st")
local ruby = require("Module:ja-ruby").ruby_auto
local lang = get_language_by_code("zh")
local Hant = get_script_by_code("Hant")
local Hans = get_script_by_code("Hans")
local data = {[0] = m_st, m_ts}
local mod = {[0] = "st", "ts"}
local var = {[0] = "Simp.", "Trad."}
local sc = {[0] = Hans, Hant}
local function find_stable_loop(chars, other, j)
local display = ruby({["markup"] = "[" .. other .. "](" .. var[(j+1)%2] .. ")"})
display = language_link{term = other, alt = display, lang = lang, sc = sc[(j+1)%2], tr = "-"}
insert(chars, display)
if data[(j+1)%2][other] == other then
insert(chars, other)
return chars, 1
elseif not data[(j+1)%2][other] then
insert(chars, "not found")
return chars, 2
elseif data[j%2][data[(j+1)%2][other]] ~= other then
return find_stable_loop(chars, data[(j+1)%2][other], j + 1)
else
local display = ruby({["markup"] = "[" .. data[(j+1)%2][other] .. "](" .. var[j%2] .. ")"})
display = language_link{term = data[(j+1)%2][other], alt = display, lang = lang, sc = sc[j%2], tr = "-"}
insert(chars, display .. " (")
display = ruby({["markup"] = "[" .. data[j%2][data[(j+1)%2][other]] .. "](" .. var[(j+1)%2] .. ")"})
display = language_link{term = data[j%2][data[(j+1)%2][other]], alt = display, lang = lang, sc = sc[(j+1)%2], tr = "-"}
insert(chars, display .. " etc.)")
return chars, 3
end
return chars
end
for i = 0, 1, 1 do
for ch, other_ch in pairs(data[i]) do
if data[(i+1)%2][other_ch] ~= ch then
local chars, issue = {}
local display = ruby({["markup"] = "[" .. ch .. "](" .. var[i] .. ")"})
display = language_link{term = ch, alt = display, lang = lang, sc = sc[i], tr = "-"}
insert(chars, display)
chars, issue = find_stable_loop(chars, other_ch, i)
if issue == 1 or issue == 2 then
local sc_this, mod_this, j = {}
if match(chars[#chars-1], var[(i+1)%2]) then
j = 1
else
j = 0
end
mod_this = mod[(i+j)%2]
sc_this = {[0] = sc[(i+j)%2], sc[(i+j+1)%2]}
for k, ch in ipairs(chars) do
chars[k] = tag_text(ch, lang, sc_this[k%2], "term")
end
local modname = "zh/data/" .. mod_this
if issue == 1 then
discrepancy(modname,
"character references itself: %s",
concat(chars, " → ")
)
elseif issue == 2 then
discrepancy(modname,
"missing character: %s",
concat(chars, " → ")
)
end
elseif issue == 3 then
for j, ch in ipairs(chars) do
chars[j] = tag_text(ch, lang, sc[(i+j)%2], "term")
end
discrepancy("zh/data/" .. mod[i],
"possible mismatched character: %s",
concat(chars, " → ")
)
end
end
end
end
end
local function check_serialization(modname)
local serializers = {
["Hani-sortkey/data/serialized"] = "Hani-sortkey/serializer",
}
if not serializers[modname] then
return nil
end
local serializer = serializers[modname]
local current_data = require("Module:" .. serializer).main(true)
local stored_data = require("Module:" .. modname)
if current_data ~= stored_data then
discrepancy(modname,
"<strong><u>Important!</u> Serialized data is out of sync. Use [[Module:%s]] to update it. If you have made any changes to the underlying data, the serialized data <u>must</u> be updated before these changes will take effect.</strong>",
serializer
)
end
end
local find_code = require("Module:memoize")(function(message)
return match(message, "<code>([^<]+)</code>")
end)
local function compare_messages(message1, message2)
local code1, code2 = find_code(message1), find_code(message2)
if code1 and code2 then
return code1 < code2
else
return message1 < message2
end
end
-- Warning: cannot be called twice in the same module invocation because
-- some module-global variables are not reset between calls.
local function do_checks(frame, modules)
messages = setmetatable({}, messages_mt)
if modules["zh/data/ts"] or modules["zh/data/st"] then
check_zh_trad_simp()
end
check_languages(frame)
check_etym_languages()
-- families and scripts must be checked AFTER languages; languages checks fill out
-- the nonempty_families and nonempty_scripts tables, used for testing if a family/script
-- is ever used in the data
check_families()
check_scripts()
check_wikidata_languages()
if modules["labels/data"] then
check_labels()
end
for module in pairs(modules) do
check_serialization(module)
end
setmetatable(messages, nil)
for _, msglist in pairs(messages) do
msglist:sort(compare_messages)
end
local ret = messages
messages = nil
return ret
end
local function format_message(modname, msglist)
local header; if match(modname, "^Module:") or match(modname, "^Template:") then
header = "===[[" .. modname .. "]]==="
else
header = "===[[Module:" .. modname .. "]]==="
end
return header .. msglist:map(function(msg)
return "\n* " .. msg
end):concat()
end
function export.check_modules_t(frame)
local args = frame.args
local modules = list_to_set(args)
local ret = Array()
local messages = do_checks(frame, modules)
for _, module in ipairs(args) do
local msglist = messages[module]
if msglist then
ret:insert(format_message(module, msglist))
end
end
return ret:concat("\n")
end
function export.perform(frame)
local messages = do_checks(frame, {})
-- Format the messages
local ret = Array()
for modname, msglist in sorted_pairs(messages) do
ret:insert(format_message(modname, msglist))
end
-- Are there any messages?
-- TODO: check how many messages there are.
if false then --if i == 1 then
return "<b class=\"success\">Glory to Arstotzka.</b>"
else
ret:insert(1, "<b class=\"warning\">Discrepancies detected:</b>")
return ret:concat("\n")
end
end
return export