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

Template:Wikidata fallback link/testcases

From Wikipedia, the free encyclopedia

Article exists

[edit]

If the corresponding article exists then a direct link to the article is given (piped to the label on Wikidata).

{{Wikidata fallback link}}

York

{{Wikidata fallback link/sandbox}}

York

Article does not exist

[edit]

If the corresponding article does not exist on the English Wikipedia, then a red link is displayed, followed by a link to its item on Wikidata.

{{Wikidata fallback link}}

Opius danielssoni 

{{Wikidata fallback link/sandbox}}

Opius danielssoni 

Label exists but article under that title aleady exists

[edit]

If the corresponding article does not exist on the English Wikipedia but there is a different article at the item's label, then to avoid confusion, the label is not linked.

{{Wikidata fallback link}}

Ali 

{{Wikidata fallback link/sandbox}}

Ali 

Article exists but is a redirect to the current page

[edit]

Per WP:SELFRED, if the corresponding article exists but is a redirect to the current page, the label is not linked when the |r=1 parameter is supplied.

{{Wikidata fallback link}}

Template:Wikidata fallback link

{{Wikidata fallback link/sandbox}}

Template:Wikidata fallback link

No label defined

[edit]

If there is no English label defined on Wikidata, then just a link to the Wikidata item is displayed. To fix this, please add a label to the Wikidata item.

{{Wikidata fallback link}}

{{Wikidata fallback link/sandbox}}

[edit]

{{Wikidata fallback link}}

Phu Khong 

{{Wikidata fallback link/sandbox}}

Phu Khong 

[edit]

{{Wikidata fallback link}}

Phu Khong 

{{Wikidata fallback link/sandbox}}

Phu Khong