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:Database reports/Example report

From Wikipedia, the free encyclopedia

local Report = require('Module:Database report')

local p = {}

p.main = function()
	local report = Report:new()
	report:setSQL("SELECT page_namespace, page_title, page_touched FROM page LIMIT 10")
	report:useWikilinks(2, 'c1')
	report:hideColumns(1)
	return report:generate()
end 

return p