You can edit almost every page by Creating an account and confirming your email.

Module:Portal/images/aliases/sandbox

From EverybodyWiki Bios & Wiki

Documentation for this module may be created at Module:Portal/images/aliases/sandbox/doc

--[==[ This is the "aliases" list of portal image names. It contains a list of
-- portal image aliases for use with [[Module:Portal]]. The aliases can be used
-- to point to an existing portal image entry. For portals who do not yet have a
-- portal image entry, please see the module documentation.
--
-- When adding entries, please use alphabetical order. The format of the alias
-- table entries is as follows:
--          ["portal name"] = {"alias 1", "alias 2", "alias 3"},
-- Both the portal name and the alias names should be in lower case, and the
-- "Portal:" namespace prefix should be omitted. For example, if you wanted "UK"
-- to be an alias for "Portal:United Kingdom", then the
-- alias name would be "uk" and the portal name would be "united kingdom".
]==]

local aliases = {
	["1990s"]                                 = {"1990's"},
	["2000s"]                                 = {"2000's"},
	["ac/dc"]                                 = {"ac dc"},
	["academy award"]                         = {"academy awards"},
	["african american"]                      = {"african-american", "african-americans", "african americans"},
	["agriculture and agronomy"]              = {"agriculture"},
	["apple inc."]                            = {"apple", "apple inc"},
	["archaeology"]                           = {"archeology"},
	["asian americans"]                       = {"asian american"},
	["association football"]                  = {"soccer"},
	["assyrians"]                             = {"assyria"},
	["björk"]                                 = {"bjork"},
	["brandy norwood"]                        = {"brandy"},
	["business and economics"]                = {"economics", "economy"},
	["canada"]                                = {"canadian"},
	["canadian armed forces"]                 = {"canadian forces", "military history of canada"},
	["caribbean"]                             = {"west indies"},
	["catalan-speaking countries"]            = {"catalan", "catalonia"},
	["celtic studies"]                        = {"celts"},
	["children's literature"]                 = {"children's and young adult literature", "children and young adult literature"},
	["christianity in india"]                 = {"indian christianity"},
	["classical civilisation"]                = {"classical civilization", "classics"},
	["cleveland"]                             = {"cleveland, ohio"},
	["commonwealth realms"]                   = {"commonwealth"},
	["criminal justice"]                      = {"crime"},
	["current events"]                        = {"events"},
	["dallas – fort worth metroplex"]         = {"dallas", "dallas-fort worth", "dallas - fort worth metroplex"},
	["democratic republic of the congo"]      = {"zaire", "zaïre"},
	["denmark"]                               = {"kingdom of denmark"},
	["disasters"]                             = {"disaster"},
	["electromagnetism"]                      = {"em"},
	["extinct and endangered species"]        = {"extinction"},
	["film"]                                  = {"films"},
	["freedom of speech"]                     = {"free speech"},
	["french and francophone literature"]     = {"french literature"},
	["georgia (country)"]                     = {"georgia"},
	["hawaii"]                                = {"hawai'i", "hawaiʻi"},
	["health and fitness"]                    = {"health"},
	["himalayas"]                             = {"himalaya region"},
	["hip hop"]                               = {"hip-hop"},
	["hispanic and latino americans"]         = {"hispanic and latino american", "latino and hispanic americans", "latino and hispanic american"},
	["horror fiction"]                        = {"horror"},
	["hunger relief"]                         = {"hunger"},
	["indiana"]                               = {"hoosier"},
	["indigenous peoples of north america"]   = {"indigenous people of north america"},
	["information technology"]                = {"computing", "it"},
	["ivory coast"]                           = {"côte d'ivoire"},
	["lemony snicket"]                        = {"a series of unfortunate events"},
	["library and information science"]       = {"information science"},
	["madonna (entertainer)"]                 = {"madonna"},
	["metro detroit"]                         = {"detroit"},
	["mexico"]                                = {"méxico"},
	["music of australia"]                    = {"australian music"},
	["national register of historic places"]  = {"nrhp"},
	["netherlands"]                           = {"kingdom of the netherlands"},
	["north rhine-westphalia"]                = {"nrw"},
	["oceans"]                                = {"ocean"},
	["organized labour"]                      = {"organised labour", "organized labor"},
	["paleontology"]                          = {"palaeontology"},
	["people's republic of china"]            = {"prc"},
	["prince edward island"]                  = {"pei"},
	["punjab (pakistan)"]                     = {"punjab, pakistan"},
	["punjab"]                                = {"punjab (india)", "punjab, india"},
	["python programming"]                    = {"python"},
	["quebec"]                                = {"québec"},
	["quran"]                                 = {"qur'an"},
	["republic of macedonia"]                 = {"macedonia"},
	["romani people"]                         = {"roma", "romani"},
	["schools"]                               = {"school"},
	["sexuality"]                             = {"sex"},
	["soap operas and telenovelas"]           = {"soap operas", "telenovelas"},
	["sport in canada"]                       = {"canadian sports", "canadian sport", "sports of canada"},
	["sports"]                                = {"sport"},
	["st. john's, newfoundland and labrador"] = {"st. john's"},
	["state of georgia"]                      = {"georgia (u.s. state)", "georgia usa", "georgia usa"},
	["taiwan"]                                = {"republic of china", "roc"},
	["tamil people"]                          = {"tamil"},
	["telecommunication"]                     = {"telecommunications", "telecoms", "telecomms", "telecomm", "telecom"},
	["the gambia"]                            = {"gambia"},
	["the legend of zelda"]                   = {"legend of zelda"},
	["transportation"]                        = {"transport"},
	["tropical cyclones"]                     = {"tropical cyclone"},
	["u.s. roads"]                            = {"us roads"},
	["united kingdom"]                        = {"uk"},
	["united states"]                         = {"us", "usa"},
	["university of pittsburgh"]              = {"pitt"},
	["video games"]                           = {"vg", "video game"},
	["washington, d.c."]                      = {"district of columbia", "washington dc"},
	["western sahara"]                        = {"sahrawi arab democratic republic"},
	["world war ii"]                          = {"second world war"},
}

--------------------------------------------------------------------------------
-- Don't edit anything below this line.

local sorted = {}
for portalKey, t in pairs(aliases) do
	for i, alias in ipairs(t) do
		if sorted[alias] then
			error(string.format(
				'duplicate key "%s" found in the image aliases subpage',
				tostring(aliasKey)
			))
		else
			sorted[alias] = portalKey
		end
	end
end

return sorted