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

Jump to content

Module:Remove redlinks

From Wikipedia, the free encyclopedia
local p = {}

function p.listExistingPages(frame)
    local output = ""

    for i, title in ipairs(frame.args) do
        if  mw.title.new(title).exists then
            output = output .. "* [[" .. title .. "]]\n"
        end
    end

    -- Return the output
    return output
end

-- Export the module
return p