local labels = {}
local unpack = unpack or table.unpack -- Lua 5.2 compatibility
labels = {
type = "related-to",
description = "default",
parents = {"all topics"},
}
labels = {
type = "related-to",
description = "default",
parents = {"Ancient Near East"},
}
labels = {
type = "related-to",
description = "default with the wikify",
parents = {"historical events", "history of the United States", "war", "slavery"},
}
labels = {
type = "related-to",
description = "=] ]",
parents = {"ancient history", "history of Africa"},
}
labels = {
type = "related-to",
description = "=] ]",
parents = {"ancient history", "history of Asia"},
}
labels = {
type = "related-to",
description = "=] ]",
parents = {"Ancient Africa", "Ancient Near East", "history of Egypt"},
}
labels = {
type = "related-to",
description = "default",
parents = {"history"},
}
labels = {
type = "related-to",
description = "=] ]",
parents = {"ancient history", "history of Europe"},
}
labels = {
type = "related-to",
description = "default",
parents = {"Ancient Near East", "Ancient Europe", "history of Greece"},
}
labels = {
type = "related-to",
description = "default with the",
parents = {"ancient history", "Ancient Asia"},
}
labels = {
type = "related-to",
description = "default",
parents = {"Ancient Europe", "Ancient Africa", "ancient history", "Ancient Near East", "history of Italy"},
}
labels = {
type = "related-to",
description = "default",
parents = {"Ancient Near East"},
}
labels = {
type = "related-to",
description = "default",
parents = {"Ancient Near East"},
}
labels = {
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 = {
type = "related-to",
description = "default with the wikify",
parents = {"historical events", "history of China", "war"},
}
labels = {
type = "name",
description = "default wikify no singularize",
parents = {"dynasties", "history of China"},
}
labels = {
type = "name",
description = "default wikify",
parents = {"historical periods", "history of China"},
}
labels = {
type = "related-to",
description = "default with the",
parents = {"historical events", "Soviet Union", "history of the United States", "history of Europe", "nuclear warfare"},
}
labels = {
type = "related-to",
description = "default with the",
parents = {"historical events", "history of China"},
}
labels = {
type = "set",
description = "default",
parents = {"historical periods"},
}
labels = {
type = "related-to",
description = "default",
parents = {"Ancient Europe", "history of Italy"},
}
labels = {
type = "related-to",
description = "default",
parents = {"history", "genetics"},
}
labels = {
type = "set",
description = "default",
parents = {"heraldry"},
}
labels = {
type = "set",
description = "default",
parents = {"heraldry", "colors"},
}
labels = {
type = "related-to",
description = "default",
parents = {"history"},
}
labels = {
type = "name",
description = "default",
parents = {"history"},
}
labels = {
type = "name",
description = "default",
parents = {{name = "history", sort = "periods"}, "timekeeping"},
}
labels = {
type = "related-to",
description = "default",
parents = {"history"},
}
for _, country_parent in ipairs {
{"Afghanistan", "Asia"},
{"Africa"},
{"Albania", "history of Europe"},
{"Algeria", "history of Africa"},
{"Armenia", {"history of Europe", "history of Asia"}},
{"Asia"},
{"Australia", "history of Oceania"},
{"Austria", "history of Europe"},
{"Bangladesh", "history of Asia"},
{"Belarus", "history of Europe"},
{"Belgium", "history of Europe"},
{"Bosnia and Herzegovina", "history of Europe"},
{"Bulgaria", "history of Europe"},
{"Chile", "history of South America"},
{"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"},
{"Indonesia", "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"},
{"Malaysia", "history of Asia"},
{"Malta", "history of Europe"},
{"Monaco", "history of Europe"},
{"Mexico", "history of North America"},
{"New Zealand", "history of Oceania"},
{"Norway", "history of Europe"},
{"North America"},
{"North Macedonia", "history of Europe"},
{"Oceania"},
{"Poland", "history of Europe"},
{"Portugal", "history of Europe"},
{"Romania", "history of Europe"},
{"Russia", "history of Europe"},
{"San Marino", "history of Europe"},
{"Saudi Arabia", "history of Europe"},
{"Serbia", "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"},
{"Taiwan", "history of Asia"},
{"Thailand", "history of Asia"},
{"the Czech Republic", "history of Europe", "Czech Republic"},
{"the Netherlands", "history of Europe", "Netherlands"},
{"the Philippines", "history of Asia", "Philippines"},
{"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 = {
type = "related-to",
description = "default with the wikify no singularize",
parents = parent,
}
end
labels = {
type = "related-to",
description = "default",
parents = {"history", "sciences"},
}
labels = {
type = "related-to",
description = "default with the",
parents = {"history of India"},
}
labels = {
type = "related-to",
description = "default with the",
parents = {"Near East", "history of Africa", "history of Asia", "history of Europe", "history of Turkey"},
}
labels = {
type = "related-to",
description = "default",
parents = {"Ancient Near East"},
}
labels = {
type = "related-to",
description = "default with the wikify",
parents = {"history of China", "History of Japan", "World War II"},
}
labels = {
type = "related-to",
description = "default",
parents = {"Ancient Near East"},
}
labels = {
type = "name",
description = "default",
parents = {"historical events", "history of Vietnam", "war"},
}
labels = {
type = "name",
description = "default wikify no singularize",
parents = {"dynasties", "history of Vietnam"},
}
labels = {
type = "related-to",
description = "default",
parents = {"historical events", "history of Europe", "war"},
}
labels = {
type = "related-to",
description = "default",
parents = {"historical events", "history of Europe", "war"},
}
return labels