Zum Inhalt springen

Modul:languages/data3/v

Vun Wiktionary

This module contains definitions and metadata for three-letter language codes starting with "v". See Wiktionary:Spraken for more information.

This module must not be used directly in other modules or templates. The data should be accessed through Module:languages.

Required values

[ännern]

Every entry in the table must contain the following properties:

names
A list of all the names that this language is known by. The first name listed is always the "canonical" name, which is used in Wiktionary entries and category names. The list should include not only synonyms for the language, but also names that refer to language varieties that are subsumed under the same grouping. For example, while "Flemish" is not synonymous with "Dutch", Flemish is considered a part of Dutch, so the name is listed there.
type
The type of language (which affects how it is handled on Wiktionary). Possible values are:
  • regular - This language 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 Appendix namespace and must be prefixed with * to indicate a reconstruction. Most languages should use this.
  • reconstructed - This language is not attested according to CFI, and therefore is allowed only in the Appendix 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.
scripts
A list of script codes, see Wiktionary:Scripts. These represent all the scripts (writing systems) that this language employs, which are used on the main category of the language. If you do not know the script, use "None".
Most templates and modules will use a default script when no script is specified for them, but the script codes are interpreted in two different ways:
  • Templates and modules that use detect_script in Module:utilities will try to detect the script (based on the characters in the text), using the list of scripts as a list of possible scripts to try to detect. If the script cannot be detected, the first listed script is used by default.
  • All other templates and modules will generally use the first script listed as the default script.
family
The code for the family that the language belongs to. See Wiktionary:Families. If you do not know the family, use "qfa-und".

Optional values

[ännern]

The following properties are used for text substitution; they replace or remove certain (sets of) characters or sets of characters. They all work similar, and are all optional. The search and replacement patterns are those used by the standard mw.ustring.gsub function. They resemble regular expressions; see search/replace patterns for more information.

If present, each of these properties must be a table that contains two tables, one named from and one named to. These two tables are organised pairwise: each element in from is a pattern to identify which characters in the term to replace, while the corresponding element in to defines what to replace them with. If the replacement is not present or if it is false or nil, it defaults to an empty replacement, meaning that the matching characters are removed altogether. This means that the from list can be longer than the to list, and an empty replacement will be assumed for any elements in from that have no counterpart in to.

At the top of the module, there is a list of combining characters with names. These are provided for convenience and readability, as combining characters generally do not display property inside the module code (although they do not affect the actual operation of the module).

entry_name
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, as these are not used in the normal written form of these languages. This is used by remove_diacritics in Module:links.
sort_key
Defines replacements to create a category sort key from the page name. The purpose is to remove any characters that are ignored in sorting, and to replace similar characters with identical ones 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". The page name is converted to lowercase before applying the replacements, so you should not add uppercase letters to the "from" lists. This is used by format_categories in Module:utilities.

These are other optional values:

genders
A list of gender specifications that are valid for the language. These are given in the format of Module:gender and number. This value acts as a restriction, so that if it is left out, all genders are considered valid. If the language has no genders, meaning that no gender is valid for that language, specify an empty list, genders = {}. Keep in mind that the word "gender" is used loosely in the sense of Wiktionary's implementation: it includes not just actual grammatical gender, but also grammatical number, noun classes and even verbal aspects. Thus, a language such as Russian will need to list not only the noun genders, but also the "impf" and "pf" codes for verbs, otherwise these will be rejected.
translit_module
The name of a module that is used to generate transliterations of terms, without the Module: prefix. This module must export a function named tr that is defined as follows:
tr(text, lang, sc)
The three parameters are the text to be transliterated, the language code, and the script code. The function can ignore the language and script codes, but they are provided for cases when a language has more than one script, or when a single function is used to transliterate multiple languages sharing the same script.

local u = mw.ustring.char
 
-- UTF-8 encoded strings for some commonly-used diacritics
local GRAVE     = u(0x0300)
local ACUTE     = u(0x0301)
local CIRC      = u(0x0302)
local TILDE     = u(0x0303)
local MACRON    = u(0x0304)
local BREVE     = u(0x0306)
local DOTABOVE  = u(0x0307)
local DIAER     = u(0x0308)
local CARON     = u(0x030C)
local DGRAVE    = u(0x030F)
local INVBREVE  = u(0x0311)
local DOTBELOW  = u(0x0323)
local RINGBELOW = u(0x0325)
local CEDILLA   = u(0x0327)
 
local m = {}
 
m["vaa"] = {
	names = {"Vaagri Booli"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vae"] = {
	names = {"Vale"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vaf"] = {
	names = {"Vafsi"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vag"] = {
	names = {"Vagla"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vah"] = {
	names = {"Varhadi-Nagpuri"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vai"] = {
	names = {"Vai", "Gallinas", "Vy"},
	type = "regular",
	scripts = {"Vaii"},
	family = "dmn"}
m["vaj"] = {
	names = {"Vasekela Bushman"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["val"] = {
	names = {"Vehes"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vam"] = {
	names = {"Vanimo"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["van"] = {
	names = {"Valman"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-tor"}
m["vao"] = {
	names = {"Vao"},
	type = "regular",
	scripts = {"None"},
	family = "poz-vnc"}
m["vap"] = {
	names = {"Vaiphei"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["var"] = {
	names = {"Huarijio", "Guarijío", "Varihío", "Warihío"},
	type = "regular",
	scripts = {"Latn"},
	family = "azc"}
m["vas"] = {
	names = {"Vasavi"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vau"] = {
	names = {"Vanuma"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vav"] = {
	names = {"Varli"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vay"] = {
	names = {"Vayu"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vbb"] = {
	names = {"Southeast Babar"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vbk"] = {
	names = {"Southwestern Bontok"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vec"] = {
	names = {"Veneziaansch", "Venetian"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa"}
m["ved"] = {
	names = {"Veddah"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vel"] = {
	names = {"Veluws"},
	type = "regular",
	scripts = {"Latn"},
	family = "wep"}
m["vem"] = {
	names = {"Vemgo-Mabas"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["veo"] = {
	names = {"Ventureño"},
	type = "regular",
	scripts = {"Latn"},
	family = "nai-chu"}
m["vep"] = {
	names = {"Wepsch", "Veps"},
	type = "regular",
	scripts = {"Latn"},
	family = "fiu-fin"}
m["ver"] = {
	names = {"Mom Jango"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vgr"] = {
	names = {"Vaghri"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vgt"] = {
	names = {"Flemish Sign Language"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vic"] = {
	names = {"Virgin Islands Creole"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vid"] = {
	names = {"Vidunda"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vif"] = {
	names = {"Vili"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vig"] = {
	names = {"Viemo"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vil"] = {
	names = {"Vilela"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vin"] = {
	names = {"Vinza"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["vis"] = {
	names = {"Vishavan"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vit"] = {
	names = {"Viti"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["viv"] = {
	names = {"Iduna"},
	type = "regular",
	scripts = {"None"},
	family = "poz-ocw"}
m["vka"] = {
	names = {"Kariyarra"},
	type = "regular",
	scripts = {"None"},
	family = "aus-nga"}
m["vki"] = {
	names = {"Ija-Zuba"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vkj"] = {
	names = {"Kujarge"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vkk"] = {
	names = {"Kaur"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vkl"] = {
	names = {"Kulisusu"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vkm"] = {
	names = {"Kamakan"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vko"] = {
	names = {"Kodeoha"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vkp"] = {
	names = {"Korlai Creole Portuguese"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vkt"] = {
	names = {"Tenggarong Kutai Malay"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vku"] = {
	names = {"Kurrama"},
	type = "regular",
	scripts = {"None"},
	family = "aus-nga"}
m["vlp"] = {
	names = {"Valpei"},
	type = "regular",
	scripts = {"None"},
	family = "poz-vnc"}
m["vls"] = {
	names = {"Fläämsch (Westfläämsch)", "West Flemish"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmw"}
m["vma"] = {
	names = {"Martuthunira"},
	type = "regular",
	scripts = {"Latn"},
	family = "aus-nga"}
m["vmb"] = {
	names = {"Mbabaram"},
	type = "regular",
	scripts = {"Latn"},
	family = "aus-pam"}
m["vmc"] = {
	names = {"Juxtlahuaca Mixtec"},
	type = "regular",
	scripts = {"None"},
	family = "omq-mix"}
m["vmd"] = {
	names = {"Mudu Koraga"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vme"] = {
	names = {"East Masela"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vmf"] = {
	names = {"Mainfranksch"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmw"}
m["vmg"] = {
	names = {"Minigir"},
	type = "regular",
	scripts = {"None"},
	family = "poz-ocw"}
m["vmh"] = {
	names = {"Maraghei"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vmi"] = {
	names = {"Miwa"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vmj"] = {
	names = {"Ixtayutla Mixtec"},
	type = "regular",
	scripts = {"None"},
	family = "omq-mix"}
m["vmk"] = {
	names = {"Makhuwa-Shirima"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["vml"] = {
	names = {"Malgana"},
	type = "regular",
	scripts = {"None"},
	family = "aus-psw"}
m["vmm"] = {
	names = {"Mitlatongo Mixtec"},
	type = "regular",
	scripts = {"None"},
	family = "omq-mix"}
m["vmp"] = {
	names = {"Soyaltepec Mazatec"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vmq"] = {
	names = {"Soyaltepec Mixtec"},
	type = "regular",
	scripts = {"None"},
	family = "omq-mix"}
m["vmr"] = {
	names = {"Marenje"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vms"] = {
	names = {"Moksela"},
	type = "regular",
	scripts = {"None"},
	family = "plf"}
m["vmu"] = {
	names = {"Muluridyi"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vmv"] = {
	names = {"Valley Maidu"},
	type = "regular",
	scripts = {"None"},
	family = "nai-mdu"}
m["vmw"] = {
	names = {"Makhuwa"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["vmx"] = {
	names = {"Tamazola Mixtec"},
	type = "regular",
	scripts = {"None"},
	family = "omq-mix"}
m["vmy"] = {
	names = {"Ayautla Mazatec"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vmz"] = {
	names = {"Mazatlán Mazatec"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vnk"] = {
	names = {"Lovono"},
	type = "regular",
	scripts = {"None"},
	family = "poz-oce"}
m["vnm"] = {
	names = {"Neve'ei"},
	type = "regular",
	scripts = {"None"},
	family = "poz-vnc"}
m["vnp"] = {
	names = {"Vunapu"},
	type = "regular",
	scripts = {"None"},
	family = "poz-vnc"}
m["vor"] = {
	names = {"Voro"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vot"] = {
	names = {"Wootsch", "Votic"},
	type = "regular",
	scripts = {"Latn"},
	family = "fiu-fin"}
m["vra"] = {
	names = {"Vera'a"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vro"] = {
	names = {"Võro"},
	type = "regular",
	scripts = {"Latn"},
	family = "fiu-fin"}
m["vrs"] = {
	names = {"Varisi"},
	type = "regular",
	scripts = {"None"},
	family = "poz-ocw"}
m["vrt"] = {
	names = {"Banam Bay"},
	type = "regular",
	scripts = {"None"},
	family = "poz-vnc"}
m["vsi"] = {
	names = {"Moldova Sign Language"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vsl"] = {
	names = {"Venezuelan Sign Language"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vsv"] = {
	names = {"Valencian Sign Language"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vto"] = {
	names = {"Vitou"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vum"] = {
	names = {"Vumbu"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vun"] = {
	names = {"Vunjo"},
	type = "regular",
	scripts = {"None"},
	family = "qfa-und"}
m["vut"] = {
	names = {"Vute"},
	type = "regular",
	scripts = {"None"},
	family = "nic-bod"}

return m