This module contains data related to thesaurus categories. Specifically, it contains mappings from specific topic parent categories to the corresponding (more general) thesaurus parent categories. The intent is to short-circuit some unnecessarily long category trees by replacing certain parent categories, when encountered, with other ones.
Thesaurus:...
categories is in Module:category tree/topic.local export = {}
--[=[
This module contains data related to thesaurus categories. Currently it only contains some mappings from specific
topic parent categories to the corresponding (more general) thesaurus parent categories. The actual processing of
`Thesaurus:...` categories happens in ].
]=]
-- Short-circuit some unnecessarily long category trees by
-- replacing certain parent categories, when encountered, with other ones
local parent_substitutions = {}
parent_substitutions = "all topics"
parent_substitutions = "all topics"
parent_substitutions = "nature"
parent_substitutions = "food and drink" -- for Restaurants
parent_substitutions = "occult"
parent_substitutions = "food and drink"
parent_substitutions = "all topics" -- for Geography
parent_substitutions = "food and drink"
parent_substitutions = "economics"
parent_substitutions = "sciences"
parent_substitutions = "mathematics"
parent_substitutions = "human behaviour"
parent_substitutions = "society"
parent_substitutions = "communication"
parent_substitutions = "health"
parent_substitutions = "society"
parent_substitutions = "perception"
parent_substitutions = "all topics"
export.parent_substitutions = parent_substitutions
return export