Modul:category tree/topic/thesaurus data
Penampilan
- Berikut merupakan pendokumenan yang dijana oleh Templat:topic cat data submodule documentation. [sunting]
- Pautan berguna: akar laman • sublaman akar laman • pautan • transklusi • kes ujian • kotak pasir
Sublaman
[sunting]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 [[Module:category tree/topic]].
]=]
-- Short-circuit some unnecessarily long category trees by
-- replacing certain parent categories, when encountered, with other ones
local parent_substitutions = {}
parent_substitutions["thesaurus-only categories"] = "semua topik"
parent_substitutions["architecture"] = "semua topik"
parent_substitutions["atmosphere"] = "nature"
parent_substitutions["businesses"] = "food and drink" -- for Restaurants
parent_substitutions["divination"] = "occult"
parent_substitutions["drinking"] = "food and drink"
parent_substitutions["earth sciences"] = "semua topik" -- for Geography
parent_substitutions["eating"] = "food and drink"
parent_substitutions["employment"] = "economics"
parent_substitutions["formal sciences"] = "sciences"
parent_substitutions["geometry"] = "mathematics"
parent_substitutions["human activity"] = "human behaviour"
parent_substitutions["justice"] = "society"
parent_substitutions["language"] = "communication"
parent_substitutions["medical signs and symptoms"] = "health"
parent_substitutions["politics"] = "society"
parent_substitutions["senses"] = "perception"
parent_substitutions["social sciences"] = "semua topik"
export.parent_substitutions = parent_substitutions
return export