Module:category tree/miscellaneous

Documentation for this module may be created at Module:category tree/miscellaneous/doc

local labels = {}
local raw_categories = {}



-----------------------------------------------------------------------------
--                                                                         --
--                                  LABELS                                 --
--                                                                         --
-----------------------------------------------------------------------------


-- Appendices

labels["appendices"] = {
	description = "Pages containing additional information about {{{langdisp}}}.",
	parents = {{name = "{{{langcat}}}", raw = true}},
	umbrella = {
		description = "Categories with pages containing additional information about a given language.",
		parents = {"Category:Appendices"},
		breadcrumb = "By language",
	},
}

-- Citations pages

labels["citations pages"] = {
	description = "Pages documenting instances of actual usage of {{{langname}}} terms.",
	parents = {{name = "{{{langcat}}}", raw = true}},
	umbrella = {
		description = "Categories with pages documenting instances of actual usage of terms in a given language.",
		parents = {"Category:Citations pages"},
		breadcrumb = "Citations pages by language",
	},
}

labels["citations pages for undefined terms"] = {
	description = "Pages documenting instances of actual usage of {{{langname}}} terms which are not defined yet.",
	additional = "Citation pages in {{{langdisp}}} are automatically added here when any of the corresponding entries either does not exist (is a redlink) or does not have a {{{langname}}} section (is an orange link). You can also add citation pages to this category manually when the entry exists but it has not been defined in that specific meaning. Before removing a page from this category, please verify that all citations relate to senses properly defined in the entry.",
	parents = {"citations pages"},
	umbrella = {
		description = "Categories with pages documenting instances of actual usage of terms in a given language which are not defined yet.",
		parents = {"Requests", "Category:Citations pages"},
		breadcrumb = "Citations pages for undefined terms by language",
	},
	can_be_empty = true,
	hidden = true,
}

-- Dialectal equivalent maps

labels["dialectal equivalent maps"] = {
	description = "Maps showing the distribution of dialectal equivalents for terms in {{{langname}}}.",
	parents = {{name = "{{{langcat}}}", sort = "dialectal equivalent maps", raw = true}},
	umbrella = {
		description = "Categories with maps showing the distribution of dialectal equivalents for terms in a given language.",
		parents = {"Umbrella metacategories"},
		breadcrumb = "Dialectal equivalent maps",
	},
}

-- Thesaurus entries

labels["thesaurus entries"] = {
	description = "[[WT:WS|Thesaurus]] entries for listing [[Wiktionary:Semantic relations|semantically related terms]] such as [[synonym]]s, [[antonym]]s, [[hyponym]]s, [[hypernym]]s, [[meronym]]s, and [[holonym]]s of {{{langname}}} words.",
	parents = {{name = "{{{langcat}}}", raw = true}},
	umbrella = {
		description = "Categories with [[WT:WS|thesaurus]] entries for listing [[Wiktionary:Semantic relations|semantically related terms]].",
		breadcrumb = "By language",
		parents = {{name = "Category:Thesaurus", sort = " "}},
	},
}


-----------------------------------------------------------------------------
--                                                                         --
--                              RAW CATEGORIES                             --
--                                                                         --
-----------------------------------------------------------------------------


raw_categories["Fundamental"] = {
	topright = "{{commonscat|CommonsRoot}}",
	description = "This page is the top-level category, under which all categories at Wiktionary should lie.",
	additional = "Note that most categories are in [[:Category:All topics]] or under individual [[:Category:All languages|languages]].",
}

raw_categories["Umbrella metacategories"] = {
	description = "This page contains '''umbrella metacategories''', which group umbrella categories under high-level topics.",
	additional = "Umbrella categories in turn group language-specific categories devoted to particular low-level topics.",
	parents = {"Fundamental"},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}