Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a25caed88dcd7fd8

Jump to content

Module:IPAc-de

From Wikipedia, the free encyclopedia

local data = mw.loadData( 'Module:IPAc-de/data' )

local p = {}

function p.toIPA( args )
	local ipa = ""
	
	for k, v in ipairs(args)
	do
		if k ~= "text"
		then
			ipa = ipa .. data[v]
		end
	end
	
	return mw.getCurrentFrame():expandTemplate({
		title = "IPA",
		args = {
			"de",
			ipa,
			args["text"]
		}
	})
end

function p.main( frame )
	return p.toIPA( frame:getParent().args )
end

return p