Template:language extradata documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search

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:

  • 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 code awd-amc.
  • Proto-Kampa language (awd-kmp-pro) has a proto-language code associated with the invalid code awd-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 code awd-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 of aliases.
  • 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 code xsc-sar.
  • Literary Chinese language (lzh-lit) has a canonical name that is not unique; it is also used by the code lzh.
  • The data key preprocess_links for ??? (th-new) is invalid.

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 or varieties.