Jump to content

Module talk:Urltowiki/testcases

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

All 141 tests passed.

test_actions
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia%3AArticles_for_deletion&action=history}} Wikipedia:Articles for deletion Wikipedia:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia:Articles_for_deletion&offset=20121106111840&action=history}} Wikipedia:Articles for deletion Wikipedia:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia:Articles_for_deletion&action=edit}} Wikipedia:Articles for deletion Wikipedia:Articles for deletion
test_colon_trick
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Category:Wikipedians}} Category:Wikipedians Category:Wikipedians
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/File:Example.png}} File:Example.png File:Example.png
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Image:Example.png}} Image:Example.png Image:Example.png
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://es.wikipedia.org/wiki/Milord_%28tratamiento%29}} es:Milord (tratamiento) es:Milord (tratamiento)
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://es.wikipedia.org/wiki/Wikipedia:Cartelera_de_acontecimientos}} es:Wikipedia:Cartelera de acontecimientos es:Wikipedia:Cartelera de acontecimientos
test_display
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Banana|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/English_language|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Module:UnitTests|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Banana|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=English_language|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Module:UnitTests|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Banana|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|English_language|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Module:UnitTests|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Wikipedia_talk:Articles_for_deletion|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Banana#Etymology|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/English_language#Classification_and_related_languages|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Module:UnitTests#preprocess_equals_many|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion#Foo_bar|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion/Archive_1#Proposed_reorganization|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Banana#Etymology|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=English_language#Classification_and_related_languages|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Module:UnitTests#preprocess_equals_many|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion#Foo_bar|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion/Archive_1#Proposed_reorganization|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Banana#Etymology|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|English_language#Classification_and_related_languages|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Module:UnitTests#preprocess_equals_many|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Wikipedia_talk:Articles_for_deletion#Foo_bar|display=Foo}} Foo Foo
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Wikipedia_talk:Articles_for_deletion/Archive_1#Proposed_reorganization|display=Foo}} Foo Foo
test_display_no_colon_trick
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Category:Wikipedians|colontrick=no|display=Foo}} [[Category:Wikipedians|Foo]] [[Category:Wikipedians|Foo]]
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/File:Example.png|colontrick=no|display=Foo}} [[File:Example.png|Foo]] [[File:Example.png|Foo]]
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Image:Example.png|colontrick=no|display=Foo}} [[Image:Example.png|Foo]] [[Image:Example.png|Foo]]
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion|colontrick=no|display=Foo}} [[Wikipedia talk:Articles for deletion|Foo]] [[Wikipedia talk:Articles for deletion|Foo]]
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://es.wikipedia.org/wiki/Milord_%28tratamiento%29|colontrick=no|display=Foo}} [[es:Milord (tratamiento)|Foo]] [[es:Milord (tratamiento)|Foo]]
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://es.wikipedia.org/wiki/Wikipedia:Cartelera_de_acontecimientos|colontrick=no|display=Foo}} [[es:Wikipedia:Cartelera de acontecimientos|Foo]] [[es:Wikipedia:Cartelera de acontecimientos|Foo]]
test_fragments
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Banana#Etymology}} Banana#Etymology Banana#Etymology
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/English_language#Classification_and_related_languages}} English language#Classification and related languages English language#Classification and related languages
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Module:UnitTests#preprocess_equals_many}} Module:UnitTests#preprocess equals many Module:UnitTests#preprocess equals many
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion#Foo_bar}} Wikipedia talk:Articles for deletion#Foo bar Wikipedia talk:Articles for deletion#Foo bar
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion/Archive_1#Proposed_reorganization}} Wikipedia talk:Articles for deletion/Archive 1#Proposed reorganization Wikipedia talk:Articles for deletion/Archive 1#Proposed reorganization
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Banana#Etymology}} Banana#Etymology Banana#Etymology
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=English_language#Classification_and_related_languages}} English language#Classification and related languages English language#Classification and related languages
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Module:UnitTests#preprocess_equals_many}} Module:UnitTests#preprocess equals many Module:UnitTests#preprocess equals many
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion#Foo_bar}} Wikipedia talk:Articles for deletion#Foo bar Wikipedia talk:Articles for deletion#Foo bar
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion/Archive_1#Proposed_reorganization}} Wikipedia talk:Articles for deletion/Archive 1#Proposed reorganization Wikipedia talk:Articles for deletion/Archive 1#Proposed reorganization
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Banana#Etymology}} Banana#Etymology Banana#Etymology
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|English_language#Classification_and_related_languages}} English language#Classification and related languages English language#Classification and related languages
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Module:UnitTests#preprocess_equals_many}} Module:UnitTests#preprocess equals many Module:UnitTests#preprocess equals many
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Wikipedia_talk:Articles_for_deletion#Foo_bar}} Wikipedia talk:Articles for deletion#Foo bar Wikipedia talk:Articles for deletion#Foo bar
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Wikipedia_talk:Articles_for_deletion/Archive_1#Proposed_reorganization}} Wikipedia talk:Articles for deletion/Archive 1#Proposed reorganization Wikipedia talk:Articles for deletion/Archive 1#Proposed reorganization
test_funky_characters
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28policy%29/Archive_102#Using_.7B.7BComment.7D.7D_on_articles}} Wikipedia:Village pump (policy)/Archive 102#Using {{Comment}} on articles Wikipedia:Village pump (policy)/Archive 102#Using {{Comment}} on articles
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://es.wikivoyage.org/wiki/Bogot%C3%A1#En_avi.C3.B3n}} voy:es:Bogotá#En avión voy:es:Bogotá#En avión
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://ja.wikipedia.org/wiki/%E6%BC%A2%E5%AD%97}} ja:漢字 ja:漢字
test_identical_page_and_display
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Banana|Banana}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Banana|banana}} banana banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Category:Foo|Category:Foo}} Category:Foo Category:Foo
test_index_php
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Banana}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=English_language}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Module:UnitTests}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
test_interwikis
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual}} mw:Extension:Scribunto/Lua reference manual mw:Extension:Scribunto/Lua reference manual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Lua_language}} mw:Extension:Scribunto/Lua reference manual#Lua language mw:Extension:Scribunto/Lua reference manual#Lua language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://www.mediawiki.org/w/index.php?title=Extension:Scribunto/Lua_reference_manual#Lua_language}} mw:Extension:Scribunto/Lua reference manual#Lua language mw:Extension:Scribunto/Lua reference manual#Lua language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://meta.wikimedia.org/wiki/Translation_requests/WMF}} m:Translation requests/WMF m:Translation requests/WMF
test_no_colon_trick
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Category:Wikipedians|colontrick=no}} [[Category:Wikipedians]] [[Category:Wikipedians]]
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/File:Example.png|colontrick=no}} [[File:Example.png]] [[File:Example.png]]
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Image:Example.png|colontrick=no}} [[Image:Example.png]] [[Image:Example.png]]
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion|colontrick=no}} [[Wikipedia talk:Articles for deletion]] [[Wikipedia talk:Articles for deletion]]
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://es.wikipedia.org/wiki/Milord_%28tratamiento%29|colontrick=no}} [[es:Milord (tratamiento)]] [[es:Milord (tratamiento)]]
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://es.wikipedia.org/wiki/Wikipedia:Cartelera_de_acontecimientos|colontrick=no}} [[es:Wikipedia:Cartelera de acontecimientos]] [[es:Wikipedia:Cartelera de acontecimientos]]
test_no_link
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Banana|link=no}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/English_language|link=no}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Module:UnitTests|link=no}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion|link=no}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Banana|link=no}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=English_language|link=no}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Module:UnitTests|link=no}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion|link=no}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Banana|link=no}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|English_language|link=no}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Module:UnitTests|link=no}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Wikipedia_talk:Articles_for_deletion|link=no}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Category:Wikipedians|link=no}} Category:Wikipedians Category:Wikipedians
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/File:Example.png|link=no}} File:Example.png File:Example.png
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Image:Example.png|link=no}} Image:Example.png Image:Example.png
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion|link=no}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://es.wikipedia.org/wiki/Milord_%28tratamiento%29|link=no}} es:Milord (tratamiento) es:Milord (tratamiento)
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://es.wikipedia.org/wiki/Wikipedia:Cartelera_de_acontecimientos|link=no}} es:Wikipedia:Cartelera de acontecimientos es:Wikipedia:Cartelera de acontecimientos
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/English_language|link=no|display=Foo}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=English_language|link=no|display=Foo}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Banana|link=no|display=Foo}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://es.wikipedia.org/wiki/Milord_%28tratamiento%29|link=no|display=Foo}} es:Milord (tratamiento) es:Milord (tratamiento)
test_no_section
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Banana|section=no}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/English_language|section=no}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Module:UnitTests|section=no}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion|section=no}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Banana|section=no}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=English_language|section=no}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Module:UnitTests|section=no}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion|section=no}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Banana|section=no}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|English_language|section=no}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Module:UnitTests|section=no}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Wikipedia_talk:Articles_for_deletion|section=no}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Banana#Etymology|section=no}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/English_language#Classification_and_related_languages|section=no}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Module:UnitTests#preprocess_equals_many|section=no}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion#Foo_bar|section=no}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion/Archive_1#Proposed_reorganization|section=no}} Wikipedia talk:Articles for deletion/Archive 1 Wikipedia talk:Articles for deletion/Archive 1
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Banana#Etymology|section=no}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=English_language#Classification_and_related_languages|section=no}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Module:UnitTests#preprocess_equals_many|section=no}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion#Foo_bar|section=no}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion/Archive_1#Proposed_reorganization|section=no}} Wikipedia talk:Articles for deletion/Archive 1 Wikipedia talk:Articles for deletion/Archive 1
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Banana#Etymology|section=no}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|English_language#Classification_and_related_languages|section=no}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Module:UnitTests#preprocess_equals_many|section=no}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Wikipedia_talk:Articles_for_deletion#Foo_bar|section=no}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Wikipedia_talk:Articles_for_deletion/Archive_1#Proposed_reorganization|section=no}} Wikipedia talk:Articles for deletion/Archive 1 Wikipedia talk:Articles for deletion/Archive 1
test_partial_urls
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Banana}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|English_language}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Module:UnitTests}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|Wikipedia_talk:Articles_for_deletion}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
test_random_sites
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|http://www.theguardian.com/tv-and-radio/2013/sep/22/the-simpsons-secret-formula-maths-simon-singh}} http://www.theguardian.com/tv-and-radio/2013/sep/22/the-simpsons-secret-formula-maths-simon-singh http://www.theguardian.com/tv-and-radio/2013/sep/22/the-simpsons-secret-formula-maths-simon-singh
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|1=http://www.youtube.com/watch?v=AxTiaInrLW4}} http://www.youtube.com/watch?v=AxTiaInrLW4 http://www.youtube.com/watch?v=AxTiaInrLW4
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|http://www.ietf.org/rfc/rfc3092.txt}} http://www.ietf.org/rfc/rfc3092.txt http://www.ietf.org/rfc/rfc3092.txt
test_simple
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Banana}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/English_language}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Module:UnitTests}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion
test_url_parameter
Text Expected Actual
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|url=https://en.wikipedia.org/w/index.php?title=Banana}} Banana Banana
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|url=https://en.wikipedia.org/w/index.php?title=English_language}} English language English language
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|url=https://en.wikipedia.org/w/index.php?title=Module:UnitTests}} Module:UnitTests Module:UnitTests
checkY {{#invoke:Urltowiki/sandbox|urlToWiki|url=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion}} Wikipedia talk:Articles for deletion Wikipedia talk:Articles for deletion

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

Start a discussion