This module contains data for works in Mozarabic and is used to format the parameters of {{Q|mxi|...}}.


local function new_work(author, year)
	return {
		year = year or "c. 1100",
		author = ({
			["al-Aʕmā"] = "[[w:Al-Tutili|al-Aʕmā al-Tuṭīlī]]",
			["Judah Halevi"] = "[[w:Judah Halevi|Judah Halevi]]",
			["ibn al-Labbāna"] = "[[w:ca:Ibn al-Labbana|ibn al-Labbāna]]",
			["ibn Baqī"] = "[[w:Ibn Baqi|ibn Baqī]]",
		})[author] or author,
	};
end

local works = {
	-- ARABIC
	A1 = new_work("Muhammad ibn ʕubada"),
	A4 = new_work(),
	A5 = new_work("al-Aʕmā"),
	A8 = new_work("al-Aʕmā"),
	A12 = new_work("ibn Baqī"),
	A14 = new_work(),
	A16 = new_work(),
	A17 = new_work("al-Aʕmā"),
	A19 = new_work("al-Aʕmā"),
	A22 = new_work("al-Aʕmā"),
	A29 = new_work("ibn al-Labbāna"),
	A32 = new_work("ibn al-Rafiʕ Raʔsuh"),
	A41 = new_work("al-Aʕmā"),

	-- HEBREW
	H1 = new_work("Judah Halevi"),
	H3 = new_work("Judah Halevi"),
	H5 = new_work(),
	H9 = new_work("Judah Halevi"),
	H12 = new_work(),
	H14 = new_work("Judah Halevi"),
	H15 = new_work(),
	H17 = new_work(),
	H18 = new_work("Yosef al-Katib", "c. 1000"),
	H24 = new_work(),
	H25 = new_work("Yosef al-Katib"),
};

local aliases = {};
for i, v in pairs(works) do
	works['Kharja '..i] = works[i];
	aliases[i] = 'Kharja '..i;
end

return { data = {
	authorAliases = {},
	[false] = { works = works, aliases = aliases }
} };
"https://si.wiktionary.org/w/index.php?title=Module:Quotations/mxi/data&oldid=44222" වෙතින් සම්ප්‍රවේශනය කෙරිණි