Module:IPA/overview: Difference between revisions

Content deleted Content added
sort Māori correctly
simpler
 
Line 125:
local key = lect.key or lect.parent and lect.parent.key
if key then
local asciiKey = mw.ustring.gsub(mw.ustring.toNFD(key), '[^ -~]', '')
for s in mw.ustring.gmatch(mw.ustring.toNFD(key), '[ -~]+') do
asciiKey = asciiKey .. s
end
if not byKey[asciiKey] then
byKey[asciiKey] = { name = key }