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

Jump to content

Module:Multiple numbered diffs

From Wikipedia, the free encyclopedia

require('strict')

local p = {}

function p.Diffs(frame)
	-- load arguments module to simplify handling of args
	local getArgs = require('Module:Arguments').getArgs
	
	local args = getArgs(frame)
	return p._Diffs(args)
end
	
function p._Diffs(args)
	local out = "<span class='plainlinks'>"
	for k, v in pairs(args) do
		out = out .. "[https://en.wikipedia.org/w/index.php?title=&diff=prev&oldid=" .. v .. "]"
	end
	out = out .. "</span>";
	return out
end

return p