Module:category tree/data

Revision as of 10:32, 8 June 2021 by Sware (talk | contribs) (Created page with "local data = { "All language families", "All languages", "All scripts", "Categories only containing subcategories", "Character boxes", "Characters by script", "Entries...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This data submodule defines part of Wiktionary's category structure.

For an introduction to the category tree system and a description of how to add or modify categories, see Module:category tree/documentation.


local data = {
	"All language families",
	"All languages",
	"All scripts",
	"Categories only containing subcategories",
	"Character boxes",
	"Characters by script",
	"Entries with audio examples",
	"Entries with redirects",
	"Entry maintenance by language",
	"Figures of speech by language",
	"Gestures",
	"Lemmas by language",
	"Letters",
	"Lists",
	"Non-lemma forms by language",
	"Phrasebooks by language",
	"Protologisms",
	"Regionalisms",
	"Rhymes by language",
	"Sentences by language",
	"All sets",
	"Shortenings by language",
	"Symbols by language",
	"Synchronized entries by language",
	"Terms by etymology by language",
	"Terms by lexical property by language",
	"Terms by semantic function by language",
	"Terms by usage by language",
	"All topics",
	"Unicode blocks",
	"Unsupported titles",
	"Wiktionary",
	"Wiktionary pages that don't exist",
	"Wiktionary-namespace discussion pages",
}

for i, category in ipairs(data) do
	data[i] = nil
	data["Category:" .. category] = true
end

return data