Module:utilities/data

< Module:utilities
Revision as of 09:38, 31 July 2024 by Sware (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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, 120}

-- 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",
	["el"] = "Grek",
	["grc"] = "Polyt",
	["he"] = "Hebr",
	["hi"] = "Deva",
	["ja"] = "Jpan",
	["ka"] = "Geor",
	["ko"] = "Kore",
	["mr"] = "Deva",
	["nan-hbl"] = "Hani",
	["orv"] = "Cyrs",
	["ru"] = "Cyrl",
	["sa"] = "Deva",
	["syl"] = "Sylo",
	["xfa"] = "Ital",
	["yue"] = "Hani",
	["zh"] = "Hani",
	["zle-ono"] = "Cyrs",
	["zle-ort"] = "Cyrs",
--[[
	[""] = "",
]]
}

return data