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.

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