Template:language extradata documentation
This module contains definitions and metadata for language codes. See Wiktionary:Languages for more information.
This module must not be used directly in other modules or templates. The data should be accessed through Module:languages.
Errors
The following errors were detected by Module:data consistency check:
- Norwegian Bokmål language (
nb
) has Middle Norwegian language (gmq-mno
) set as an ancestor, but is not in the West Scandinavian family (gmq-wes
). - Norwegian Bokmål language (
nb
) has Danish language (da
) set as an ancestor, but is not in the East Scandinavian family (gmq-eas
).
- Caribbean Hindustani language (
hns
) has Bhojpuri language (bho
) set as an ancestor, but is not in the Bihari family (inc-bih
). - Caribbean Hindustani language (
hns
) has Awadhi language (awa
) set as an ancestor, but is not in the Eastern Hindi family (inc-hie
).
- Proto-Central Togo language (
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
). - Proto-Arawa language (
auf-pro
) does not have the expected name "Proto-Arauan", even though it is the proto-language of the Arauan languages (auf
). - Proto-Amuesha-Chamicuro language (
awd-amc-pro
) has a proto-language code associated with the invalid codeawd-amc
. - Proto-Kampa language (
awd-kmp-pro
) has a proto-language code associated with the invalid codeawd-kmp
. - Proto-Arawak language (
awd-pro
) does not have the expected name "Proto-Arawakan", even though it is the proto-language of the Arawakan languages (awd
). - Proto-Paresi-Waura language (
awd-prw-pro
) has a proto-language code associated with the invalid codeawd-prw
. - Proto-Ta-Arawak language (
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
). - Proto-Rukai language (
dru-pro
) has a proto-language code associated with Rukai (dru
), which is not a family. - Proto-Basque language (
euq-pro
) does not have the expected name "Proto-Vasconic", even though it is the proto-language of the Vasconic languages (euq
). - Proto-Norse language (
gmq-pro
) does not have the expected name "Proto-North Germanic", even though it is the proto-language of the North Germanic languages (gmq
). - Proto-Kamta language (
inc-krn-pro
) does not have the expected name "Proto-KRNB lects", even though it is the proto-language of the KRNB lects (inc-krn
). - Kelantan Peranakan Hokkien, the canonical name for
mis-hkl
, is repeated in the table ofaliases
. - Proto-Chumash language (
nai-chu-pro
) does not have the expected name "Proto-Chumashan", even though it is the proto-language of the Chumashan languages (nai-chu
). - Proto-Maidun language (
nai-mdu-pro
) does not have the expected name "Proto-Maiduan", even though it is the proto-language of the Maiduan languages (nai-mdu
). - Proto-Mixe-Zoque language (
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
). - Proto-Pomo language (
nai-pom-pro
) does not have the expected name "Proto-Pomoan", even though it is the proto-language of the Pomoan languages (nai-pom
). - Proto-Mazatec language (
omq-maz-pro
) does not have the expected name "Proto-Mazatecan", even though it is the proto-language of the Mazatecan languages (omq-maz
). - Proto-Ossetic language (
os-pro
) has a proto-language code associated with Ossetian (os
), which is not a family. - Proto-North Sarawak language (
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
). - Proto-Salish language (
sal-pro
) does not have the expected name "Proto-Salishan", even though it is the proto-language of the Salishan languages (sal
). - Proto-Samic language (
smi-pro
) does not have the expected name "Proto-Sami", even though it is the proto-language of the Sami languages (smi
). - Proto-Kuki-Chin language (
tbq-kuk-pro
) does not have the expected name "Proto-Kukish", even though it is the proto-language of the Kukish languages (tbq-kuk
). - Proto-Saka language (
xsc-sak-pro
) does not have the expected name "Proto-Sakan", even though it is the proto-language of the Sakan languages (xsc-sak
). - Proto-Sarmatian language (
xsc-sar-pro
) has a proto-language code associated with the invalid codexsc-sar
.
- Language code
nan-hnm
is not found in Module:languages/data/exceptional, and should be removed from Module:languages/data/exceptional/extra. - Language code
nan-luh
is not found in Module:languages/data/exceptional, and should be removed from Module:languages/data/exceptional/extra.
- Literary Chinese language (
lzh-lit
) has a canonical name that is not unique; it is also used by the codelzh
. - The data key
preprocess_links
for ??? (th-new
) is invalid.
- Old Indo-Aryan family (
inc-old
) has no child families or languages.
Values
All values are optional.
aliases
- A list of aliases/synonyms for the language, other than the canonical name.
varieties
- A table of language varieties that are subsumed under the language. This should not in general include those language varieties for which separate etymology language codes have been assigned (e.g. Late Latin, Vulgar Latin and Medieval Latin for Latin; Auvergnat, Gascon, Lengadocian, Limousin, Provençal and Vivaro-Alpine for Occitan). If a given variety has several names, they can all be listed by including a sublist in the overall list, where the first element is the canonical name that you want the variety to be known by, and the remainder are aliases. For example, Azerbaijani lists the following under varieties:
{"North Azerbaijani", "South Azerbaijani", {"Afshar", "Afshari", "Afshar Azerbaijani", "Afchar"}, {"Qashqa'i", "Qashqai", "Kashkay"}, "Sonqor" }
Here, the Afshar variety has three aliases specified (Afshari, Afshar Azerbaijani, and Afchar) while the Qashqa'i variety has two aliases specified (Qashqai and Kashkay), and the Songor, North Azerbaijani and South Azerbaijani varieties have no aliases listed. Note that, as here, varieties at different levels of specificity can be given in the same list.
In some cases varieties should instead be added to Module:etymology languages/data, with the language as the
parent
value, so that they can be referred to in etymologies. otherNames
(deprecated)- A table of all non-canonical names that this language is known by, including both synonyms and language varieties. This should not be used in new languages, and existing languages should have the entries in this list moved into either
aliases
orvarieties
.
- The following documentation is located at Template:language extradata documentation/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox