مۆدیوول:category tree/topic cat/data/History

لە ویکیفەرھەنگ

"بەڵگەدارکردنی ئەم مۆدیوولە دەکرێ لە مۆدیوول:category tree/topic cat/data/History/docدا دروست بکرێ"

local labels = {}

labels["history"] = {
	type = "related-to",
	description = "default",
	parents = {"all topics"},
}

labels["Akkad"] = {
	type = "related-to",
	description = "default",
	parents = {"Ancient Near East"},
}

labels["American Civil War"] = {
	type = "related-to",
	description = "default with the wikify",
	parents = {"historical events", "history of the United States", "war", "slavery"},
}

labels["Ancient Africa"] = {
	type = "related-to",
	description = "default",
	parents = {"ancient history", "history of Africa"},
}

labels["Ancient Asia"] = {
	type = "related-to",
	description = "default",
	parents = {"ancient history", "history of Asia"},
}

labels["Ancient Egypt"] = {
	type = "related-to",
	description = "=[[ancient]] [[Egypt]]",
	parents = {"Ancient Africa", "Ancient Near East", "history of Egypt"},
}

labels["ancient history"] = {
	type = "related-to",
	description = "default",
	parents = {"history"},
}

labels["Ancient Europe"] = {
	type = "related-to",
	description = "default",
	parents = {"ancient history", "history of Europe"},
}

labels["Ancient Greece"] = {
	type = "related-to",
	description = "default",
	parents = {"Ancient Near East", "Ancient Europe", "history of Greece"},
}

labels["Ancient Near East"] = {
	type = "related-to",
	description = "default with the",
	parents = {"ancient history", "Ancient Asia"},
}

labels["Ancient Rome"] = {
	type = "related-to",
	description = "default",
	parents = {"Ancient Europe", "Ancient Africa", "ancient history", "Ancient Near East", "history of Italy"},
}

labels["Assyria"] = {
	type = "related-to",
	description = "default",
	parents = {"Ancient Near East"},
}

labels["Babylonia"] = {
	type = "related-to",
	description = "default",
	parents = {"Ancient Near East"},
}

labels["Byzantine Empire"] = {
	type = "related-to",
	description = "default with the",
	parents = {"Ancient Europe", "Ancient Near East", "history of Asia", "history of Europe", "history of Greece", "history of Turkey"},
}

labels["Chinese Civil War"] = {
	type = "related-to",
	description = "default with the wikify",
	parents = {"historical events", "history of China", "war"},
}

labels["Chinese dynasties"] = {
	type = "name",
	description = "default wikify no singularize",
	parents = {"dynasties", "history of China"},
}

labels["Chinese era names"] = {
	type = "name",
	description = "default wikify",
	parents = {"historical periods", "history of China"},
}

labels["Cold War"] = {
	type = "related-to",
	description = "default with the",
	parents = {"historical events", "Soviet Union", "history of the United States", "history of Europe", "nuclear warfare"},
}

labels["Cultural Revolution"] = {
	type = "related-to",
	description = "default with the",
	parents = {"historical events", "history of China"},
}

labels["dynasties"] = {
	type = "set",
	description = "default",
	parents = {"historical periods"},
}

labels["Etruria"] = {
	type = "related-to",
	description = "default",
	parents = {"Ancient Europe", "history of Italy"},
}

labels["genealogy"] = {
	type = "related-to",
	description = "default",
	parents = {"history", "genetics"},
}

labels["heraldic charges"] = {
	type = "set",
	description = "default",
	parents = {"heraldry"},
}

labels["heraldic tinctures"] = {
	type = "set",
	description = "default",
	parents = {"heraldry", "colors"},
}

labels["heraldry"] = {
	type = "related-to",
	description = "default",
	parents = {"history"},
}

labels["historical events"] = {
	type = "name",
	description = "default",
	parents = {"history"},
}

labels["historical periods"] = {
	type = "name",
	description = "default",
	parents = {{name = "history", sort = "periods"}, "timekeeping"},
}

labels["historiography"] = {
	type = "related-to",
	description = "default",
	parents = {"history"},
}

for _, country_parent in ipairs {
	{"Africa"},
	{"Algeria", "history of Africa"},
	{"Asia"},
	{"Austria", "history of Europe"},
	{"Bangladesh", "history of Asia"},
	{"Belgium", "history of Europe"},
	{"Bosnia and Herzegovina", "history of Europe"},
	{"China", "history of Asia"},
	{"Croatia", "history of Europe"},
	{"Denmark", "history of Europe"},
	{"Egypt", {"history of Africa", "history of Asia"}},
	{"Estonia", "history of Europe"},
	{"Europe"},
	{"Finland", "history of Europe"},
	{"France", "history of Europe"},
	{"Germany", "history of Europe"},
	{"Greece", {"history of Europe", "history of Asia"}},
	{"Hong Kong", "history of China"},
	{"Hungary", "history of Europe"},
	{"India", "history of Asia"},
	{"Iran", "history of Asia"},
	{"Ireland", "history of Europe"},
	{"Israel", "history of Asia"},
	{"Italy", "history of Europe"},
	{"Japan", "history of Asia"},
	{"Jordan", "history of Asia"},
	{"Korea", "history of Asia"},
	{"Latvia", "history of Europe"},
	{"Liechtenstein", "history of Europe"},
	{"Lithuania", "history of Europe"},
	{"Luxembourg", "history of Europe"},
	{"Malta", "history of Europe"},
	{"Monaco", "history of Europe"},
	{"Mexico", "history of North America"},
	{"Norway", "history of Europe"},
	{"North America"},
	{"Poland", "history of Europe"},
	{"Portugal", "history of Europe"},
	{"Russia", "history of Europe"},
	{"San Marino", "history of Europe"},
	{"Slovakia", "history of Europe"},
	{"South America"},
	{"Spain", "history of Europe"},
	{"Sudan", "history of Africa"},
	{"Suriname", "history of South America"},
	{"Sweden", "history of Europe"},
	{"Switzerland", "history of Europe"},
	{"the Netherlands", "history of Europe", "Netherlands"},
	{"the United Kingdom", "history of Europe", "United Kingdom"},
	{"the United States", nil, "United States"},
	{"Tunisia", "history of Africa"},
	{"Turkey", {"history of Asia", "history of Europe"}},
	{"Ukraine", "history of Europe"},
	{"Vietnam", "history of Asia"},
	{"Yemen", "history of Asia"},
} do
	local country, parent, country_parent_form = unpack(country_parent)
	if not parent then
		parent = {"history"}
	elseif type(parent) ~= "table" then
		parent = {parent}
	end
	table.insert(parent, country_parent_form or country)
	labels["history of " .. country] = {
		type = "related-to",
		description = "default with the wikify",
		parents = parent,
	}
end

labels["Mughal Empire"] = {
	type = "related-to",
	description = "default with the",
	parents = {"history of India"},
}

labels["Ottoman Empire"] = {
	type = "related-to",
	description = "default with the",
	parents = {"Near East", "history of Africa", "history of Asia", "history of Europe", "history of Turkey"},
}

labels["Phoenicia"] = {
	type = "related-to",
	description = "default",
	parents = {"Ancient Near East"},
}

labels["Second Sino-Japanese War"] = {
	type = "related-to",
	description = "default with the wikify",
	parents = {"history of China", "History of Japan", "World War II"},
}

labels["Sumer"] = {
	type = "related-to",
	description = "default",
	parents = {"Ancient Near East"},
}

labels["Vietnamese dynasties"] = {
	type = "name",
	description = "default wikify no singularize",
	parents = {"dynasties", "history of Vietnam"},
}

labels["World War I"] = {
	type = "related-to",
	description = "default",
	parents = {"historical events", "history of Europe", "war"},
}

labels["World War II"] = {
	type = "related-to",
	description = "default",
	parents = {"historical events", "history of Europe", "war"},
}

return labels