This module contains definitions for all language family codes on Wiktionary. The entries are listed by their family code, which is usually an ISO-639 code, but there are also some exceptional codes. These are listed on Wiktionary:Families; that page also explains how to create new exceptional codes.
This module must not be imported using require
. Instead, it is imported like this:
local families = mw.loadData("Module:families")
This ensures that the data is only loaded once per page, rather than once for every module invocation like normal.
The following errors were detected by Module:data consistency check:
nb
) has Middle Norwegian (gmq-mno
) set as an ancestor, but is not in the West Scandinavian languages (gmq-wes
).nb
) has Danish (da
) set as an ancestor, but is not in the East Scandinavian languages (gmq-eas
).hns
) has Bhojpuri (bho
) set as an ancestor, but is not in the Bihari languages (inc-bih
).hns
) has Awadhi (awa
) set as an ancestor, but is not in the Eastern Hindi languages (inc-hie
).alv-gtm-pro
) does not have the expected name "Proto-Ghana-Togo Mountain", even though it is the proto-language of the Ghana-Togo Mountain languages (alv-gtm
).auf-pro
) does not have the expected name "Proto-Arauan", even though it is the proto-language of the Arauan languages (auf
).awd-amc-pro
) has a proto-language code associated with the invalid code "awd-amc"
.awd-kmp-pro
) has a proto-language code associated with the invalid code "awd-kmp"
.awd-pro
) does not have the expected name "Proto-Arawakan", even though it is the proto-language of the Arawakan languages (awd
).awd-prw-pro
) has a proto-language code associated with the invalid code "awd-prw"
.awd-taa-pro
) does not have the expected name "Proto-Ta-Arawakan", even though it is the proto-language of the Ta-Arawakan languages (awd-taa
).dru-pro
) has a proto-language code associated with Rukai (dru
), which is not a family.euq-pro
) does not have the expected name "Proto-Vasconic", even though it is the proto-language of the Vasconic languages (euq
).gmq-pro
) does not have the expected name "Proto-North Germanic", even though it is the proto-language of the North Germanic languages (gmq
).inc-krd-pro
) does not have the expected name "Proto-KRDS lects", even though it is the proto-language of the KRDS lects (inc-krd
).mis-hkl
) has its canonical name ("Kelantan Peranakan Hokkien"
) repeated in the table of aliases
.nai-chu-pro
) does not have the expected name "Proto-Chumashan", even though it is the proto-language of the Chumashan languages (nai-chu
).nai-mdu-pro
) does not have the expected name "Proto-Maiduan", even though it is the proto-language of the Maiduan languages (nai-mdu
).nai-miz-pro
) does not have the expected name "Proto-Mixe-Zoquean", even though it is the proto-language of the Mixe-Zoquean languages (nai-miz
).nai-pom-pro
) does not have the expected name "Proto-Pomoan", even though it is the proto-language of the Pomoan languages (nai-pom
).omq-maz-pro
) does not have the expected name "Proto-Mazatecan", even though it is the proto-language of the Mazatecan languages (omq-maz
).poz-swa-pro
) does not have the expected name "Proto-North Sarawakan", even though it is the proto-language of the North Sarawakan languages (poz-swa
).sal-pro
) does not have the expected name "Proto-Salishan", even though it is the proto-language of the Salishan languages (sal
).sit-khp-pro
) has a proto-language code associated with the invalid code "sit-khp"
.sit-kon-pro
) does not have the expected name "Proto-Konyak", even though it is the proto-language of the Konyak languages (sit-kon
).smi-pro
) does not have the expected name "Proto-Sami", even though it is the proto-language of the Sami languages (smi
).tbq-kuk-pro
) does not have the expected name "Proto-Kukish", even though it is the proto-language of the Kukish languages (tbq-kuk
).xsc-sak-pro
) does not have the expected name "Proto-Sakan", even though it is the proto-language of the Sakan languages (xsc-sak
).lzh-lit
) has a canonical name that is not unique; it is also used by the code lzh
.inc-old
) has no child families or languages.ira-mid
) has no child families or languages.ira-old
) has no child families or languages.qfa-cre
) has no child families or languages.qfa-pid
) has no child families or languages.lzh-lit
, is wrong; it should be Literary Chinese.lzh-lit
, is wrong; it should be Literary Chinese.Every entry in the table must contain the following properties:
canonicalName
aliases
varieties
otherNames
(deprecated)aliases
or varieties
.protoLanguage
-pro
to the family code — for instance, ine
(Indo-European languages) → ine-pro
(Proto-Indo-European language) — and then use Module:languages to check if the code is valid.family
wikidata_item