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

Jump to content

Module:Revisions until removed

From Wikipedia, the free encyclopedia
local p = {}
local getArgs = require('Module:Arguments').getArgs

function p.main(frame)
	local args = getArgs(frame)
	local num = tonumber(args['1'] or 2)
	num = num - 1
	if num > 0 then
		return '{{subst:revisions until removed|'..tostring(num)..'}}'
	else
		return '<!--{{subst:revisions until removed|'..tostring(num)..'}}-->'
	end
end

return p