local export = {}

function export.makeEntryName(text, lang)
	local U = mw.ustring.char
	
	local replacements = {
		from = {U(0x308), U(0x711), "[" .. U(0x730) .. "-" .. U(0x74A) .. "]"},
		to   = {}
	}
	
	for i, from in ipairs(replacements.from) do
		local to = replacements.to[i] or ""
		text = mw.ustring.gsub(text, from, to)
	end
	
	return text
end

return export