Module:utilities/data: Difference between revisions
Jump to navigation
Jump to search
(Created page with "local data = {} data.notneeded = { ["und"] = true, ["cmn"] = true, ["ja"] = true, ["zu"] = true, ["nan"] = true, ["yue"] = true, ["ko"] = true, } data.neededhassubpag...") |
No edit summary |
||
Line 63: | Line 63: | ||
["Reconstruction"] = true, | ["Reconstruction"] = true, | ||
["Citations"] = true, | ["Citations"] = true, | ||
["Contionary"] = true, | |||
} | } | ||
return data | return data |
Revision as of 16:18, 21 March 2021
- The following documentation is located at Module:utilities/data/doc.[edit]
- Useful links: root page • root page's subpages • links • transclusions • testcases • sandbox
local data = {}
data.notneeded = {
["und"] = true,
["cmn"] = true,
["ja"] = true,
["zu"] = true,
["nan"] = true,
["yue"] = true,
["ko"] = true,
}
data.neededhassubpage = {
["ga"] = true,
["gv"] = true,
["nv"] = true,
["roa-jer"] = true,
["fr"] = true,
["rm"] = true,
["prg"] = true,
["gd"] = true,
["twf"] = true,
["en"] = true,
["ro"] = true,
["egl"] = true,
["roa-tar"] = true,
["gl"] = true,
["ast"] = true,
["br"] = true,
}
--[[
Script that should be applied to links in categories.
]]
data.catfix_scripts = {
["ab"] = "Cyrl",
["ae"] = "Avst",
["ar"] = "Arab",
["ary"] = "Arab",
["be"] = "Cyrl",
["cu"] = "Cyrs",
["el"] = "Grek",
["grc"] = "polytonic",
["he"] = "Hebr",
["ka"] = "Geor",
["orv"] = "Cyrs",
["ru"] = "Cyrl",
["sa"] = "Deva",
["syl"] = "Sylo",
["xfa"] = "Ital",
["zle-ono"] = "Cyrs",
["hi"] = "Deva",
["mr"] = "Deva",
--[[
[""] = "",
]]
}
-- Namespaces in which format_categories will add categories.
data.allowedNamespaces = {
[""] = true,
["Appendix"] = true,
["Reconstruction"] = true,
["Citations"] = true,
["Contionary"] = true,
}
return data