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

Jump to content

Template:REVISIONUSER2/doc

From Wikipedia, the free encyclopedia

The magic word {{REVISIONUSER}} gives poor formatting and fails in wikilinks if the username starts with an asterisk '*' or semicolon ';'. This template is a workaround. It is not needed if phab:T28781 is fixed.

Usage

[edit]

Use {{REVISIONUSER2}} instead of {{REVISIONUSER}}

Use {{REVISIONUSER2|pagename}} instead of {{REVISIONUSER:pagename}}

Note the pipe instead of a colon.

Example

[edit]

Suppose you want to link the last editor of User:*Casper/sandbox.

[[User:{{REVISIONUSER2|User:*Casper/sandbox}}]] produces:

User:*Casper

For comparison, [[User:{{REVISIONUSER:User:*Casper/sandbox}}]] produces:

User:*Casper

The latter fails if the last editor is *Casper and phab:T28781 is unfixed.

Usernames starting with * or ; are relatively rare. {{REVISIONUSER}} may work correctly if it is not in the output but only used in a test during processing.

Alternative approach

[edit]

Wrapping {{REVISIONUSER}} with {{#invoke:String2|nowiki|...}} so it looks like {{#invoke:String2|nowiki|{{REVISIONUSER}}}} also works.