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

Jump to content

Module talk:Icon/testcases

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

Main

[edit]

checkY All tests passed.

Name Expected Actual
checkY test _main: when no icon code is specified, a file link is output
checkY test _main: when an existing icon code is specified, a file link is output
checkY test _main: when an nonexistent icon code is specified, a file link is output
checkY test _main: when an existing code is specified, the relevant image is displayed
checkY test _main: when an existing code is specified, the relevant tooltip is displayed
checkY test _main: when no dimensions are specified, the image is output as 16x16 pixels
checkY test _main: when custom dimensions are specified, the image is output with those dimensions
checkY test _main: codes can have surrounding whitespace
checkY test _main: codes can be upper case
checkY test _main: codes can be specified with the 'class' parameter
checkY test _main: the class parameter has precedence over the first positional parameter
checkY test _main: the class parameter has precedence over the first positional parameter, even if the class parameter is the empty string
checkY test _main: links are suppressed when the entry in the data table has 'link' set to false
checkY test _main: links are not suppressed when the entry in the data table has 'link' set to true
checkY test _main: links are not suppressed when the entry in the data table has no value for 'link'
checkY test Module:Icon/data: codes can be specified as aliases

Sandbox

[edit]

checkY All tests passed.

Name Expected Actual
checkY test _main: when no icon code is specified, a file link is output
checkY test _main: when an existing icon code is specified, a file link is output
checkY test _main: when an nonexistent icon code is specified, a file link is output
checkY test _main: when an existing code is specified, the relevant image is displayed
checkY test _main: when an existing code is specified, the relevant tooltip is displayed
checkY test _main: when no dimensions are specified, the image is output as 16x16 pixels
checkY test _main: when custom dimensions are specified, the image is output with those dimensions
checkY test _main: codes can have surrounding whitespace
checkY test _main: codes can be upper case
checkY test _main: codes can be specified with the 'class' parameter
checkY test _main: the class parameter has precedence over the first positional parameter
checkY test _main: the class parameter has precedence over the first positional parameter, even if the class parameter is the empty string
checkY test _main: links are suppressed when the entry in the data table has 'link' set to false
checkY test _main: links are not suppressed when the entry in the data table has 'link' set to true
checkY test _main: links are not suppressed when the entry in the data table has no value for 'link'
checkY test Module:Icon/data: codes can be specified as aliases