local export = {}
local u = mw.ustring.char

function export.makeEntryName(text, lang, sc)

	local replacements = {
		u(0x303), u(0x304), u(0x307), u(0x308), u(0x323), u(0x32E), u(0x330), u(0x331), u(0x711), "[" .. u(0x730) .. "-" .. u(0x74A) .. "]" -- tilde, macron, dot above, diaeresis, dot below, breve below, tilde below, macron below, superscript aleph, pthaha, zqapha, rbasa, zlama, hbasa, esasa, rwaha, feminine dot, qushshaya
	}

	for _, replacement in ipairs(replacements) do
		text = mw.ustring.gsub(text, replacement, "")
	end

	return text
end

return export
"https://si.wiktionary.org/w/index.php?title=Module:Syrc-entryname&oldid=29402" වෙතින් සම්ප්‍රවේශනය කෙරිණි