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

Jump to content

Module talk:Infobox sort/testcases

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

All 3 tests passed.

test_asc

test_asc
TestExpectedActual
checkY {{#invoke:Infobox sort | asc | 8% Foo | 3% Bar | 4% Carrot}} 3% Bar
4% Carrot
8% Foo
3% Bar
4% Carrot
8% Foo

test_desc

test_desc
TestExpectedActual
checkY {{#invoke:Infobox sort | desc | 2% Foo | 3% Bar | 8% Carrot}} 8% Carrot
3% Bar
2% Foo
8% Carrot
3% Bar
2% Foo

test_desc_missing_param

test_desc_missing_param
TestExpectedActual
checkY {{#invoke:Infobox sort | desc | {{#if: | 2% Foo}} | 3% Bar | 8% Carrot}} 8% Carrot
3% Bar
8% Carrot
3% Bar