Module talk:Official website/testcases

16 of 78 tests failed.

test_module
Text Expected Actual
checkY {{#invoke:Official website|main | example.com }} Official website Official website
checkY {{#invoke:Official website|main | //example.com }} Official website Official website
checkY {{#invoke:Official website|main | }} No URL found. Please specify a URL here or add one to Wikidata. No URL found. Please specify a URL here or add one to Wikidata.
checkY {{#invoke:Official website|main | www.example.com/path?section=96 }} No URL found. Please specify a URL here or add one to Wikidata. No URL found. Please specify a URL here or add one to Wikidata.
checkY {{#invoke:Official website|main | 1= www.example.com/path?section=96 }} Official website Official website
checkY {{#invoke:Official website|main | url= example.com }} Official website Official website
checkY {{#invoke:Official website|main | URL= example.com }} Official website Official website
checkY {{#invoke:Official website|main | http:/example.com }} Official website Official website
checkY {{#invoke:Official website|main | http://example.com }} Official website Official website
checkY {{#invoke:Official website|main | http://example.com/ }} Official website Official website
checkY {{#invoke:Official website|main | http://www.example.com:80 }} Official website Official website
checkY {{#invoke:Official website|main | https://example.com }} Official website Official website
checkY {{#invoke:Official website|main | ftp://example.com }} Official website Official website
checkY {{#invoke:Official website|main | http://example.com | Example }} Example Example
checkY {{#invoke:Official website|main | url= http://example.com |name= Example }} Example Example
☒N {{#invoke:Official website|main | http://example.com |format= flash }} Official website (Requires Adobe Flash Player) Official website
☒N {{#invoke:Official website|main | http://example.com |mobile= http://m.example.com }} Official website (Mobile) Official website
☒N {{#invoke:Official website|main | https://example.com |format= flash |mobile= https://m.example.com }} Official website (Requires Adobe Flash Player) (Mobile) Official website
test_module_nowiki
Text Expected Actual
checkY {{#invoke:Official website|main | example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
checkY {{#invoke:Official website|main | //example.com }} <span class="official-website"><span class="url">[//example.com Official website]</span></span> <span class="official-website"><span class="url">[//example.com Official website]</span></span>
checkY {{#invoke:Official website|main | }} <strong class="error">No URL found. Please specify a URL here or add one to Wikidata.</strong> <strong class="error">No URL found. Please specify a URL here or add one to Wikidata.</strong>
checkY {{#invoke:Official website|main | www.example.com/path?section=96 }} <strong class="error">No URL found. Please specify a URL here or add one to Wikidata.</strong> <strong class="error">No URL found. Please specify a URL here or add one to Wikidata.</strong>
checkY {{#invoke:Official website|main | 1= www.example.com/path?section=96 }} <span class="official-website"><span class="url">[http://www.example.com/path?section=96 Official website]</span></span> <span class="official-website"><span class="url">[http://www.example.com/path?section=96 Official website]</span></span>
checkY {{#invoke:Official website|main | url= example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
checkY {{#invoke:Official website|main | URL= example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
checkY {{#invoke:Official website|main | http:/example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
checkY {{#invoke:Official website|main | http://example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
checkY {{#invoke:Official website|main | http://example.com/ }} <span class="official-website"><span class="url">[http://example.com/ Official website]</span></span> <span class="official-website"><span class="url">[http://example.com/ Official website]</span></span>
checkY {{#invoke:Official website|main | http://www.example.com:80 }} <span class="official-website"><span class="url">[http://www.example.com:80 Official website]</span></span> <span class="official-website"><span class="url">[http://www.example.com:80 Official website]</span></span>
checkY {{#invoke:Official website|main | https://example.com }} <span class="official-website"><span class="url">[https://example.com Official website]</span></span> <span class="official-website"><span class="url">[https://example.com Official website]</span></span>
checkY {{#invoke:Official website|main | ftp://example.com }} <span class="official-website"><span class="url">[ftp://example.com Official website]</span></span> <span class="official-website"><span class="url">[ftp://example.com Official website]</span></span>
checkY {{#invoke:Official website|main | http://example.com | Example }} <span class="official-website"><span class="url">[http://example.com Example]</span></span> <span class="official-website"><span class="url">[http://example.com Example]</span></span>
checkY {{#invoke:Official website|main | url= http://example.com |name= Example }} <span class="official-website"><span class="url">[http://example.com Example]</span></span> <span class="official-website"><span class="url">[http://example.com Example]</span></span>
☒N {{#invoke:Official website|main | http://example.com |format= flash }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span style="color:#505050">(Requires [[Adobe Flash Player]])</span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
☒N {{#invoke:Official website|main | http://example.com |mobile= http://m.example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> (<span class="url">[http://m.example.com Mobile]</span>) <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
☒N {{#invoke:Official website|main | https://example.com |format= flash |mobile= https://m.example.com }} <span class="official-website"><span class="url">[https://example.com Official website]</span></span> <span style="color:#505050">(Requires [[Adobe Flash Player]])</span> (<span class="url">[https://m.example.com Mobile]</span>) <span class="official-website"><span class="url">[https://example.com Official website]</span></span>
test_sandbox
Text Expected Actual
checkY {{#invoke:Official website/sandbox|main | example.com }} Official website Official website
checkY {{#invoke:Official website/sandbox|main | //example.com }} Official website Official website
checkY {{#invoke:Official website/sandbox|main | }} No URL found. Please specify a URL here or add one to Wikidata. No URL found. Please specify a URL here or add one to Wikidata.
checkY {{#invoke:Official website/sandbox|main | www.example.com/path?section=96 }} No URL found. Please specify a URL here or add one to Wikidata. No URL found. Please specify a URL here or add one to Wikidata.
checkY {{#invoke:Official website/sandbox|main | 1= www.example.com/path?section=96 }} Official website Official website
checkY {{#invoke:Official website/sandbox|main | url= example.com }} Official website Official website
checkY {{#invoke:Official website/sandbox|main | URL= example.com }} Official website Official website
checkY {{#invoke:Official website/sandbox|main | http:/example.com }} Official website Official website
checkY {{#invoke:Official website/sandbox|main | http://example.com }} Official website Official website
checkY {{#invoke:Official website/sandbox|main | http://example.com/ }} Official website Official website
checkY {{#invoke:Official website/sandbox|main | http://www.example.com:80 }} Official website Official website
checkY {{#invoke:Official website/sandbox|main | https://example.com }} Official website Official website
checkY {{#invoke:Official website/sandbox|main | ftp://example.com }} Official website Official website
checkY {{#invoke:Official website/sandbox|main | http://example.com | Example }} Example Example
checkY {{#invoke:Official website/sandbox|main | url= http://example.com |name= Example }} Example Example
☒N {{#invoke:Official website/sandbox|main | http://example.com |format= flash }} Official website (Requires Adobe Flash Player) Official website (Requires Adobe Flash Player)
checkY {{#invoke:Official website/sandbox|main | http://example.com |mobile= http://m.example.com }} Official website (Mobile) Official website (Mobile)
☒N {{#invoke:Official website/sandbox|main | https://example.com |format= flash |mobile= https://m.example.com }} Official website (Requires Adobe Flash Player) (Mobile) Official website (Requires Adobe Flash Player) (Mobile)
☒N {{#invoke:Official website/sandbox|main | http://example.jp | lang= jp }} Official website (in Japanese) Official website
☒N {{#invoke:Official website/sandbox|main | http://example.com | lang= en }} Official website (in English) Official website
☒N {{#invoke:Official website/sandbox|main | https://example.com |format= flash |mobile= https://m.example.com | lang= es }} Official website (Requires Adobe Flash Player) (Mobile) (in Spanish) Official website (Requires Adobe Flash Player) (Mobile)
test_sandbox_nowiki
Text Expected Actual
checkY {{#invoke:Official website/sandbox|main | example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
checkY {{#invoke:Official website/sandbox|main | //example.com }} <span class="official-website"><span class="url">[//example.com Official website]</span></span> <span class="official-website"><span class="url">[//example.com Official website]</span></span>
checkY {{#invoke:Official website/sandbox|main | }} <strong class="error">No URL found. Please specify a URL here or add one to Wikidata.</strong> <strong class="error">No URL found. Please specify a URL here or add one to Wikidata.</strong>
checkY {{#invoke:Official website/sandbox|main | www.example.com/path?section=96 }} <strong class="error">No URL found. Please specify a URL here or add one to Wikidata.</strong> <strong class="error">No URL found. Please specify a URL here or add one to Wikidata.</strong>
checkY {{#invoke:Official website/sandbox|main | 1= www.example.com/path?section=96 }} <span class="official-website"><span class="url">[http://www.example.com/path?section=96 Official website]</span></span> <span class="official-website"><span class="url">[http://www.example.com/path?section=96 Official website]</span></span>
checkY {{#invoke:Official website/sandbox|main | url= example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
checkY {{#invoke:Official website/sandbox|main | URL= example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
checkY {{#invoke:Official website/sandbox|main | http:/example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
checkY {{#invoke:Official website/sandbox|main | http://example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
checkY {{#invoke:Official website/sandbox|main | http://example.com/ }} <span class="official-website"><span class="url">[http://example.com/ Official website]</span></span> <span class="official-website"><span class="url">[http://example.com/ Official website]</span></span>
checkY {{#invoke:Official website/sandbox|main | http://www.example.com:80 }} <span class="official-website"><span class="url">[http://www.example.com:80 Official website]</span></span> <span class="official-website"><span class="url">[http://www.example.com:80 Official website]</span></span>
checkY {{#invoke:Official website/sandbox|main | https://example.com }} <span class="official-website"><span class="url">[https://example.com Official website]</span></span> <span class="official-website"><span class="url">[https://example.com Official website]</span></span>
checkY {{#invoke:Official website/sandbox|main | ftp://example.com }} <span class="official-website"><span class="url">[ftp://example.com Official website]</span></span> <span class="official-website"><span class="url">[ftp://example.com Official website]</span></span>
checkY {{#invoke:Official website/sandbox|main | http://example.com | Example }} <span class="official-website"><span class="url">[http://example.com Example]</span></span> <span class="official-website"><span class="url">[http://example.com Example]</span></span>
checkY {{#invoke:Official website/sandbox|main | url= http://example.com |name= Example }} <span class="official-website"><span class="url">[http://example.com Example]</span></span> <span class="official-website"><span class="url">[http://example.com Example]</span></span>
☒N {{#invoke:Official website/sandbox|main | http://example.com |format= flash }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span style="color:#505050">(Requires [[Adobe Flash Player]])</span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span> '"`UNIQ--templatestyles-00000000-QINU`"'<span class="tmp-color" style="color:#505050">(Requires [[Adobe Flash Player]])</span>
checkY {{#invoke:Official website/sandbox|main | http://example.com |mobile= http://m.example.com }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> (<span class="url">[http://m.example.com Mobile]</span>) <span class="official-website"><span class="url">[http://example.com Official website]</span></span> (<span class="url">[http://m.example.com Mobile]</span>)
☒N {{#invoke:Official website/sandbox|main | https://example.com |format= flash |mobile= https://m.example.com }} <span class="official-website"><span class="url">[https://example.com Official website]</span></span> <span style="color:#505050">(Requires [[Adobe Flash Player]])</span> (<span class="url">[https://m.example.com Mobile]</span>) <span class="official-website"><span class="url">[https://example.com Official website]</span></span> '"`UNIQ--templatestyles-00000002-QINU`"'<span class="tmp-color" style="color:#505050">(Requires [[Adobe Flash Player]])</span> (<span class="url">[https://m.example.com Mobile]</span>)
☒N {{#invoke:Official website/sandbox|main | http://example.jp | lang= jp }} <span class="official-website"><span class="url">[http://example.jp Official website]</span></span> <span class="languageicon">(in Japanese)</span> <span class="official-website"><span class="url">[http://example.jp Official website]</span></span>
☒N {{#invoke:Official website/sandbox|main | http://example.com | lang= en }} <span class="official-website"><span class="url">[http://example.com Official website]</span></span> <span class="languageicon">(in English)</span> <span class="official-website"><span class="url">[http://example.com Official website]</span></span>
☒N {{#invoke:Official website/sandbox|main | https://example.com |format= flash |mobile= https://m.example.com | lang= es }} <span class="official-website"><span class="url">[https://example.com Official website]</span></span> <span style="color:#505050">(Requires [[Adobe Flash Player]])</span> (<span class="url">[https://m.example.com Mobile]</span>) <span class="languageicon">(in Spanish)</span> <span class="official-website"><span class="url">[https://example.com Official website]</span></span> '"`UNIQ--templatestyles-00000003-QINU`"'<span class="tmp-color" style="color:#505050">(Requires [[Adobe Flash Player]])</span> (<span class="url">[https://m.example.com Mobile]</span>)

Start a discussion about improving the Module:Official website/testcases page

Start a discussion