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

Jump to content

Module:Sandbox/Legoktm/bad idea

From Wikipedia, the free encyclopedia

--[[
Demonstrates how to use Wikidata
for interwiki transclusion.
@author Legoktm
]] --

local p = {}

function p.expand(frame)
    local entity = mw.wikibase.getEntity()
    local text = entity.claims.p370[0].mainsnak.datavalue.value
    return frame:preprocess( text )
end

return p