Jump to content

Module:utilities/data

From Wiktionary, the free dictionary

This module needs documentation.
Please document this module by describing its purpose and usage on the documentation page.

local data = {}

-- Namespaces which format_categories will allow: (main), Appendix, Thesaurus, Citations, Reconstruction
data.category_namespaces = require("Module:table").listToSet{0, 100, 110, 114, 118}

-- Script that should be applied to links in categories.
data.catfix_scripts = {
	["ab"] = "Cyrl",
	["ae"] = "Avst",
	["ar"] = "Arab",
	["ary"] = "Arab",
	["be"] = "Cyrl",
	["cmn"] = "Hani",
	["cu"] = "Cyrs",
	["de"] = "Latn",
	["el"] = "Grek",
	["en"] = "Latn",
	["fa"] = "fa-Arab",
	["grc"] = "Polyt",
	["he"] = "Hebr",
	["hi"] = "Deva",
	["hu"] = "Latn",
	["ja"] = "Jpan",
	["ka"] = "Geor",
	["ko"] = "Kore",
	["mr"] = "Deva",
	["nan-hbl"] = "Hani",
	["orv"] = "Cyrs",
	["ro"] = "Latn",
	["ru"] = "Cyrl",
	["sa"] = "Deva",
	["sq"] = "Latn",
	["syl"] = "Sylo",
	["xfa"] = "Ital",
	["yue"] = "Hani",
	["zh"] = "Hani",
	["zle-ono"] = "Cyrs",
	["zle-ort"] = "Cyrs",
--[[
	[""] = "",
]]
}

return data