Module talk:Delink/testcases
15 of 196 tests failed. (refresh)
test01_basic
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[[Apple]]}} | Apple | Apple | |
| {{delink/sandbox|[[Orange]]s are dissimilar to [[Apple]]s}} | Oranges are dissimilar to Apples | Oranges are dissimilar to Apples | |
| {{delink/sandbox|[[Apple]]s and [[orange]]s and [[fruit salad|other kinds of fruit]]}} | Apples and oranges and other kinds of fruit | Apples and oranges and other kinds of fruit | |
| {{delink/sandbox|All [[Gone]] [[wikt:to|]] [[Bed]] [[Now]]}} | All Gone to Bed Now | All Gone to Bed Now | |
| {{delink/sandbox|[[Survey]] of [http://books.google.com Google Books] on [[UK|Britain]]}} | Survey of Google Books on Britain | Survey of Google Books on Britain | |
| {{delink/sandbox|[[What If...?]]}} | What If...? | What If...? |
test02_cats_files_interwikis
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[[Category:Foo]]}} | |||
| {{delink/sandbox|[[category:Foo]]}} | |||
| {{delink/sandbox|[[File:Foo]]}} | |||
| {{delink/sandbox|[[Image:Foo]]}} | |||
| {{delink/sandbox|[[es:Foo]]}} | |||
| {{delink/sandbox|[[wikt:Foo]]}} | wikt:Foo | wikt:Foo | |
| {{delink/sandbox|[[es:Wikipedia:Políticas]]}} | |||
| {{delink/sandbox|[[abcd:efgh:ijkl]]}} | abcd:efgh:ijkl | abcd:efgh:ijkl | |
| {{delink/sandbox|[[cbk-zam:abcd:efgh]]}} | |||
| {{delink/sandbox|[[meatball:WikiPedia]]}} | meatball:WikiPedia | meatball:WikiPedia |
test03_colontrick
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[[:Category:Foo]]}} | Category:Foo | Category:Foo | |
| {{delink/sandbox|[[:es:Foo]]}} | es:Foo | es:Foo | |
| {{delink/sandbox|[[:wikt:Foo]]}} | wikt:Foo | wikt:Foo | |
| {{delink/sandbox|[[:es:Wikipedia:Políticas]]}} | es:Wikipedia:Políticas | es:Wikipedia:Políticas | |
| {{delink/sandbox|[[:abcd:efgh:ijkl]]}} | abcd:efgh:ijkl | abcd:efgh:ijkl | |
| {{delink/sandbox|[[:cbk-zam:abcd:efgh]]}} | cbk-zam:abcd:efgh | cbk-zam:abcd:efgh | |
| {{delink/sandbox|[[:meatball:WikiPedia]]}} | meatball:WikiPedia | meatball:WikiPedia |
test04_pipetrick
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[[Pipe (computing)|]]}} | Pipe | Pipe | |
| {{delink/sandbox|[[Boston, Massachusetts|]]}} | Boston | Boston | |
| {{delink/sandbox|[[Wikipedia:Verifiability|]]}} | Verifiability | Verifiability | |
| {{delink/sandbox|[[User:Example|]]}} | Example | Example | |
| {{delink/sandbox|[[Template:Welcome|]]}} | Welcome | Welcome | |
| {{delink/sandbox|[[Yours, Mine and Ours (1968 film)|]]}} | Yours, Mine and Ours | Yours, Mine and Ours | |
| {{delink/sandbox|[[:es:Wikipedia:Políticas|]]}} | Wikipedia:Políticas | Wikipedia:Políticas | |
| {{delink/sandbox|[[Il Buono, il Brutto, il Cattivo|]]}} | Il Buono | Il Buono | |
| {{delink/sandbox|[[Wikipedia:Manual of Style (Persian)|]]}} | Manual of Style | Manual of Style | |
| {{delink/sandbox|[[Wikipedia:Manual of Style(Persian)|]]}} | Manual of Style | Manual of Style | |
| {{delink/sandbox|[[foo|bar|]]}} | bar| | bar| | |
| {{delink/sandbox|[[foo||]]}} | | | | | |
| {{delink/sandbox|xx[[foo bar (baz)|]]xx}} | xxfoo bar xx | xxfoo bar xx |
test05_reverse_pipetrick
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[[|foo]]}} | foo | foo | |
| {{delink/sandbox|[[|multiple|pipes]]}} | [[|multiple|pipes]] | [[|multiple|pipes]] | |
| {{delink/sandbox|[[|foo (bar)]]}} | foo (bar) | foo (bar) | |
| {{delink/sandbox|[[|foo, bar (baz)]]}} | foo, bar (baz) | foo, bar (baz) | |
| {{delink/sandbox|[[|simultaneous pipe trick|]]}} | [[|simultaneous pipe trick|]] | [[|simultaneous pipe trick|]] |
test06_badlinks
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[[<]]}} | [[<]] | [[<]] | |
| {{delink/sandbox|[[Category:<]]}} | [[Category:<]] | [[Category:<]] | |
| {{delink/sandbox|[[:Category:<]]}} | [[:Category:<]] | [[:Category:<]] | |
| {{delink/sandbox|[[:Category:<|Foo]]}} | [[:Category:<|Foo]] | [[:Category:<|Foo]] | |
| {{delink/sandbox|[[:Category:<|]]}} | [[:Category:<|]] | [[:Category:<|]] | |
| {{delink/sandbox|[[:Category:Foo|<]]}} | < | < | |
| {{delink/sandbox|[[Category:Foo|<]]}} | |||
| {{delink/sandbox|[[Foo:Bar|<]]}} | < | < | |
| {{delink/sandbox|[[Foo:Bar:>]]}} | [[Foo:Bar:>]] | [[Foo:Bar:>]] | |
| {{delink/sandbox|[[es:Wikipedia:<]]}} | [[es:Wikipedia:<]] | [[es:Wikipedia:<]] | |
| {{delink/sandbox|[[es:Wikipedia:Foo|<]]}} | |||
| {{delink/sandbox|[[:es:Wikipedia:<]]}} | [[:es:Wikipedia:<]] | [[:es:Wikipedia:<]] | |
| {{delink/sandbox|[[:es:Wikipedia:Foo|<]]}} | < | < | |
| {{delink/sandbox|[[Foo:Bar:Foo#>]]}} | Foo:Bar:Foo#> | [[Foo:Bar:Foo#>]] | |
| {{delink/sandbox|[[Foo:Bar:Foo>#Baz]]}} | [[Foo:Bar:Foo>#Baz]] | [[Foo:Bar:Foo>#Baz]] | |
| {{delink/sandbox|[[Foo#Bar>#Baz]]}} | Foo#Bar>#Baz | [[Foo#Bar>#Baz]] | |
| {{delink/sandbox|[[Foo>#Bar#Baz]]}} | [[Foo>#Bar#Baz]] | [[Foo>#Bar#Baz]] | |
| {{delink/sandbox|[[wikt:es:asdf:�Template:title#Fragment]]}} | [[wikt:es:asdf:�Template:title#Fragment]] | [[wikt:es:asdf:�Template:title#Fragment]] | |
| {{delink/sandbox|[[?foo]]}} | [[?foo]] | ?foo |
test07_URI_slashes
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[/foo]}} | [/foo] | [/foo] | |
| {{delink/sandbox|[/foo bar]}} | [/foo bar] | [/foo bar] | |
| {{delink/sandbox|[//foo]}} | |||
| {{delink/sandbox|[//foo bar]}} | bar | bar | |
| {{delink/sandbox|[///foo]}} | |||
| {{delink/sandbox|[///foo bar]}} | bar | bar | |
| {{delink/sandbox|[////foo]}} | |||
| {{delink/sandbox|[////foo bar]}} | bar | bar | |
| {{delink/sandbox|[///////////////////////////////////foo]}} | |||
| {{delink/sandbox|[///////////////////////////////////foo bar]}} | bar | bar |
test08_URI_prefixes
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[://foo]}} | [://foo] | [://foo] | |
| {{delink/sandbox|[:://foo]}} | [:://foo] | [:://foo] | |
| {{delink/sandbox|[abcd://]}} | [abcd://] | [abcd://] | |
| {{delink/sandbox|[abcd://foo]}} | [abcd://foo] | [abcd://foo] | |
| {{delink/sandbox|[http://]}} | [http://] | [http://] | |
| {{delink/sandbox|[http://foo]}} | |||
| {{delink/sandbox|[https://]}} | [https://] | [https://] | |
| {{delink/sandbox|[https://foo]}} | |||
| {{delink/sandbox|[ftp://]}} | [ftp://] | [ftp://] | |
| {{delink/sandbox|[ftp://foo]}} | |||
| {{delink/sandbox|[gopher://]}} | [gopher://] | [gopher://] | |
| {{delink/sandbox|[gopher://foo]}} | |||
| {{delink/sandbox|[mailto:]}} | [mailto:] | [mailto:] | |
| {{delink/sandbox|[mailto:foo]}} | |||
| {{delink/sandbox|[news]}} | [news] | [news] | |
| {{delink/sandbox|[news at ten]}} | [news at ten] | [news at ten] | |
| {{delink/sandbox|[news:]}} | [news:] | [news:] | |
| {{delink/sandbox|[news: at ten]}} | [news: at ten] | [news: at ten] | |
| {{delink/sandbox|[news:/]}} | |||
| {{delink/sandbox|[news:/ at ten]}} | at ten | at ten | |
| {{delink/sandbox|[news://]}} | |||
| {{delink/sandbox|[news://foo]}} | |||
| {{delink/sandbox|[news://foo at ten]}} | at ten | at ten | |
| {{delink/sandbox|[irc://]}} | [irc://] | [irc://] | |
| {{delink/sandbox|[irc://foo]}} |
test09_URI_special_characters
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[:http://foo]}} | [:http://foo] | [:http://foo] | |
| {{delink/sandbox|[http://<foo]}} | <foo | <foo | |
| {{delink/sandbox|[http://foo"bar]}} | "bar | "bar | |
| {{delink/sandbox|[http://"foo]}} | [http://"foo] | [http://"foo] | |
| {{delink/sandbox|[http://>foo]}} | >foo | >foo | |
| {{delink/sandbox|[http://foo<bar]}} | <bar | <bar | |
| {{delink/sandbox|[http://foo>bar]}} | >bar | >bar | |
| {{delink/sandbox|[http:// foo]}} | [http:// foo] | [http:// foo] |
test10_nesting
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|text[[<s name=]]>stricken</s>more text]]}} | text[[<s name=]]>stricken</s>more text]] | text[[<s name=]]>stricken</s>more text]] | |
| {{delink/sandbox|text[[<s>stricken</s>more text]]}} | text[[<s>stricken</s>more text]] | text[[<s>stricken</s>more text]] | |
| {{delink/sandbox|[[outer[[inner]]outer]]}} | [[outerinnerouter]] | [[outerinnerouter]] | |
| {{delink/sandbox|[http://outer outer [[inner]] outer]}} | outer inner outer | outer inner outer | |
| {{delink/sandbox|[[outer[http://inner inner]outer]]}} | [[outerinnerouter]] | [[outerinnerouter]] | |
| {{delink/sandbox|[[outer[http://inner]outer]]]}} | [[outerouter]]] | [[outerouter]]] |
test11_multiple_pipes
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[[foo|bar|baz]]}} | bar|baz | bar|baz | |
| {{delink/sandbox|[[foo|bar|baz|]]}} | bar|baz| | bar|baz| | |
| {{delink/sandbox|[[|foo|bar|baz]]}} | [[|foo|bar|baz]] | [[|foo|bar|baz]] | |
| {{delink/sandbox|[[|foo|bar|baz|]]}} | [[|foo|bar|baz|]] | [[|foo|bar|baz|]] | |
| {{delink/sandbox|[[foo|bar|baz||]]}} | bar|baz|| | bar|baz|| | |
| {{delink/sandbox|[[||foobarbaz]]}} | [[||foobarbaz]] | [[||foobarbaz]] | |
| {{delink/sandbox|[[foobarbaz||]]}} | | | | |
test12_http_links
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[http]}} | [http] | [http] | |
| {{delink/sandbox|[http:foo]}} | [http:foo] | [http:foo] | |
| {{delink/sandbox|[http:]}} | [http:] | [http:] | |
| {{delink/sandbox|[http:foo]}} | [http:foo] | [http:foo] | |
| {{delink/sandbox|[http:/]}} | [http:/] | [http:/] | |
| {{delink/sandbox|[http:/foo]}} | [http:/foo] | [http:/foo] | |
| {{delink/sandbox|[http://]}} | [http://] | [http://] | |
| {{delink/sandbox|[http://foo]}} |
test13_whitespace
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|xx[[ fruit salad | many kinds of fruit ]]xx}} | xx many kinds of fruit xx | xx many kinds of fruit xx | |
| {{delink/sandbox|[http://www.example.com example]}} | example | example | |
| {{delink/sandbox|[[link with
a line break in]]}} |
[[link with a line break in]] | [[link with a line break in]] | |
| {{delink/sandbox|[[link with
two line breaks in]]}} |
[[link with
two line breaks in]] |
[[link with
two line breaks in]] | |
| {{delink/sandbox|an [http://www.example.com
example].}} |
an [http://www.example.com example]. | an [http://www.example.com example]. | |
| {{delink/sandbox|an [http://www.example.com
example].}} |
an [http://www.example.com
example]. |
an [http://www.example.com
example]. | |
| {{delink/sandbox|[http://www.example.com HTML line breaks] between<br>two [http://www.example.com links]}} | HTML line breaks between two links | HTML line breaks between<br>two links | |
| {{delink/sandbox|[http://www.example.com HTML line break<br />within<br/>a link]}} | HTML line break within a link | HTML line break<br />within<br/>a link | |
| {{delink/sandbox|[http://www.example.com Double HTML line break<br /><br />within a link]}} | Double HTML line break
within a link |
Double HTML line break<br /><br />within a link | |
| {{delink/sandbox|[http://www.example.com non-breaking spaces]}} | non-breaking spaces | non-breaking spaces | |
| {{delink/sandbox|[http://www.example.com tab characters]}} | tab characters | tab characters | |
| {{delink/sandbox|[http://www.example.com multiple non-breaking spaces]}} | multiple non-breaking spaces | multiple non-breaking spaces | |
| {{delink/sandbox|[http://www.example.com multiple tab characters]}} | multiple tab characters | multiple tab characters |
test14_full_paragraphs
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|He then studied at [[Saint Patrick Seminary, Menlo Park|St. Patrick's Seminary]] in [[Menlo Park, California|Menlo Park]]. He was [[Holy Orders|ordained]] to the [[Priesthood (Catholic Church)|priesthood]] on June 10, 1933.<ref name=hierarchy>{{cite news|work=Catholic-Hierarchy.org|title=Bishop Merlin Joseph Guilfoyle|url=http://www.catholic-hierarchy.org/bishop/bguimj.html}}</ref> In 1937, he earned a [[Doctor of Canon Law]] from the [[The Catholic University of America|Catholic University of America]] in [[Washington, D.C.]]<ref name=curtis/> He became a [[Monsignor|Domestic Prelate]] in 1949, and was co-founder and [[chaplain]] of [http://www.stthomasmore-sf.org/ St. Thomas More Society].}} | He then studied at St. Patrick's Seminary in Menlo Park. He was ordained to the priesthood on June 10, 1933. In 1937, he earned a Doctor of Canon Law from the Catholic University of America in Washington, D.C. He became a Domestic Prelate in 1949, and was co-founder and chaplain of St. Thomas More Society. | He then studied at St. Patrick's Seminary in Menlo Park. He was ordained to the priesthood on June 10, 1933.[1] In 1937, he earned a Doctor of Canon Law from the Catholic University of America in Washington, D.C.[2] He became a Domestic Prelate in 1949, and was co-founder and chaplain of St. Thomas More Society. |
test15_full_paragraphs_removing_ref_strip_markers
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|refs=yes|He then studied at [[Saint Patrick Seminary, Menlo Park|St. Patrick's Seminary]] in [[Menlo Park, California|Menlo Park]]. He was [[Holy Orders|ordained]] to the [[Priesthood (Catholic Church)|priesthood]] on June 10, 1933.<ref name=hierarchy>{{cite news|work=Catholic-Hierarchy.org|title=Bishop Merlin Joseph Guilfoyle|url=http://www.catholic-hierarchy.org/bishop/bguimj.html}}</ref> In 1937, he earned a [[Doctor of Canon Law]] from the [[The Catholic University of America|Catholic University of America]] in [[Washington, D.C.]]<ref name=curtis/> He became a [[Monsignor|Domestic Prelate]] in 1949, and was co-founder and [[chaplain]] of [http://www.stthomasmore-sf.org/ St. Thomas More Society].}} | He then studied at St. Patrick's Seminary in Menlo Park. He was ordained to the priesthood on June 10, 1933. In 1937, he earned a Doctor of Canon Law from the Catholic University of America in Washington, D.C. He became a Domestic Prelate in 1949, and was co-founder and chaplain of St. Thomas More Society. | He then studied at St. Patrick's Seminary in Menlo Park. He was ordained to the priesthood on June 10, 1933.[1] In 1937, he earned a Doctor of Canon Law from the Catholic University of America in Washington, D.C.[2] He became a Domestic Prelate in 1949, and was co-founder and chaplain of St. Thomas More Society. |
test16_html_comments
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[[foo<!--bar]]-->baz]]}} | foobaz | foobaz | |
| {{delink/sandbox|foo<!--bar-->baz}} | foobaz | foobaz | |
| {{delink/sandbox|foo<!--bar<!--baz-->bat-->bam}} | foobat-->bam | foobat-->bam | |
| {{delink/sandbox|foo[http://abcd<!--bar-->efgh]baz}} | foobaz | foobaz | |
| {{delink/sandbox|foo[http://abcd<!--barefgh]baz-->bat}} | foo[http://abcdbat | foo[http://abcdbat | |
| {{delink/sandbox|foo[http://ab[[cd]]<!--barefgh]baz-->bat}} | foo[http://abcdbat | foo[http://abcdbat | |
| {{delink/sandbox|foo[http://ab{{!((}}cd<!--bar]]efgh]baz-->bat}} | foo[http://ab[[cdbat | foo[http://ab[[cdbat | |
| {{delink/sandbox|foo[[bar<!--baz-->]]bam}} | foobarbam | foobarbam |
test17_nowiki
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|<nowiki>[[foo]]</nowiki>}} | '"`UNIQ--nowiki-00000000-QINU`"' | '"`UNIQ--nowiki-00000004-QINU`"' | |
| {{delink/sandbox|[[foo]]<nowiki>[[bar]]</nowiki>[[baz]]}} | foo'"`UNIQ--nowiki-00000000-QINU`"'baz | foo'"`UNIQ--nowiki-00000005-QINU`"'baz | |
| {{delink/sandbox|<nowiki>[http://www.example.com foo]</nowiki>}} | '"`UNIQ--nowiki-00000000-QINU`"' | '"`UNIQ--nowiki-00000006-QINU`"' | |
| {{delink/sandbox|{{!((}}foo<nowiki>bar]]</nowiki>}} | [[foo'"`UNIQ--nowiki-00000000-QINU`"' | [[foo'"`UNIQ--nowiki-00000007-QINU`"' | |
| {{delink/sandbox|<nowiki>[[foo</nowiki>bar]]}} | '"`UNIQ--nowiki-00000000-QINU`"'bar]] | '"`UNIQ--nowiki-00000008-QINU`"'bar]] | |
| {{delink/sandbox|[http://www.exa<nowiki>mple.com foo]</nowiki>}} | [http://www.exa'"`UNIQ--nowiki-00000000-QINU`"' | [http://www.exa'"`UNIQ--nowiki-00000009-QINU`"' |
test18_decoding
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[[foo%25 bar]]}} | [[foo%25 bar]] | [[foo%25 bar]] | |
| {{delink/sandbox|[[foo%25bar]]}} | [[foo%25bar]] | [[foo%25bar]] | |
| {{delink/sandbox|[[foo%24bar]]}} | foo$bar | foo$bar | |
| {{delink/sandbox|[[foo%6Abar]]}} | foojbar | foojbar | |
| {{delink/sandbox|[[foo%11bar]]}} | [[foo%11bar]] | [[foo%11bar]] | |
| {{delink/sandbox|[[foo&bar]]}} | foo&bar | foo&bar | |
| {{delink/sandbox|[[foo%25bar]]}} | [[foo%25bar]] | [[foo%25bar]] | |
| {{delink/sandbox|[[foo&a%6Amp;bar]]}} | [[foo&a%6Amp;bar]] | foo&ajmp;bar | |
| {{delink/sandbox|[[foo&%61mp;bar]]}} | foo&bar | foo&bar | |
| {{delink/sandbox|[[foo&%62mp;bar]]}} | [[foo&%62mp;bar]] | foo&bmp;bar | |
| {{delink/sandbox|[[foo%bar]]}} | [[foo%bar]] | [[foo%bar]] | |
| {{delink/sandbox|[[foo%62bar]]}} | [[foo%62bar]] | [[foo%62bar]] | |
| {{delink/sandbox|[[foo�bar]]}} | [[foo�bar]] | [[foo�bar]] | |
| {{delink/sandbox|[[foo�bar]]}} | [[foo�bar]] | [[foo�bar]] | |
| {{delink/sandbox|[[foo"bar]]}} | foo"bar | foo"bar | |
| {{delink/sandbox|[[foo"bar]]}} | foo"bar | foo"bar | |
| {{delink/sandbox|[[foo&amp;bar]]}} | [[foo&amp;bar]] | foo&bar |
test19_URL_decoding
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|[http://www.example.com foo%25 bar]}} | foo%25 bar | foo%25 bar | |
| {{delink/sandbox|[http://www.example.com foo%25bar]}} | foo%25bar | foo%25bar | |
| {{delink/sandbox|[http://www.example.com foo%24bar]}} | foo%24bar | foo%24bar | |
| {{delink/sandbox|[http://www.example.com foo%88bar]}} | foo%88bar | foo%88bar | |
| {{delink/sandbox|[http://www.example.com foo%6Abar]}} | foo%6Abar | foo%6Abar | |
| {{delink/sandbox|[http://www.example.com foo%11bar]}} | foo%11bar | foo%11bar | |
| {{delink/sandbox|[http://www.example.com foo&bar]}} | foo&bar | foo&bar | |
| {{delink/sandbox|[http://www.example.com foo%25bar]}} | foo%25bar | foo%25bar | |
| {{delink/sandbox|[http://www.example.com foo&a%6Amp;bar]}} | foo&a%6Amp;bar | foo&a%6Amp;bar | |
| {{delink/sandbox|[http://www.example.com foo&%61mp;bar]}} | foo&%61mp;bar | foo&%61mp;bar | |
| {{delink/sandbox|[http://www.example.com foo&%62mp;bar]}} | foo&%62mp;bar | foo&%62mp;bar | |
| {{delink/sandbox|[http://www.example.com foo%bar]}} | foo%bar | foo%bar | |
| {{delink/sandbox|[http://www.example.com foo%62bar]}} | foo%62bar | foo%62bar | |
| {{delink/sandbox|[http://www.example.com foo�bar]}} | foo�bar | foo�bar | |
| {{delink/sandbox|[http://www.example.com foo�bar]}} | foo�bar | foo�bar | |
| {{delink/sandbox|[http://www.example.com foo"bar]}} | foo"bar | foo"bar | |
| {{delink/sandbox|[http://www.example.com foo"bar]}} | foo"bar | foo"bar |
test20_no_link
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|#Foo}} | #Foo | #Foo | |
| {{delink/sandbox|Foo#Bar}} | Foo#Bar | Foo#Bar |
test21_exotic
| Test | Expected | Actual | |
|---|---|---|---|
| {{delink/sandbox|some text [[Apple| apples and [[Pear|pears]]]]}} | some text apples and pears | some text apples and pears | |
| {{delink/sandbox|some text [[Apple|[[Pear|pears]]]]}} | some text pears | some text [[Pear|pears]] | |
| {{delink/sandbox|some text [[Apple| [[Pear|pears]]]]}} | some text pears | some text pears | |
| {{delink/sandbox|some text [[Apple| apples and [[:Pear|pears]]]]}} | some text apples and pears | some text pears]] | |
| {{delink/sandbox|some text [[Category:fred]][[Apple| apples]][[:Pear|pears]]}} | some text applespears | some text [[Apple| apples]]pears | |
| {{delink/sandbox|some text [[Category:fred]] [[Apple| apples]][[:Pear|pears]]}} | some text applespears | some text applespears | |
| {{delink/sandbox|He then studied at St. Patrick's Seminary in Menlo Park. He was ordained to the priesthood on June 10, 1933. In 1937, he earned a Doctor of Canon Law from the Catholic University of America in Washington, D.C. He became a Domestic Prelate in 1949, and was co-founder and chaplain of St. Thomas More Society.}} | He then studied at St. Patrick's Seminary in Menlo Park. He was ordained to the priesthood on June 10, 1933. In 1937, he earned a Doctor of Canon Law from the Catholic University of America in Washington, D.C. He became a Domestic Prelate in 1949, and was co-founder and chaplain of St. Thomas More Society. | He then studied at St. Patrick's Seminary in Menlo Park. He was ordained to the priesthood on June 10, 1933. In 1937, he earned a Doctor of Canon Law from the Catholic University of America in Washington, D.C. He became a Domestic Prelate in 1949, and was co-founder and chaplain of St. Thomas More Society. |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.