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

Jump to content

Wikipedia:WikiProject User scripts/Scripts/Logs link

From Wikipedia, the free encyclopedia
// from [http://en.wikipedia.org/w/index.php?title=User:Thebainer/monobook.js&oldid=32546177 User:Thebainer/monobook.js]

// adds a 'logs for this page' link to the toolbox bar
// if the page is a special page, then no link is displayed

$.when($.ready, mw.loader.using('mediawiki.util')).then(function () {
    if ( mw.config.get('wgCanonicalNamespace') == "Special" )
        return;  // don't display link for special pages

    url = mw.config.get('wgServer') + "/w/index.php?title=Special:Log&page=" + encodeURIComponent(mw.config.get('wgPageName'));

    mw.util.addPortletLink("p-tb", url, "Page logs", "pt-logs");
});