Jump to content

Module:Wt/haw/scripts/code to canonical name

From Wikimedia Incubator

Documentation for this module may be created at Module:Wt/haw/scripts/code to canonical name/doc

local export = {}

for code, data in pairs(mw.loadData("Module:Wt/haw/scripts/data")) do
	-- to prevent code aliases
	if mw.ustring.len(code) == 4 or code == 'IPAchar' then
		export[code] = data.canonicalName
	end
end

return export