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:
aav
) has a canonical name that is not unique; it is also used by the code mkh
.paa-kiw
) has no child families or languages.qfa-buy
) has no child families or languages.qfa-gel
) has no child families or languages.sdv-bri
) has no child families or languages.sdv-dnu
) has no child families or languages.sdv-lma
) has no child families or languages.sdv-lon
) has no child families or languages.sdv-los
) has no child families or languages.sdv-nma
) has no child families or languages.sdv-ttu
) has no child families or languages.tbq-lal
) has no child families or languages.ie
, is repeated in the table of aliases
.art-top
) has a canonical name that is not unique; it is also used by the code tok
.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