Module:languages/data/3/v
Appearance
< Module:languages | data
- පහත දැක්වෙන උපදෙස්, Template:language data documentation මගින් ජනනය කොට ඇත. [සංස්කරණය කරන්න]
- ප්රයෝජනවත් සබැඳි: root page • root page’s subpages • සබැඳි • transclusions • testcases • sandbox
This module contains definitions and metadata for three-letter language codes starting with "v". 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. For the corresponding extra data, see Module:languages/data/3/v/extra.
Errors
[සංස්කරණය]The following errors were detected by Module:data consistency check:
- ජර්මානු (
de) lists the invalid language code"de-ear"as its ancestor. - Norwegian Bokmål (
nb) has Middle Norwegian (gmq-mno) set as an ancestor, but is not in the West Scandinavian භාෂා (gmq-wes). - Norwegian Bokmål (
nb) has ඩෙන්මාර්ක (da) set as an ancestor, but is not in the East Scandinavian භාෂා (gmq-eas). - Tatar (
tt) has anoverride_translitvalue that is notnil,trueor a string:false
- Caribbean Hindustani (
hns) has Bhojpuri (bho) set as an ancestor, but is not in the Bihari භාෂා (inc-bih). - Caribbean Hindustani (
hns) has Awadhi (awa) set as an ancestor, but is not in the Eastern Hindi භාෂා (inc-hie).
- The
translitfield in the data table for Khinalug (kjj) specifies the module Module:kjj-translit, which does not exist. - The
translitfield in the data table for Kuvi (kxv) specifies the module Module:kxv-translit, which does not exist. - The
translitfield in the data table for Kui (India) (kxu) specifies the module Module:kxv-translit, which does not exist. - The
translitfield in the data table for S'gaw Karen (ksw) specifies the module Module:ksw-translit, which does not exist. - The
translitfield in the data table for Khvarshi (khv) specifies the module Module:khv-translit, which does not exist. - The
translitfield in the data table for Karata (kpt) specifies the module Module:kpt-translit, which does not exist. - The
translitfield in the data table for Eastern Pwo (kjp) specifies the module Module:kjp-translit, which does not exist. - The
translitfield in the data table for Khakas (kjh) specifies the module Module:kjh-translit, which does not exist. - The
translitfield in the data table for Koryak (kpy) specifies the module Module:kpy-translit, which does not exist.
- The
sort_keyfield in the data table for Laboya (lmy) specifies the module Module:lmy-sortkey, which does not exist. - The
sort_keyfield in the data table for Lak (lbe) specifies the module Module:lbe-sortkey, which does not exist. - The
translitfield in the data table for Limbu (lif) specifies the module Module:lif-translit, which does not exist. - The
translitfield in the data table for Lak (lbe) specifies the module Module:lbe-translit, which does not exist. - The
translitfield in the data table for Laki (lki) specifies the module Module:lki-translit, which does not exist.
- The
sort_keyfield in the data table for Middle Irish (mga) specifies the module Module:mga-sortkey, which does not exist. - The
sort_keyfield in the data table for Moksha (mdf) specifies the module Module:mdf-sortkey, which does not exist. - The
sort_keyfield in the data table for Western Mari (mrj) specifies the module Module:mrj-sortkey, which does not exist. - The
translitfield in the data table for Manda (India) (mha) specifies the module Module:kxv-translit, which does not exist. - The
translitfield in the data table for Mozarabic (mxi) specifies the module Module:mxi-translit, which does not exist.
- The
sort_keyfield in the data table for Nivkh (niv) specifies the module Module:niv-sortkey, which does not exist. - The
translitfield in the data table for Naskapi (nsk) specifies the module Module:nsk-translit, which does not exist. - The
translitfield in the data table for Nivkh (niv) specifies the module Module:niv-translit, which does not exist. - The
translitfield in the data table for Nganasan (nio) specifies the module Module:nio-translit, which does not exist.
- The
sort_keyfield in the data table for Middle Korean (okm) specifies the module Module:okm-sortkey, which does not exist. - The
translitfield in the data table for Orok (oaa) specifies the module Module:oaa-translit, which does not exist. - The
translitfield in the data table for Omok (omk) specifies the module Module:omk-translit, which does not exist.
- The
translitfield in the data table for Pengo (peg) specifies the module Module:kxv-translit, which does not exist.
- The
sort_keyfield in the data table for Carpathian Rusyn (rue) specifies the module Module:rue-sortkey, which does not exist. - The
translitfield in the data table for Pannonian Rusyn (rsk) specifies the module Module:rsk-translit, which does not exist. - The
translitfield in the data table for Rutul (rut) specifies the module Module:rut-translit, which does not exist.
- The
sort_keyfield in the data table for Inari Sami (smn) specifies the module Module:smn-sortkey, which does not exist. - The
sort_keyfield in the data table for Pite Sami (sje) specifies the module Module:sje-sortkey, which does not exist. - The
sort_keyfield in the data table for Old Irish (sga) specifies the module Module:sga-sortkey, which does not exist. - The
sort_keyfield in the data table for Lule Sami (smj) specifies the module Module:smj-sortkey, which does not exist. - The
sort_keyfield in the data table for Ume Sami (sju) specifies the module Module:sju-sortkey, which does not exist. - The
sort_keyfield in the data table for Southern Sami (sma) specifies the module Module:sma-sortkey, which does not exist. - The
translitfield in the data table for Svan (sva) specifies the module Module:sva-translit, which does not exist. - The
translitfield in the data table for Southern Kurdish (sdh) specifies the module Module:sdh-translit, which does not exist. - The
translitfield in the data table for Shughni (sgh) specifies the module Module:sgh-translit, which does not exist. - The
translitfield in the data table for Ter Sami (sjt) specifies the module Module:sjt-translit, which does not exist.
- The
sort_keyfield in the data table for Talossan (tzl) specifies the module Module:tzl-sortkey, which does not exist. - The
translitfield in the data table for Tsakhur (tkr) specifies the module Module:tkr-translit, which does not exist. - The
translitfield in the data table for Tangut (txg) specifies the module Module:txg-translit, which does not exist.
- The
sort_keyfield in the data table for Udmurt (udm) specifies the module Module:udm-sortkey, which does not exist. - The
sort_keyfield in the data table for Ulch (ulc) specifies the module Module:ulc-sortkey, which does not exist. - The
sort_keyfield in the data table for Ubykh (uby) specifies the module Module:uby-sortkey, which does not exist.
- The
sort_keyfield in the data table for East Franconian (vmf) specifies the module Module:vmf-sortkey, which does not exist.
- The
sort_keyfield in the data table for Middle Welsh (wlm) specifies the module Module:wlm-sortkey, which does not exist.
- The
sort_keyfield in the data table for Kalmyk (xal) specifies the module Module:xal-sortkey, which does not exist. - The
translitfield in the data table for Written Oirat (xwo) specifies the module Module:xwo-translit, which does not exist. - The
translitfield in the data table for Chuvan (xcv) specifies the module Module:xcv-translit, which does not exist. - The
translitfield in the data table for Kamassian (xas) specifies the module Module:xas-translit, which does not exist.
- The
translitfield in the data table for Southern Yukaghir (yux) specifies the module Module:yux-translit, which does not exist. - The
translitfield in the data table for Sirenik (ysr) specifies the module Module:ysr-translit, which does not exist. - The
translitfield in the data table for Yamphu (ybi) specifies the module Module:ybi-translit, which does not exist. - The
translitfield in the data table for Yazghulami (yah) specifies the module Module:yah-translit, which does not exist.
- The
sort_keyfield in the data table for Zazaki (zza) specifies the module Module:zza-sortkey, which does not exist.
- Proto-Central Togo (
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 භාෂා (alv-gtm). - Proto-Arawa (
auf-pro) does not have the expected name "Proto-Arauan", even though it is the proto-language of the Arauan භාෂා (auf). - Proto-Amuesha-Chamicuro (
awd-amc-pro) has a proto-language code associated with the invalid code"awd-amc". - Proto-Kampa (
awd-kmp-pro) has a proto-language code associated with the invalid code"awd-kmp". - Proto-Arawak (
awd-pro) does not have the expected name "Proto-Arawakan", even though it is the proto-language of the Arawakan භාෂා (awd). - Proto-Paresi-Waura (
awd-prw-pro) has a proto-language code associated with the invalid code"awd-prw". - Proto-Ta-Arawak (
awd-taa-pro) does not have the expected name "Proto-Ta-Arawakan", even though it is the proto-language of the Ta-Arawakan භාෂා (awd-taa). - Proto-Rukai (
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 භාෂා (euq). - ප්රොටෝ-ජර්මානු (
gem-pro) does not have the expected name "Proto-ජර්මානු", even though it is the proto-language of the ජර්මානු භාෂා (gem). - Proto-Norse (
gmq-pro) does not have the expected name "Proto-North Germanic", even though it is the proto-language of the North Germanic භාෂා (gmq). - ප්රොටෝ-බටහිර ජර්මානු (
gmw-pro) does not have the expected name "Proto-බටහිර ජර්මානු", even though it is the proto-language of the බටහිර ජර්මානු භාෂා (gmw). - Proto-Kamta (
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). - Proto-Indo-Aryan (
inc-pro) does not have the expected name "Proto-ඉන්දු-ආර්ය", even though it is the proto-language of the ඉන්දු-ආර්ය භාෂා (inc). - ප්රොටෝ-ඉන්දු-යුරෝපීය (
ine-pro) does not have the expected name "Proto-ඉන්දු-යුරෝපීය", even though it is the proto-language of the ඉන්දු-යුරෝපීය භාෂා (ine). - Kelantan Peranakan Hokkien (
mis-hkl) has its canonical name ("Kelantan Peranakan Hokkien") repeated in the table ofaliases. - Proto-Chumash (
nai-chu-pro) does not have the expected name "Proto-Chumashan", even though it is the proto-language of the Chumashan භාෂා (nai-chu). - Proto-Maidun (
nai-mdu-pro) does not have the expected name "Proto-Maiduan", even though it is the proto-language of the Maiduan භාෂා (nai-mdu). - Proto-Mixe-Zoque (
nai-miz-pro) does not have the expected name "Proto-Mixe-Zoquean", even though it is the proto-language of the Mixe-Zoquean භාෂා (nai-miz). - Proto-Pomo (
nai-pom-pro) does not have the expected name "Proto-Pomoan", even though it is the proto-language of the Pomoan භාෂා (nai-pom). - Proto-Mazatec (
omq-maz-pro) does not have the expected name "Proto-Mazatecan", even though it is the proto-language of the Mazatecan භාෂා (omq-maz). - Proto-North Sarawak (
poz-swa-pro) does not have the expected name "Proto-North Sarawakan", even though it is the proto-language of the North Sarawakan භාෂා (poz-swa). - Proto-Koreanic (
qfa-kor-pro) does not have the expected name "Proto-කොරියානු", even though it is the proto-language of the කොරියානු භාෂා (qfa-kor). - Proto-Salish (
sal-pro) does not have the expected name "Proto-Salishan", even though it is the proto-language of the Salishan භාෂා (sal). - Proto-Puroik (
sit-khp-pro) has a proto-language code associated with the invalid code"sit-khp". - Proto-Northern Naga (
sit-kon-pro) does not have the expected name "Proto-Konyak", even though it is the proto-language of the Konyak භාෂා (sit-kon). - Proto-Samic (
smi-pro) does not have the expected name "Proto-Sami", even though it is the proto-language of the Sami භාෂා (smi). - Proto-Kuki-Chin (
tbq-kuk-pro) does not have the expected name "Proto-Kukish", even though it is the proto-language of the Kukish භාෂා (tbq-kuk). - The
translitfield in the data table for Forest Nenets (syd-fne) specifies the module Module:syd-fne-translit, which does not exist. - The
translitfield in the data table for Middle Assamese (inc-mas) specifies the module Module:inc-mas-translit, which does not exist. - The
translitfield in the data table for Southern Khanty (kca-sou) specifies the module Module:kca-translit, which does not exist. - The
translitfield in the data table for Southern Selkup (sel-sou) specifies the module Module:sel-sou-translit, which does not exist. - The
translitfield in the data table for Northern Khanty (kca-nor) specifies the module Module:kca-translit, which does not exist. - The
translitfield in the data table for Eastern Khanty (kca-eas) specifies the module Module:kca-translit, which does not exist. - The
translitfield in the data table for Old Komi (urj-koo) specifies the module Module:urj-koo-translit, which does not exist. - The
translitfield in the data table for Northern Selkup (sel-nor) specifies the module Module:sel-nor-translit, which does not exist. - Proto-Saka (
xsc-sak-pro) does not have the expected name "Proto-Sakan", even though it is the proto-language of the Sakan භාෂා (xsc-sak).
- Literary Chinese (
lzh-lit) has a canonical name that is not unique; it is also used by the codelzh.
- Old Indo-Aryan භාෂා (
inc-old) has no child families or languages. - Middle Iranian භාෂා (
ira-mid) has no child families or languages. - Old Iranian භාෂා (
ira-old) has no child families or languages. - creole භාෂා (
qfa-cre) has no child families or languages. - pidgin භාෂා (
qfa-pid) has no child families or languages.
- Code:
EL.. Saw name: Ecclesiastical ලතින්. Expected name: Ecclesiastical Latin. - Code:
LL.. Saw name: Late ලතින්. Expected name: Late Latin. - Code:
ML.. Saw name: Medieval ලතින්. Expected name: Medieval Latin. - Code:
VL.. Saw name: Vulgar ලතින්. Expected name: Vulgar Latin. - Code:
abs. Saw name: Ambonese මැලේ. Expected name: Ambonese Malay. - Code:
acw. Saw name: Hijazi අරාබි. Expected name: Hijazi Arabic. - Code:
acy. Saw name: Cypriot අරාබි. Expected name: Cypriot Arabic. - Code:
aeb. Saw name: Tunisian අරාබි. Expected name: Tunisian Arabic. - Code:
afb. Saw name: Gulf අරාබි. Expected name: Gulf Arabic. - Code:
ajp. Saw name: South Levantine අරාබි. Expected name: South Levantine Arabic. - Code:
apc. Saw name: North Levantine අරාබි. Expected name: North Levantine Arabic. - Code:
ary. Saw name: Moroccan අරාබි. Expected name: Moroccan Arabic. - Code:
arz. Saw name: ඊජිප්තු අරාබි. Expected name: Egyptian Arabic. - Code:
ayl. Saw name: Libyan අරාබි. Expected name: Libyan Arabic. - Code:
br. Saw name: Breton. Expected name: බ්රෙටන්. - Code:
cmn-ear. Saw name: Early මැන්ඩරීන්. Expected name: Early Mandarin. - Code:
cy. Saw name: Welsh. Expected name: වේල්ස. - Code:
dra-okn. Saw name: Old කන්නඩ. Expected name: Old Kannada. - Code:
dum. Saw name: Middle ඕලන්ද. Expected name: Middle Dutch. - Code:
enm. Saw name: Middle ඉංග්රීසි. Expected name: මධ්යකාලීන ඉංග්රීසි. - Code:
euq-pro. Saw name: Proto-බාස්ක්. Expected name: ප්රොටෝ-බාස්ක්. - Code:
fr-CA. Saw name: Canadian ප්රංශ. Expected name: Canadian French. - Code:
frk. Saw name: Proto-West ජර්මානුic. Expected name: ප්රොටෝ-බටහිර ජර්මානු. - Code:
frm. Saw name: Middle ප්රංශ. Expected name: මධ්යකාලීන ප්රංශ. - Code:
fro-nor. Saw name: Old Northern ප්රංශ. Expected name: Old Northern French. - Code:
gd. Saw name: Scottish Gaelic. Expected name: ස්කොට්ස් ගේලික්. - Code:
gem. Saw name: ජර්මානුic. Expected name: ජර්මානු. - Code:
gem-pro. Saw name: Proto-ජර්මානුic. Expected name: ප්රොටෝ-ජර්මානු. - Code:
gkm. Saw name: Byzantine ග්රීක. Expected name: Byzantine Greek. - Code:
gmh. Saw name: Middle High ජර්මානු. Expected name: Middle High German. - Code:
gml. Saw name: Middle Low ජර්මානු. Expected name: Middle Low German. - Code:
gmq. Saw name: North ජර්මානුic. Expected name: North Germanic. - Code:
gmq-mno. Saw name: Middle නෝර්වීජියානු. Expected name: Middle Norwegian. - Code:
gmq-oda. Saw name: Old ඩෙන්මාර්ක. Expected name: Old Danish. - Code:
gmq-osw. Saw name: Old ස්වීඩන්. Expected name: Old Swedish. - Code:
gmw-ecg. Saw name: East Central ජර්මානු. Expected name: East Central German. - Code:
gmw-jdt. Saw name: Jersey ඕලන්ද. Expected name: Jersey Dutch. - Code:
gmw-pro. Saw name: Proto-West ජර්මානුic. Expected name: ප්රොටෝ-බටහිර ජර්මානු. - Code:
gmy. Saw name: Mycenaean ග්රීක. Expected name: Mycenaean Greek. - Code:
goh. Saw name: Old High ජර්මානු. Expected name: Old High German. - Code:
grk-mar. Saw name: Mariupol ග්රීක. Expected name: Mariupol Greek. - Code:
gsw. Saw name: Alemannic ජර්මානු. Expected name: Alemannic German. - Code:
gv. Saw name: Manx. Expected name: මැන්ක්ස්. - Code:
idb. Saw name: Indo-පෘතුගීසි. Expected name: Indo-Portuguese. - Code:
inc-ash. Saw name: Ashokan ප්රාකෘත. Expected name: Ashokan Prakrit. - Code:
itc-ola. Saw name: Old ලතින්. Expected name: Old Latin. - Code:
kaw. Saw name: Old ජාවා. Expected name: Old Javanese. - Code:
kw. Saw name: Cornish. Expected name: කෝනිෂ්. - Code:
kxd. Saw name: Brunei මැලේ. Expected name: Brunei Malay. - Code:
la-ecc. Saw name: Ecclesiastical ලතින්. Expected name: Ecclesiastical Latin. - Code:
la-lat. Saw name: Late ලතින්. Expected name: Late Latin. - Code:
la-med. Saw name: Medieval ලතින්. Expected name: Medieval Latin. - Code:
la-vul. Saw name: Vulgar ලතින්. Expected name: Vulgar Latin. - Code:
lng. Saw name: Old High ජර්මානු. Expected name: Old High German. - Code:
ltc. Saw name: Middle චීන. Expected name: Middle Chinese. - Code:
meo. Saw name: Kedah මැලේ. Expected name: Kedah Malay. - Code:
mga. Saw name: Middle අයිරිෂ්. Expected name: Middle Irish. - Code:
ml. Saw name: මැලේalam. Expected name: මලයාලම්. - Code:
ms-cla. Saw name: Classical මැලේ. Expected name: Classical Malay. - Code:
ms-old. Saw name: Old මැලේ. Expected name: Old Malay. - Code:
nb. Saw name: නෝර්වීජියානු Bokmål. Expected name: Norwegian Bokmål. - Code:
nds. Saw name: Low ජර්මානු. Expected name: Low German. - Code:
nds-de. Saw name: ජර්මානු Low ජර්මානු. Expected name: German Low German. - Code:
nds-nl. Saw name: ඕලන්ද Low Saxon. Expected name: Dutch Low Saxon. - Code:
nn. Saw name: නෝර්වීජියානු Nynorsk. Expected name: Norwegian Nynorsk. - Code:
nod. Saw name: Northern තායි. Expected name: Northern Thai. - Code:
obr. Saw name: Old බුරුම. Expected name: Old Burmese. - Code:
och. Saw name: Old චීන. Expected name: Old Chinese. - Code:
odt. Saw name: Old ඕලන්ද. Expected name: Old Dutch. - Code:
oge. Saw name: Old ජෝර්ජියානු. Expected name: Old Georgian. - Code:
ohu. Saw name: Old හංගේරියානු. Expected name: Old Hungarian. - Code:
ojp. Saw name: Old ජපන්. Expected name: Old Japanese. - Code:
okm. Saw name: Middle කොරියානු. Expected name: Middle Korean. - Code:
oko. Saw name: Old කොරියානු. Expected name: Old Korean. - Code:
osp. Saw name: Old ස්පාඤ්ඤ. Expected name: Old Spanish. - Code:
ota. Saw name: Ottoman තුර්කි. Expected name: Ottoman Turkish. - Code:
pal. Saw name: Middle පර්සියානු. Expected name: මධ්යකාලීන පර්සියානු. - Code:
pdc. Saw name: Pennsylvania ජර්මානු. Expected name: Pennsylvania German. - Code:
peo. Saw name: Old පර්සියානු. Expected name: Old Persian. - Code:
plu. Saw name: පාලිkur. Expected name: Palikur. - Code:
poz-cet-pro. Saw name: Proto-Central-Eastern මැලේo-Polynesian. Expected name: Proto-Central-Eastern Malayo-Polynesian. - Code:
poz-mcm-pro. Saw name: Proto-මැලේo-Chamic. Expected name: Proto-Malayo-Chamic. - Code:
poz-mly-pro. Saw name: Proto-මැලේic. Expected name: Proto-Malayic. - Code:
poz-msa-pro. Saw name: Proto-මැලේo-Sumbawan. Expected name: Proto-Malayo-Sumbawan. - Code:
poz-pro. Saw name: Proto-මැලේo-Polynesian. Expected name: Proto-Malayo-Polynesian. - Code:
pqe-pro. Saw name: Proto-Eastern මැලේo-Polynesian. Expected name: Proto-Eastern Malayo-Polynesian. - Code:
rmf. Saw name: Kalo ෆින්ලන්ත Romani. Expected name: Kalo Finnish Romani. - Code:
rmg. Saw name: Traveller නෝර්වීජියානු. Expected name: Traveller Norwegian. - Code:
roa-opt. Saw name: Old Galician-පෘතුගීසි. Expected name: Old Galician-Portuguese. - Code:
ruo. Saw name: Istro-රුමේනියානු. Expected name: Istro-Romanian. - Code:
ruq. Saw name: Megleno-රුමේනියානු. Expected name: Megleno-Romanian. - Code:
sa-ved. Saw name: Vedic සංස්කෘත. Expected name: Vedic Sanskrit. - Code:
sga. Saw name: Old අයිරිෂ්. Expected name: Old Irish. - Code:
sit. Saw name: Sino-ටිබෙට්. Expected name: Sino-Tibetan. - Code:
sit-pro. Saw name: Proto-Sino-ටිබෙට්. Expected name: Proto-Sino-Tibetan. - Code:
sou. Saw name: Southern තායි. Expected name: Southern Thai. - Code:
tbq-lob-pro. Saw name: Proto-Lolo-බුරුම. Expected name: Proto-Lolo-Burmese. - Code:
trk-oat. Saw name: Old Anatolian තුර්කි. Expected name: Old Anatolian Turkish. - Code:
xaa. Saw name: Andalusian අරාබි. Expected name: Andalusian Arabic. - Code:
xcl. Saw name: Old ආමේනියානු. Expected name: Old Armenian. - Code:
zlw-ocs. Saw name: Old චෙක්. Expected name: Old Czech. - Code:
zlw-opl. Saw name: Old පෝලන්ත. Expected name: Old Polish.
Required values
[සංස්කරණය]Every entry in the table must contain the following indexed fields:
1- The "canonical" name of the language. This is the name that is used in Wiktionary entries and category names.
2- The Wikidata item id (Q number) for the language. Can be specified as a number (a positive integer) or a string that starts with
Qand ends with decimal digits. Set tonilif not known/present. This replaces the olderwikipedia_articleproperty, which can still be used to link to specific sections or language editions.
Optional values
[සංස්කරණය]3- The code for the family that the language belongs to. See Wiktionary:Families.
4- A list of script codes. See Wiktionary:Scripts. These represent all the scripts (writing systems) that this language uses in the real world, as well as the ones that Wiktionary uses. The scripts that are used most often on Wiktionary should be first in the list, as this will speed up script detection.
- Many templates and modules detect the script of text in a particular language using the
findBestScriptfunction in Module:scripts. This function goes down the list of scripts and counts how many characters in the text belong to each script. If all the characters belong to one script, that script will be returned; otherwise, the script with the most characters will be returned. Thus, script detection will be faster if the most frequently used scripts are first in the list. If none of the characters match any of the listed scripts, then theNonescript is returned (even if the characters would match a script not listed). Translingual (mul) and Undetermined (und) have the special value"All", which means they are treated as having every script. This value should not be set for any other language codes. - Due to the ongoing problems with Lua memory limits, this should be given as a comma-separated list in a string (and not a table). This is then converted into a table when returned. For example:
"Latn, Brai, Shaw, Dsrt". type- The type of language (which affects how it is handled on Wiktionary). Possible values are:
regular- This value is the default, so it doesn't need to be specified. It indicates that the is attested according to WT:CFI and therefore permitted in the main namespace. There may also be reconstructed terms for the language, which are placed in the Reconstruction namespace and must be prefixed with * to indicate a reconstruction.reconstructed- This language is not attested according to CFI, and therefore is allowed only in the Reconstruction namespace. All terms in this language are reconstructed, and must be prefixed with *.appendix-constructed- This language is attested but does not meet the additional requirements set out for constructed languages (WT:CFI#Constructed languages). Its entries must therefore be in the Appendix namespace, but they are not reconstructed and therefore should not have * prefixed in links.
ancestors- A list of the language codes of the direct ancestors of this language. For example, the ancestor of English is listed as
enm(Middle English);ang(Old English, the ancestor of Middle English),gem-pro(Proto-Germanic, the ancestor of Old English), andine-pro(Proto-Indo-European, the ancestor of Proto-Germanic) are not listed. - For most languages, only one ancestor code should be given, but multiple ancestors can be listed for pidgins, creoles and mixed languages.
- The ancestor language list should not be included if the language's direct ancestor is the proto-language of the family to which the language belongs. In such a case, if the family code has been provided, Module:languages will automatically add the proto-language as the language's ancestor. For example, Proto-Germanic (
gem-pro) belongs to the Indo-European (ine) family, and its direct ancestor is Proto-Indo-European (ine-pro). Because Proto-Indo-European is the proto-language of the Indo-European languages, Proto-Germanic does not need anancestorstable; Proto-Indo-European will be automatically returned as its ancestor by thegetAncestorsfunction. - Due to the ongoing problems with Lua memory limits, this should be given as a comma-separated list in a string (and not a table). This is then converted into a table when returned. For example:
"cr, fr". wikimedia_codes- A list of the Wikimedia language codes that this language maps to. This is used to translate Wiktionary codes to Wikimedia codes, which are usually the same but there are a few languages where it is different. The language codes must be valid Wikimedia codes (as determined by the wiki software), and if they are not defined in one of the language data modules, they must be defined in Module:wikimedia languages/data.
- Due to the ongoing problems with Lua memory limits, this should be given as a comma-separated list in a string (and not a table). This is then converted into a table when returned. For example:
"en, simple". wikipedia_article- The name of the Wikipedia article for the language. Should normally only be supplied if the Wikidata id cannot be used.
translit- See the Substitutions section for instructions on syntax.
- Defines how a language should be transliterated, which will be automatically applied to any terms in scripts that do not have their
isTransliteratedvalue set tofalsein Module:scripts/data. This is used bytransliteratein Module:languages. link_tr- Set this to
trueto link the language's transliteration. For instance, Gothic has entries in Gothic script and entries for transliterations: 𐌷𐌻𐌰𐌹𐌱𐍃 (hlaibs). display_text- See the Substitutions section for instructions on syntax.
- Defines replacements to create the display form of the text, which is the form actually displayed on the page. This is occasionally necessary if there is a recurring issue of editors adding the wrong character, which is sometimes an issue when two or more characters are easy to confuse. For example, the palochka
ӏ, used in Cyrillic in many Caucasian languages, is frequently entered asI, or even LatinlorI. As this is an ongoing issue (even among native speakers), the easiest way to solve the problem is to automatically correct the display form for those languages. This is used bymakeDisplayTextin Module:languages. entry_name- See the Substitutions section for instructions on syntax.
- Defines replacements to create the entry name from the displayed form of a term. This can be used to remove certain diacritical marks according to the customs or standard practice of the language. For example, it is used to remove accent marks from Russian words (
ру́сский→русский), or macrons from Latin or Old English words (ōs→os), as these are not used in the normal written form of these languages. This is used bymakeEntryNamein Module:languages. sort_key- See the Substitutions section for instructions on syntax.
- Defines replacements to create a category sort key from the page name. The purpose is to:
- Remove any characters that should be ignored in sorting.
- Replace characters with other characters, if the sorting rules for that language do not distinguish them. For example, in German, the characters "ä" and "a" are considered equivalent for sorting, and are both treated as "a".
- Replace characters that should be sorted in different places with special characters that mimic that behaviour, (which is necessary due to MediaWiki software using the Unicode codepoint to determine sort order, which is often arbitrary). For instance, in Mongolian, the letter "ү" should be sorted after "у", but due to its codepoint it is sorted after the final letter "я" by default. As such, we can replace "ү" with "у" plus a character with a very high codepoint, which ensures that it is always sorted straight after. The data modules contain an in-built way to do this for the sake of convenience: with the above example, this would be done by using
"у" .. p[1]. Another character could be inserted straight after by using"у" .. p[2](and so on).
- Note: the term is converted to lowercase before applying any substitutions, so you should not try to process capital letters (as it will not work). This is used by
makeSortKeyin Module:languages. dotted_dotless_i- Set this to
truefor languages that distinguish between the dotted and dotless I (such as some Turkic languages).
Substitutions
[සංස්කරණය]translit,display_text,entry_nameandsort_keyall use the same syntax, which is designed to be as flexible as possible:- If they are a string, then this is treated as the name of a dedicated module which will be used to generate the output. For example,
"sa-translit"refers to Module:sa-translit. - If they are a table, then it can contain two kinds of keys:
- The keys
from,to,remove_diacriticsandremove_exceptionsrelate to text substitution (see below). - Script code keys are used to specify script-specific behaviour. These, in turn, can be strings (for dedicated modules) or tables (for text substitution). In addition, a value with the key
1can be used as a fallback, which will be used if no specific behaviour is defined for that script.
- The keys
- Note: if script keys and text substitution keys are given in the same table, then the text substitution will be applied after the script-specific behaviour has completed. Ensure any fallback text substitutions are given as a subtable with key
1if you want to avoid this. It is not possible to process the output of a script-specific module with another module, however: this should be done (for example) with a tail call in the first module.
- If they are a string, then this is treated as the name of a dedicated module which will be used to generate the output. For example,
- Dedicated modules must take the arguments
text, lang, sc, wheretextis the input text (usually the page name or input by the user),langis the language code (not the language object), andscis the script code (not the script object). For performance reasons, they should only be used when it is not possible to achieve the desired result via text substitution. - Text substitution replaces or removes certain characters (or sets of characters) for particular contexts. There are three ways to do this:
- Using the
fromandtokeys. remove_diacritics(and optionallyremove_exceptions).- Both of the above (in that order).
- Using the
fromis paired withto, and both of them must be tables that are organised pairwise: each element infromis a pattern to identify which characters in the term to replace, while the corresponding element intodefines what to replace them with (as arguments tomw.ustring.gsub).- If the replacement is not present (or if it is
falseornil), then any matching characters are removed altogether. This means that thefromlist can be longer than thetolist, and an empty replacement will be assumed for any elements infromthat have no counterpart into. - The tables can contain literal characters, or the patterns (a simplified form regular expressions) that are used by the standard Scribunto
mw.ustring.gsubfunction. See the Scribunto reference manual for more information. Note that patterns make double substitutions a viable way to achieve more complex results. See the Latin sortkey for Mandarin (cmn) as an example of this. remove_diacriticsis a string which contains characters that will be removed after the text is decomposed. For instance, ifremove_diacriticsis a combining acute accent, all acute accents will be stripped, even if they are part of precomposed characters (such as á or ά). Despite the name, the characters to be stripped need not be diacritics: for instance, including an apostrophe would remove all apostrophes (though be careful with hyphens, which must be be escaped as%-).- Furthermore, if
remove_diacriticsis given, then it is possible to specify aremove_exceptionstable, which prevents specific characters from having their diacritics stripped. For instance, ifremove_diacriticsis a combining diaeresis, butremove_exceptionscontains"ё", then any instances ofёwill remain unchanged. On the other hand, an instance ofӱwould still becomeу(unless"ӱ"is also added toremove_exceptions).
Formerly supported values
[සංස්කරණය]aliases,varieties,otherNames- This data is now located in the extra data modules; see Module:languages and Template:language extradata documentation.
family- Now
3. scripts- Now
4.
local m_langdata = require("Module:languages/data")
-- Loaded on demand, as it may not be needed (depending on the data).
local function u(...)
u = require("Module:string utilities").char
return u(...)
end
local c = m_langdata.chars
local p = m_langdata.puaChars
local s = m_langdata.shared
local m = {}
m["vaa"] = {
"Vaagri Booli",
7907798,
"inc",
"Taml",
}
m["vae"] = {
"Vale",
3450194,
"csu-val",
}
m["vag"] = {
"Vagla",
36637,
"nic-gnw",
}
m["vah"] = {
"Varhadi",
155645,
"inc-sou",
"Deva, Modi",
ancestors = "omr",
translit = {
Deva = "mr-translit",
Modi = "mr-Modi-translit",
},
}
m["vai"] = {
"Vai",
36939,
"dmn-vak",
"Vaii",
translit = "Vaii-translit",
}
m["vaj"] = {
"Sekele",
56528,
}
m["val"] = {
"Vehes",
7918407,
}
m["vam"] = {
"Vanimo",
3327415,
"paa-msk",
}
m["van"] = {
"Valman",
7912479,
"qfa-tor",
}
m["vao"] = {
"Vao",
2160405,
"poz-vnc",
"Latn",
}
m["vap"] = {
"Vaiphei",
56368,
"tbq-kuk",
}
m["var"] = {
"Huarijio",
10974017,
"azc-trc",
"Latn",
}
m["vas"] = {
"Vasavi",
765418,
}
m["vau"] = {
"Vanuma",
7915259,
"bnt-nya",
}
m["vav"] = {
"Varli",
7915983,
"inc-sou",
"Deva, Gujr",
}
m["vay"] = {
"Vayu",
7917585,
"sit-kiw",
}
m["vbb"] = {
"Southeast Babar",
12952247,
"poz-tim",
}
m["vbk"] = {
"Southwestern Bontoc",
63313677,
"phi",
"Latn",
}
m["vec"] = {
"Venetan",
32724,
"roa-iwr",
"Latn, Armn",
translit = {Armn = "Armn-translit"},
}
m["ved"] = {
"Veddah",
2567934,
"crp",
"Sinh"
}
m["vem"] = {
"Vemgo-Mabas",
56268,
}
m["veo"] = {
"Ventureño",
56712,
"nai-chu",
"Latn",
}
m["vep"] = {
"Veps",
32747,
"urj-fin",
"Latn",
sort_key = {
from = {
"č", "š", "ž", "ü", "ä", "ö", -- 2 chars
"z", "'" -- 1 char
},
to = {
"c" .. p[1], "s" .. p[1], "s" .. p[3], "y" .. p[1], "y" .. p[2], "y" .. p[3],
"s" .. p[2], "y" .. p[4],
}
},
}
m["ver"] = {
"Mom Jango",
35862,
"alv-dur",
}
m["vgr"] = {
"Vaghri",
7908480,
"inc-bhi",
"Gujr",
translit = "gu-translit",
}
m["vgt"] = {
"Flemish Sign Language",
2107617,
"sgn",
}
m["vic"] = {
"Virgin Islands Creole",
7933935,
"crp",
"Latn",
ancestors = "en",
}
m["vid"] = {
"Vidunda",
7928151,
"bnt-ruv",
}
m["vif"] = {
"Vili",
3558409,
"bnt-kng",
"Latn",
}
m["vig"] = {
"Viemo",
36912,
"alv-sav",
}
m["vil"] = {
"Vilela",
3409297,
}
m["vis"] = {
"Vishavan",
14916908,
"dra-mal",
}
m["vit"] = {
"Viti",
11011055,
"nic-grf",
}
m["viv"] = {
"Iduna",
5989839,
"poz-ocw",
}
m["vjk"] = {
"Bajjika",
3636001,
"inc-bih",
"Deva, Kthi",
}
m["vka"] = {
"Kariyarra",
13586632,
"aus-nga",
"Latn",
}
m["vki"] = {
"Ija-Zuba",
11011389,
"nic-pls",
ancestors = "uji",
}
m["vkj"] = {
"Kujarge",
33448,
}
m["vkk"] = {
"Kaur",
6378867,
}
m["vkl"] = {
"Kulisusu",
3200326,
"poz-btk",
}
m["vkm"] = {
"Kamakan",
3192316,
"sai-mje",
"Latn",
}
m["vko"] = {
"Kodeoha",
3198209,
}
m["vkp"] = {
"Korlai Creole Portuguese",
3915520,
"crp",
"Latn",
ancestors = "idb",
}
m["vkt"] = {
"Tenggarong Kutai Malay",
12683226,
}
m["vku"] = {
"Kurrama",
3915684,
"aus-nga",
"Latn",
}
m["vlp"] = {
"Valpei",
7912582,
"poz-vnn",
"Latn",
}
m["vls"] = {
"West Flemish",
100103,
"gmw-frk",
"Latn",
ancestors = "dum",
}
m["vma"] = {
"Martuthunira",
975399,
"aus-nga",
"Latn",
}
m["vmb"] = {
"Mbabaram",
3303475,
"aus-pam",
"Latn",
}
m["vmc"] = {
"Juxtlahuaca Mixtec",
25559582,
"omq-mxt",
"Latn",
}
m["vmd"] = {
"Mudu Koraga",
12952656,
"dra-kor",
"Knda",
}
m["vme"] = {
"East Masela",
18487451,
"poz-tim",
"Latn",
}
m["vmf"] = {
"East Franconian",
497345,
"gmw-hgm",
"Latn",
ancestors = "gmh",
sort_key = "vmf-sortkey",
}
m["vmg"] = {
"Minigir",
17053237,
"poz-ocw",
"Latn",
}
m["vmh"] = {
"Maraghei",
36220,
"xme-ttc",
ancestors = "xme-ttc-eas",
}
m["vmi"] = {
"Miwa",
10586712,
"aus-wor",
}
m["vmj"] = {
"Ixtayutla Mixtec",
6101163,
"omq-mxt",
"Latn",
}
m["vmk"] = {
"Makhuwa-Shirima",
2963909,
"bnt-mak",
"Latn",
ancestors = "vmw",
}
m["vml"] = {
"Malgana",
6743201,
"aus-psw",
"Latn",
}
m["vmm"] = {
"Mitlatongo Mixtec",
6881813,
"omq-mxt",
"Latn",
}
m["vmp"] = {
"Soyaltepec Mazatec",
7572000,
nil,
"Latn",
}
m["vmq"] = {
"Soyaltepec Mixtec",
7572001,
"omq-mxt",
"Latn",
}
m["vmr"] = {
"Marenje",
11128833,
ancestors = "vmw",
"bnt-mak",
}
-- vms "Moskela" is extinct and unattested; see Wikipedia
m["vmu"] = {
"Muluridyi",
10590149,
}
m["vmv"] = {
"Valley Maidu",
5096458,
"nai-mdu",
"Latn",
}
m["vmw"] = {
"Makhuwa",
33882,
"bnt-mak",
"Latn",
entry_name = { remove_diacritics = c.acute },
}
m["vmx"] = {
"Tamazola Mixtec",
12953734,
"omq-mxt",
"Latn",
}
m["vmy"] = {
"Ayautla Mazatec",
14916912,
nil,
"Latn",
}
m["vmz"] = {
"Mazatlán Mazatec",
12953706,
"omq-maz",
"Latn",
}
m["vnk"] = {
"Lovono",
3211090,
"poz-tem",
"Latn",
}
m["vnm"] = {
"Neve'ei",
2157431,
"poz-vnc",
"Latn",
}
m["vnp"] = {
"Vunapu",
7943647,
"poz-vnn",
"Latn",
}
m["vor"] = {
"Voro",
3914407,
"alv-yun",
}
m["vot"] = {
"Votic",
32858,
"urj-fin",
"Latn",
entry_name = {
from = {"'"},
to = {"ʹ"}
},
sort_key = {
from = {
"tš",
"š", "ž", "õ", "ä", "ö", "ü",
"z",
"ʹ"
},
to = {
"t" .. p[1],
"s" .. p[1], "s" .. p[3], "w" .. p[1], "w" .. p[2], "w" .. p[3], "w" .. p[4],
"s" .. p[2],
""
}
},
standardChars = "AaBbDdEeFfGgHhIiJjKkLlMmNnOoPpRrSsŠšZzŽžTtUuVvÕõÄäÖöÜüʹ" .. c.punc,
}
m["vra"] = {
"Vera'a",
3555689,
"poz-vnn",
"Latn",
}
m["vro"] = {
"Võro",
32762,
"urj-fin",
"Latn",
wikimedia_codes = "fiu-vro",
}
m["vrs"] = {
"Varisi",
3554807,
"poz-ocw",
}
m["vrt"] = {
"Burmbar",
2928522,
"poz-vnc",
"Latn",
}
m["vsi"] = {
"Moldova Sign Language",
12953478,
"sgn",
}
m["vsl"] = {
"Venezuelan Sign Language",
3322064,
"sgn",
}
m["vsv"] = {
"Valencian Sign Language",
32663,
"sgn",
}
m["vto"] = {
"Vitou",
7937210,
"paa-tkw",
}
m["vum"] = {
"Vumbu",
36629,
"bnt-sir",
}
m["vun"] = {
"Vunjo",
12953261,
"bnt-chg",
"Latn",
}
m["vut"] = {
"Vute",
36897,
"nic-mmb",
"Latn",
}
m["vwa"] = {
"Awa (China)",
2874642,
"mkh-pal",
}
return require("Module:languages").finalizeData(m, "language")