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: a2222160dbb9f689

Jump to content

Module:NSW GNR

From Wikipedia, the free encyclopedia

-- For unit tests, see [[Module:NSW GNR/testcases]]
local p = {}
digit = {{"??", "JP", "Ma", "an", "uj", "TR", "SX", "KW", "Mn", "It"},
		 {"jL", "Kq", "qw", "IO", "ck", "Yb", "lp", "jt", "Ql", "wG"},
		 {"Wy", "vq", "lM", "wp", "BK", "oe", "Fx", "Xt", "jz", "Zx"},
		 {"rX", "ZT", "Km", "sE", "WA", "qb", "tL", "Ul", "sy", "xO"},
		 {"GH", "JP", "Ma", "an", "uj", "TR", "SX", "KW", "Mn", "It"}}

function p.convert(frame)
	converted = ""
	for i=1,5 do
	  if (#frame.args[1]>=i) then
        converted = converted .. digit[i][1+tonumber(string.sub(frame.args[1],i,i))]
      end
    end
    return converted
end
return p