Module:utilities/format categories/data

From Linguifex
< Module:utilities‎ | format categories
Revision as of 18:04, 10 July 2022 by Sware (talk | contribs) (Created page with "local data = {} -- Namespaces in which format_categories will add categories. data.allowedNamespaces = { [""] = true, ["Appendix"] = true, ["Reconstruction"] = true, ["Ci...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:utilities/format categories/data/doc

local data = {}

-- Namespaces in which format_categories will add categories.
data.allowedNamespaces = {
	[""] = true,
	["Appendix"] = true,
	["Reconstruction"] = true,
	["Citations"] = true,
}

-- Pages not in namespaces in which format_categories normally adds categories,
-- but where we make an exception.
data.allowedPrefixedPages = {
	["Wiktionary:Sandbox"] = true,
}

return data