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

Jump to content

Module talk:Object weight/testcases

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

19 of 21 tests failed. (refresh)

test_weight

test_weight
TestExpectedActual
X markN {{#invoke:object weight/sandbox|weight|123 grams}} 123 g (4 oz) 123 g (4 oz)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 gram}} 123 g (4 oz) 123 g (4 oz)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 gs}} 123 g (4 oz) 123 g (4 oz)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 g.}} 123 g (4 oz) 123 g (4 oz)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 g,}} 123 g (4 oz) 123 g (4 oz)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 ounces}} 123 oz (3,487 g) 123 oz (3,487 g)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 ounce}} 123 oz (3,487 g) 123 oz (3,487 g)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 oz,}} 123 oz (3,487 g) 123 oz (3,487 g)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 oz.}} 123 oz (3,487 g) 123 oz (3,487 g)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 grams (body only)}} 123 g (4 oz) (body only) 123 g (4 oz) (body only)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 gram (body only)}} 123 g (4 oz) (body only) 123 g (4 oz) (body only)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 gs (body only)}} 123 g (4 oz) (body only) 123 g (4 oz) (body only)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 g. (body only)}} 123 g (4 oz) (body only) 123 g (4 oz) (body only)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 g, (body only)}} 123 g (4 oz) (body only) 123 g (4 oz) (body only)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 ounces (body only)}} 123 oz (3,487 g) (body only) 123 oz (3,487 g) (body only)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 ounce (body only)}} 123 oz (3,487 g) (body only) 123 oz (3,487 g) (body only)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 oz, (body only)}} 123 oz (3,487 g) (body only) 123 oz (3,487 g) (body only)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 oz. (body only)}} 123 oz (3,487 g) (body only) 123 oz (3,487 g) (body only)[[Category:Pages where weight is being automatically converted]]
X markN {{#invoke:object weight/sandbox|weight|123 ounce <ref>{{cite web|url=www.google.com}}</ref>}} 123&nbsp;oz (3,487&nbsp;g) '"`UNIQ--ref-00000010-QINU`"' 123&nbsp;oz (3,487&nbsp;g) '"`UNIQ--ref-0000000F-QINU`"'[[Category:Pages where weight is being automatically converted]]

test_weight_should_not_convert

test_weight_should_not_convert
TestExpectedActual
checkY {{#invoke:object weight/sandbox|weight|123 LBS}} 123 LBS 123 LBS
checkY {{#invoke:object weight/sandbox|weight|123 Pounds}} 123 Pounds 123 Pounds

References