local labels = {}
local function alias(a, b) for _, v in ipairs(b) do labels[v] = a end end -- allows aliases to be entered as a list
labels["Northern"] = {
Wikipedia = "Mansi language#Varieties",
regional_categories = "Northern",
}
labels["Konda"] = {
Wikipedia = "Mansi language#Varieties",
regional_categories = "Eastern",
}
labels["Western"] = {
Wikipedia = "Mansi language#Varieties",
regional_categories = "Western",
}
-- Extant dialects
--- Northern dialects
labels["Upper Lozva"] = {
Wikipedia = "Lozva",
regional_categories = "Upper Lozva",
}
labels["Sosva"] = {
aliases = "Severnaya Sosva",
Wikipedia = "Severnaya Sosva",
regional_categories = "Sosva",
}
labels["Sygva"] = {
Wikipedia = "Sygva",
regional_categories = "Sygva",
}
--- Eastern dialects
labels["Upper Konda"] = {
Wikipedia = "Konda",
regional_categories = "Upper Konda",
}
labels["Lower Konda"] = {
Wikipedia = "Konda",
regional_categories = "Lower Konda",
}
labels["Middle Konda"] = {
Wikipedia = "Konda",
regional_categories = "Middle Konda",
}
labels["Jukonda"] = {
Wikipedia = "Konda",
regional_categories = "Jukonda",
}
-- Extinct dialects
---Southern dialect
labels["Tavda"] = {
regional_categories = "Tavda",
}
---Western dialect
labels["Pelym"] = {
Wikipedia = "Pelym",
regional_categories = "Pelym",
}
labels["North Vagil"] = {
regional_categories = "North Vagil",
}
labels["South Vagil"] = {
regional_categories = "South Vagil",
}
labels["Lower Lozva"] = {
regional_categories = "Lower Lozva",
}
labels["Middle Lozva"] = {
regional_categories = "Middle Lozva",
}
return labels