Jump to content

Module talk:URL/testcases

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

1 of 63 tests failed.

test_url
Text Expected Actual
checkY {{#invoke:URL/sandbox|url}} {{URL|example.com|optional display text}} {{URL|example.com|optional display text}}
checkY {{#invoke:URL/sandbox|url|}} {{URL|example.com|optional display text}} {{URL|example.com|optional display text}}
checkY {{#invoke:URL/sandbox|url||}} {{URL|example.com|optional display text}} {{URL|example.com|optional display text}}
checkY {{#invoke:URL/sandbox|url|http://www.example.com/foo/bar?a=b&c=d}} <span class="url">[http://www.example.com/foo/bar?a=b&c=d www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar?a=b&c=d]</span> <span class="url">[http://www.example.com/foo/bar?a=b&c=d www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar?a=b&c=d]</span>
checkY {{#invoke:URL/sandbox|url|EXAMPLE.com}} <span class="url">[http://EXAMPLE.com example<wbr/>.com]</span> <span class="url">[http://EXAMPLE.com example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|example.com}} <span class="url">[http://example.com example<wbr/>.com]</span> <span class="url">[http://example.com example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com}} <span class="url">[http://www.example.com www<wbr/>.example<wbr/>.com]</span> <span class="url">[http://www.example.com www<wbr/>.example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com}} <span class="url">[http://www.example.com www<wbr/>.example<wbr/>.com]</span> <span class="url">[http://www.example.com www<wbr/>.example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|https://www.example.com}} <span class="url">[https://www.example.com www<wbr/>.example<wbr/>.com]</span> <span class="url">[https://www.example.com www<wbr/>.example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|ftp://www.example.com}} <span class="url">[ftp://www.example.com www<wbr/>.example<wbr/>.com]</span> <span class="url">[ftp://www.example.com www<wbr/>.example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|//www.example.com}} <span class="url">[//www.example.com www<wbr/>.example<wbr/>.com]</span> <span class="url">[//www.example.com www<wbr/>.example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|ftp://ftp.example.com}} <span class="url">[ftp://ftp.example.com ftp<wbr/>.example<wbr/>.com]</span> <span class="url">[ftp://ftp.example.com ftp<wbr/>.example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com/}} <span class="url">[http://www.example.com/ www<wbr/>.example<wbr/>.com]</span> <span class="url">[http://www.example.com/ www<wbr/>.example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com/path}} <span class="url">[http://www.example.com/path www<wbr/>.example<wbr/>.com<wbr/>/path]</span> <span class="url">[http://www.example.com/path www<wbr/>.example<wbr/>.com<wbr/>/path]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com/foo}} <span class="url">[http://www.example.com/foo www<wbr/>.example<wbr/>.com<wbr/>/foo]</span> <span class="url">[http://www.example.com/foo www<wbr/>.example<wbr/>.com<wbr/>/foo]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com/foo | link}} <span class="url">[http://www.example.com/foo link]</span> <span class="url">[http://www.example.com/foo link]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com/foo | link}} <span class="url">[http://www.example.com/foo link]</span> <span class="url">[http://www.example.com/foo link]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com/path/}} <span class="url">[http://www.example.com/path/ www<wbr/>.example<wbr/>.com<wbr/>/path<wbr/>/]</span> <span class="url">[http://www.example.com/path/ www<wbr/>.example<wbr/>.com<wbr/>/path<wbr/>/]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com/foo/}} <span class="url">[http://www.example.com/foo/ www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/]</span> <span class="url">[http://www.example.com/foo/ www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/]</span>
checkY {{#invoke:URL/sandbox|url|1=http://www.example.com/path?section=17}} <span class="url">[http://www.example.com/path?section=17 www<wbr/>.example<wbr/>.com<wbr/>/path?section=17]</span> <span class="url">[http://www.example.com/path?section=17 www<wbr/>.example<wbr/>.com<wbr/>/path?section=17]</span>
checkY {{#invoke:URL/sandbox|url|1=www.example.com/foo?page=42 }} <span class="url">[http://www.example.com/foo?page=42 www<wbr/>.example<wbr/>.com<wbr/>/foo?page=42]</span> <span class="url">[http://www.example.com/foo?page=42 www<wbr/>.example<wbr/>.com<wbr/>/foo?page=42]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com/foo/ | link}} <span class="url">[http://www.example.com/foo/ link]</span> <span class="url">[http://www.example.com/foo/ link]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com/foo/ | link}} <span class="url">[http://www.example.com/foo/ link]</span> <span class="url">[http://www.example.com/foo/ link]</span>
checkY {{#invoke:URL/sandbox|url|http://}} <span class="url">[http:// ]</span> <span class="url">[http:// ]</span>
checkY {{#invoke:URL/sandbox|url|WWW.EXAMPLE.COM}} <span class="url">[http://WWW.EXAMPLE.COM www<wbr/>.example<wbr/>.com]</span> <span class="url">[http://WWW.EXAMPLE.COM www<wbr/>.example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|https://www.EXAMPLE.cOm}} <span class="url">[https://www.EXAMPLE.cOm www<wbr/>.example<wbr/>.com]</span> <span class="url">[https://www.EXAMPLE.cOm www<wbr/>.example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|HTTPS://www.EXAMPLE.cOm/}} <span class="url">[HTTPS://www.EXAMPLE.cOm/ www<wbr/>.example<wbr/>.com]</span> <span class="url">[HTTPS://www.EXAMPLE.cOm/ www<wbr/>.example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|https://www.example.com/}} <span class="url">[https://www.example.com/ www<wbr/>.example<wbr/>.com]</span> <span class="url">[https://www.example.com/ www<wbr/>.example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|http://example.com}} <span class="url">[http://example.com example<wbr/>.com]</span> <span class="url">[http://example.com example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|https://example.com}} <span class="url">[https://example.com example<wbr/>.com]</span> <span class="url">[https://example.com example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|ftp://example.com}} <span class="url">[ftp://example.com example<wbr/>.com]</span> <span class="url">[ftp://example.com example<wbr/>.com]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com/foo/bar}} <span class="url">[http://www.example.com/foo/bar www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span> <span class="url">[http://www.example.com/foo/bar www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com/foo/bar/}} <span class="url">[http://www.example.com/foo/bar/ www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar<wbr/>/]</span> <span class="url">[http://www.example.com/foo/bar/ www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar<wbr/>/]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com/foO/BaR}} <span class="url">[http://www.example.com/foO/BaR www<wbr/>.example<wbr/>.com<wbr/>/foO<wbr/>/BaR]</span> <span class="url">[http://www.example.com/foO/BaR www<wbr/>.example<wbr/>.com<wbr/>/foO<wbr/>/BaR]</span>
checkY {{#invoke:URL/sandbox|url|https://www.example.com/foo/bar}} <span class="url">[https://www.example.com/foo/bar www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span> <span class="url">[https://www.example.com/foo/bar www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span>
checkY {{#invoke:URL/sandbox|url|http://example.com/foo/bar}} <span class="url">[http://example.com/foo/bar example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span> <span class="url">[http://example.com/foo/bar example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span>
checkY {{#invoke:URL/sandbox|url|https://example.com/foo/bar}} <span class="url">[https://example.com/foo/bar example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span> <span class="url">[https://example.com/foo/bar example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span>
checkY {{#invoke:URL/sandbox|url|example.com/foo/bar}} <span class="url">[http://example.com/foo/bar example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span> <span class="url">[http://example.com/foo/bar example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com/foo/bar}} <span class="url">[http://www.example.com/foo/bar www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span> <span class="url">[http://www.example.com/foo/bar www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span>
checkY {{#invoke:URL/sandbox|url|http://example.com/foo/bar | }} <span class="url">[http://example.com/foo/bar example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span> <span class="url">[http://example.com/foo/bar example<wbr/>.com<wbr/>/foo<wbr/>/bar]</span>
checkY {{#invoke:URL/sandbox|url|1=http://www.example.com?foo=BaR}} <span class="url">[http://www.example.com?foo=BaR www<wbr/>.example<wbr/>.com?foo=BaR]</span> <span class="url">[http://www.example.com?foo=BaR www<wbr/>.example<wbr/>.com?foo=BaR]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com#fooBaR}} <span class="url">[http://www.example.com#fooBaR www<wbr/>.example<wbr/>.com<wbr/>#fooBaR]</span> <span class="url">[http://www.example.com#fooBaR www<wbr/>.example<wbr/>.com<wbr/>#fooBaR]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com:8080}} <span class="url">[http://www.example.com:8080 www<wbr/>.example<wbr/>.com:8080]</span> <span class="url">[http://www.example.com:8080 www<wbr/>.example<wbr/>.com:8080]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com:8080/foo/bar}} <span class="url">[http://www.example.com:8080/foo/bar www<wbr/>.example<wbr/>.com:8080<wbr/>/foo<wbr/>/bar]</span> <span class="url">[http://www.example.com:8080/foo/bar www<wbr/>.example<wbr/>.com:8080<wbr/>/foo<wbr/>/bar]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com:8080}} <span class="url">[http://www.example.com:8080 www<wbr/>.example<wbr/>.com:8080]</span> <span class="url">[http://www.example.com:8080 www<wbr/>.example<wbr/>.com:8080]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com:8080/foo/bar}} <span class="url">[http://www.example.com:8080/foo/bar www<wbr/>.example<wbr/>.com:8080<wbr/>/foo<wbr/>/bar]</span> <span class="url">[http://www.example.com:8080/foo/bar www<wbr/>.example<wbr/>.com:8080<wbr/>/foo<wbr/>/bar]</span>
checkY {{#invoke:URL/sandbox|url|http://www.example.com/foo bar}} <span class="url">[http://www.example.com/foo%20bar www<wbr/>.example<wbr/>.com<wbr/>/foo%20bar]</span> <span class="url">[http://www.example.com/foo%20bar www<wbr/>.example<wbr/>.com<wbr/>/foo%20bar]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com/foo bar}} <span class="url">[http://www.example.com/foo%20bar www<wbr/>.example<wbr/>.com<wbr/>/foo%20bar]</span> <span class="url">[http://www.example.com/foo%20bar www<wbr/>.example<wbr/>.com<wbr/>/foo%20bar]</span>
checkY {{#invoke:URL/sandbox|url|http://example.com/foo/bar | link}} <span class="url">[http://example.com/foo/bar link]</span> <span class="url">[http://example.com/foo/bar link]</span>
checkY {{#invoke:URL/sandbox|url|https://example.com/foo/bar | link}} <span class="url">[https://example.com/foo/bar link]</span> <span class="url">[https://example.com/foo/bar link]</span>
checkY {{#invoke:URL/sandbox|url|example.com/foo/bar | link}} <span class="url">[http://example.com/foo/bar link]</span> <span class="url">[http://example.com/foo/bar link]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com/foo/bar | link}} <span class="url">[http://www.example.com/foo/bar link]</span> <span class="url">[http://www.example.com/foo/bar link]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com/foo/bar | 捦挺挎}} <span class="url">[http://www.example.com/foo/bar 捦挺挎]</span> <span class="url">[http://www.example.com/foo/bar 捦挺挎]</span>
checkY {{#invoke:URL/sandbox|url|www.example.com/foo/捦挺挎/bar | link}} <span class="url">[http://www.example.com/foo/捦挺挎/bar link]</span> <span class="url">[http://www.example.com/foo/捦挺挎/bar link]</span>
checkY {{#invoke:URL/sandbox|url|عمان.icom.museum}} <span class="url">[http://عمان.icom.museum عمان<wbr/>.icom<wbr/>.museum]</span> <span class="url">[http://عمان.icom.museum عمان<wbr/>.icom<wbr/>.museum]</span>
checkY {{#invoke:URL/sandbox|url|http://عمان.icom.museum}} <span class="url">[http://عمان.icom.museum عمان<wbr/>.icom<wbr/>.museum]</span> <span class="url">[http://عمان.icom.museum عمان<wbr/>.icom<wbr/>.museum]</span>
checkY {{#invoke:URL/sandbox|url|1964thetribute.com}} <span class="url">[http://1964thetribute.com 1964thetribute<wbr/>.com]</span> <span class="url">[http://1964thetribute.com 1964thetribute<wbr/>.com]</span>
☒N {{#invoke:URL/sandbox|url|1964thetribute.com | 1964thetribute.com}} <span class="url">[http://1964thetribute.com 1964thetribute<wbr/>.com]</span> <span class="url">[http://1964thetribute.com 1964thetribute.com]</span>
checkY {{#invoke:URL/sandbox|url|1= http://www.example.com/foo/bar?a=b&c=d}} <span class="url">[http://www.example.com/foo/bar?a=b&c=d www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar?a=b&c=d]</span> <span class="url">[http://www.example.com/foo/bar?a=b&c=d www<wbr/>.example<wbr/>.com<wbr/>/foo<wbr/>/bar?a=b&c=d]</span>
checkY {{#invoke:URL/sandbox|url|1=www.hti.umich.edu/cgi/t/text/pageviewer-idx?c=umhistmath;cc=umhistmath;rgn=full%20text;idno=ABS3153.0001.001;didno=ABS3153.0001.001;view=image;seq=00000140}} <span class="url">[http://www.hti.umich.edu/cgi/t/text/pageviewer-idx?c=umhistmath;cc=umhistmath;rgn=full%20text;idno=ABS3153.0001.001;didno=ABS3153.0001.001;view=image;seq=00000140 www<wbr/>.hti<wbr/>.umich<wbr/>.edu<wbr/>/cgi<wbr/>/t<wbr/>/text<wbr/>/pageviewer-idx?c=umhistmath%3Bcc%3Dumhistmath%3Brgn%3Dfull+text%3Bidno%3DABS3153<wbr/>.0001<wbr/>.001%3Bdidno%3DABS3153<wbr/>.0001<wbr/>.001%3Bview%3Dimage%3Bseq%3D00000140]</span> <span class="url">[http://www.hti.umich.edu/cgi/t/text/pageviewer-idx?c=umhistmath;cc=umhistmath;rgn=full%20text;idno=ABS3153.0001.001;didno=ABS3153.0001.001;view=image;seq=00000140 www<wbr/>.hti<wbr/>.umich<wbr/>.edu<wbr/>/cgi<wbr/>/t<wbr/>/text<wbr/>/pageviewer-idx?c=umhistmath%3Bcc%3Dumhistmath%3Brgn%3Dfull+text%3Bidno%3DABS3153<wbr/>.0001<wbr/>.001%3Bdidno%3DABS3153<wbr/>.0001<wbr/>.001%3Bview%3Dimage%3Bseq%3D00000140]</span>
checkY {{#invoke:URL/sandbox|url|http://www.sho.com/site/dexter/home.sho | ''Dexter''{{'}}s official website}} <span class="url">[http://www.sho.com/site/dexter/home.sho ''Dexter''<span class="nowrap" style="padding-left:0.1em;">&#39;</span>s official website]</span> <span class="url">[http://www.sho.com/site/dexter/home.sho ''Dexter''<span class="nowrap" style="padding-left:0.1em;">&#39;</span>s official website]</span>
checkY {{#invoke:URL/sandbox|url|2= example.com}} example.com example.com
checkY {{#invoke:URL/sandbox|url|2= http://example.com/foo}} http://example.com/foo http://example.com/foo

Start a discussion about improving the Module:URL/testcases page

Start a discussion