Module:gmy-R/data

From Wiktionary, the free dictionary
Jump to navigation Jump to search

A list of bibliographical sources and their aliases for {{gmy-R}}. See also the full bibliography.


-- this kind of approach could also support Google Books, Gallica, etc.
local function page_url_IA(id, pre, offset)
	return function (page)
		return
			"https://archive.org/details/" .. id
			.. "/page/" .. (pre or "") .. (page + (offset or 0))
			.. "/mode/1up?view=theater"
	end
end

local sources = {
	-- A
	["Aura Jorro:1985"] = {
		aliases = {"DMic. 1"},
		page_url = page_url_IA("AuraJorroDiccionarioMicnicoVol.I1985"),
	},
	["Aura Jorro:1993"] = {
		aliases = {"DMic. 2"},
		page_url = page_url_IA("AuraJorroDiccionarioMicnicoVol.II1993"),
	},
	-- B
	["Baumbach:1971"] = {
		aliases = {"MGV 2"},
		entry_lang = "grc",
	},
	["Beekes:2010"] = {
		aliases = {"EDG"},
		entry_lang = "grc",
	},
	["Bennett:1955"] = { aliases = {"PT 2"} },
	["Bennett:1958"] = { aliases = {"MT 2"} },
	-- C
	["Chadwick:1963"] = { aliases = {"Chadwick:1962", "MT 3"} },
	["Chadwick & Baumbach:1963"] = {
		aliases = {"MGV 1"},
		entry_lang = "grc",
	},
	["Chadwick & Killen:1963"] = { aliases = {"KT 3"} },
	["Chadwick et al.:1986"] = {
		aliases = {"CoMIK 1"},
		page_url = page_url_IA("CORPUSOFMYCENAEANINSCRIPTIONSFROMKNOSSOSVOLUMEI11063"),
	},
	-- H
	["Hooker:1980"] = {},
	-- P
	["Palmer:1963"] = { aliases = {"Interpr."} },
	["Palmer:1972"] = {},
	-- L
	["Lejeune:1958"] = { aliases = {"Mem. 1"} },
	["Lejeune:1971"] = { aliases = {"Mem. 2"} },
	["Lejeune:1972"] = { aliases = {"Mem. 3"} },
	-- N
	["Nakassis:2013"] = {},
	-- V
	["Ventris & Chadwick:1973"] = { aliases = {"Ventris:1973", "Docs2"} },
}

local aliases = {}

for source_index, source_data in pairs(sources) do
	if source_data.aliases then
		for _, alias_value in ipairs(source_data.aliases) do
			aliases[alias_value] = source_index
		end
		source_data.aliases = nil
	end
end

return { sources = sources, aliases = aliases }