更改

添加13,849字节 、 2020年5月12日 (二) 21:05
创建页面,内容为“{{Testcases notice <!--|toc=on-->}} * A. Production - Sandbox (Module:Webarchive/sandbox) vs. Production (Templat…”
{{Testcases notice <!--|toc=on-->}}

* [[Template:Webarchive/testcases/Production|A. Production]] - Sandbox ([[Module:Webarchive/sandbox]]) vs. Production ([[Template:Webarchive]])
* [[Template:Webarchive/testcases/Wayback|B. Wayback]] - Sandbox ([[Module:Webarchive/sandbox]]) vs. [[Template:Wayback]]
* [[Template:Webarchive/testcases/Webcite|C. Webcite]] - Sandbox ([[Module:Webarchive/sandbox]]) vs. [[Template:Webcite]]
* [[Template:Webarchive/testcases/CiteArch|D. CiteArch]] - Sandbox ([[Module:Webarchive/sandbox]]) vs. [[Template:Cite archives]]
----

*{{webarchive|url=https://web.archive.org/web/20160801000000/http://example.com |date=August 1, 2016}}
*{{webarchive/sandbox|url=https://web.archive.org/web/20160801000000/http://example.com |date=August 1, 2016}} – sandbox

*{{webarchive|url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |date=12 February 2009}}
*{{webarchive/sandbox|url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |date=12 February 2009}} – sandbox

*{{webarchive|url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |date=12 February 2009 |title=Page title}}
*{{webarchive/sandbox|url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |date=12 February 2009 |title=Page title}} – sandbox

----
*{{webarchive|url=https://web.archive.org/web/20160801000000/http://example.com |date=August 1, 2016 |title=Page title}}
*{{webarchive/sandbox|url=https://web.archive.org/web/20160801000000/http://example.com |date=August 1, 2016 |title=Page title}} – sandbox

*{{webarchive|url=https://web.archive.org/web/20160801000000/http://example.com |date=August 1, 2016}}
*{{webarchive/sandbox|url=https://web.archive.org/web/20160801000000/http://example.com |date=August 1, 2016}} – sandbox

*{{webarchive|url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/}}
*{{webarchive/sandbox|url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/}} – sandbox

*{{webarchive|url=https://web.archive.org/web/20160801/http://example.com |title=Page title |date=August 1, 2016 |url2=https://web.archive.org/web/20160901/http://example.com |title2=Page2 title |date2=September 1, 2016}}
*{{webarchive/sandbox|url=https://web.archive.org/web/20160801/http://example.com |title=Page title |date=August 1, 2016 |url2=https://web.archive.org/web/20160901/http://example.com |title2=Page2 title |date2=September 1, 2016}} – sandbox

*{{webarchive|url=https://web.archive.org/web/20160801/http://example.com |date=August 1, 2016 |url2=https://web.archive.org/web/20160901/http://example.com |date2=September 1, 2016}}
*{{webarchive/sandbox|url=https://web.archive.org/web/20160801/http://example.com |date=August 1, 2016 |url2=https://web.archive.org/web/20160901/http://example.com |date2=September 1, 2016}} – sandbox

*{{webarchive|url=https://web.archive.org/web/20160801/http://example.com |title=Page title |url2=https://web.archive.org/web/20160901/http://example.com |title2=Page2 title}}
*{{webarchive/sandbox|url=https://web.archive.org/web/20160801/http://example.com |title=Page title |url2=https://web.archive.org/web/20160901/http://example.com |title2=Page2 title}} – sandbox

----
*{{webarchive|url=http://perma.cc/F9NT-22AK |date=2015-04-09}}
*{{webarchive/sandbox|url=http://perma.cc/F9NT-22AK |date=2015-04-09}} – sandbox

*{{webarchive|url=http://perma.cc/F9NT-22AK |date=2015-04-09 |title=Mike Pressler Biography}}
*{{webarchive/sandbox|url=http://perma.cc/F9NT-22AK |date=2015-04-09 |title=Mike Pressler Biography}} – sandbox

----
*{{webarchive|url=https://archive.is/e9AAZ}}
*{{webarchive/sandbox|url=https://archive.is/e9AAZ}} – sandbox

*{{webarchive|url=https://archive.is/2016.08.08-112330/http://example.com/}}
*{{webarchive/sandbox|url=https://archive.is/2016.08.08-112330/http://example.com/}} – sandbox

*{{webarchive|url=https://archive.is/20160808112330/http://example.com/}}
*{{webarchive/sandbox|url=https://archive.is/20160808112330/http://example.com/}} – sandbox

*{{webarchive|url=https://web.archive.org/web/20160801000000/http://example.com/}}
*{{webarchive/sandbox|url=https://web.archive.org/web/20160801000000/http://example.com/}} – sandbox

*{{webarchive|url=http://webarchive.loc.gov/all/20160801000000/http://example.com/}}
*{{webarchive/sandbox|url=http://webarchive.loc.gov/all/20160801000000/http://example.com/}} – sandbox

*{{webarchive|url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/}}
*{{webarchive/sandbox|url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/}} – sandbox

*{{webarchive|url=https://archive.is/2016.08.08-112330/http://example.com/ |date=2017-08-21}}
*{{webarchive/sandbox|url=https://archive.is/2016.08.08-112330/http://example.com/ |date=2017-08-21}} – sandbox

*{{webarchive|url=https://archive.is/20160808112330/http://example.com/ |date=2017-08-21}}
*{{webarchive/sandbox|url=https://archive.is/20160808112330/http://example.com/ |date=2017-08-21}} – sandbox

*{{webarchive|url=https://web.archive.org/web/20160801000000/http://example.com/ |date=2017-08-21}}
*{{webarchive/sandbox|url=https://web.archive.org/web/20160801000000/http://example.com/ |date=2017-08-21}} – sandbox

*{{webarchive|url=http://webarchive.loc.gov/all/20160801000000/http://example.com/ |date=2017-08-21}}
*{{webarchive/sandbox|url=http://webarchive.loc.gov/all/20160801000000/http://example.com/ |date=2017-08-21}} – sandbox

*{{webarchive|url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |date=2017-08-21}}
*{{webarchive/sandbox|url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |date=2017-08-21}} – sandbox

*{{webarchive|url=https://web.archive.org/web/*/http://example.com/}}
*{{webarchive/sandbox|url=https://web.archive.org/web/*/http://example.com/}} – sandbox

*{{webarchive|url=http://webarchive.loc.gov/all/*/http://example.com/}}
*{{webarchive/sandbox|url=http://webarchive.loc.gov/all/*/http://example.com/}} – sandbox

----
*{{webarchive|url=https://web.archive.org/web/*/http://example.com/}} – because no date text should be '[https://web.archive.org/web/*/http://example.com/ Archive] index' or better, '[https://web.archive.org/web/*/http://example.com/ Archive index]' shouldn't it?
*{{webarchive/sandbox|url=https://web.archive.org/web/*/http://example.com/}} – sandbox

*{{webarchive|url=https://web.archive.org/web/*/http://example.com/|title=Title}} – has title
*{{webarchive/sandbox|url=https://web.archive.org/web/*/http://example.com/|title=Title}} – sandbox

==tests for {{tld|cite archives}}==

'''{{para|format|addlarchives}}'''
*<code><nowiki>{{webarchive|format=addlarchives|url1=https://archive.is/zKyrW |date1=11 May 2018 |url2=https://www.webcitation.org/query?url=http%3A%2F%2Fwww.albanianphotography.net%2Fen%2Fnopcsa.html&date=2011-02-25 |date2=25 February 2011}}</nowiki></code>
**{{code|{{webarchive|format=addlarchives|url1=https://archive.is/zKyrW |date1=11 May 2018 |url2=https://www.webcitation.org/query?url=http%3A%2F%2Fwww.albanianphotography.net%2Fen%2Fnopcsa.html&date=2011-02-25 |date2=25 February 2011}}}}
**{{code|{{webarchive/sandbox|format=addlarchives|url1=https://archive.is/zKyrW |date1=11 May 2018 |url2=https://www.webcitation.org/query?url=http%3A%2F%2Fwww.albanianphotography.net%2Fen%2Fnopcsa.html&date=2011-02-25 |date2=25 February 2011}}}} – sandbox
***{{webarchive|format=addlarchives|url1=https://archive.is/zKyrW |date1=11 May 2018 |url2=https://www.webcitation.org/query?url=http%3A%2F%2Fwww.albanianphotography.net%2Fen%2Fnopcsa.html&date=2011-02-25 |date2=25 February 2011}}
***{{webarchive/sandbox|format=addlarchives|url1=https://archive.is/zKyrW |date1=11 May 2018 |url2=https://www.webcitation.org/query?url=http%3A%2F%2Fwww.albanianphotography.net%2Fen%2Fnopcsa.html&date=2011-02-25 |date2=25 February 2011}} – sandbox

*{{webarchive|format=addlarchives|url2=https://web.archive.org/web/20140903195544/http://www.famitsu.com/biz/ranking/ |date2=20140903 |url=https://archive.is/20140903195702/http://www.famitsu.com/biz/ranking/|date=2014-09-03}} – has malformed date
*{{webarchive/sandbox|format=addlarchives|url2=https://web.archive.org/web/20140903195544/http://www.famitsu.com/biz/ranking/ |date2=20140903 |url=https://archive.is/20140903195702/http://www.famitsu.com/biz/ranking/|date=2014-09-03}} – sandbox

*{{webarchive|format=addlarchives|url=https://archive.fo/20120720003512/http://libro.uca.edu/payne2/payne25.htm|date=July 20, 2012 |title=Chapter 25}}
*{{webarchive/sandbox|format=addlarchives|url=https://archive.fo/20120720003512/http://libro.uca.edu/payne2/payne25.htm|date=July 20, 2012 |title=Chapter 25}}

----
'''{{para|format|addlpages}}'''
*{{webarchive|format=addlpages|url=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml|date=September 11, 2009|url2=https://www.webcitation.org/5jhGJWAXG?url=http://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml|date2=2009-09-11}} – without title
*{{webarchive/sandbox|format=addlpages|url=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml|date=September 11, 2009|url2=https://www.webcitation.org/5jhGJWAXG?url=http://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml|date2=2009-09-11}} – sandbox

*{{webarchive|format=addlpages|url=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml|date=September 11, 2009||title=Page 2|url2=https://www.webcitation.org/5jhGJWAXG?url=http://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml|date2=2009-09-11|title2=Page 3}} – uses title
*{{webarchive/sandbox|format=addlpages|url=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml|date=September 11, 2009||title=Page 2|url2=https://www.webcitation.org/5jhGJWAXG?url=http://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml|date2=2009-09-11|title2=Page 3}} – sandbox

*{{webarchive|format=addlpages|url=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml|date=September 11, 2009||title=Title 2|url2=https://www.webcitation.org/5jhGJWAXG?url=http://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml|date2=2009-09-11}} – uses title and not title (page 3)
*{{webarchive/sandbox|format=addlpages|url=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml|date=September 11, 2009||title=Title 2|url2=https://www.webcitation.org/5jhGJWAXG?url=http://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml|date2=2009-09-11}} – sandbox

*{{webarchive|format=addlpages|date=September 24, 2009|url=https://www.webcitation.org/5k2BxXFOx?url=http://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p2.html|title=Page 2|url2=https://www.webcitation.org/5k2ByyK40?url=http://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p3.html|date2=2009-09-24|title2=Page 3|url3=https://www.webcitation.org/5k2C0MCbs?url=http://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p4.html|date3=2009-09-24|title3=Page 4|url4=https://www.webcitation.org/5k2C1rcsV?url=http://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p5.html|date4=2009-09-24|title4=Page 5}}
*{{webarchive/sandbox|format=addlpages|date=September 24, 2009|url=https://www.webcitation.org/5k2BxXFOx?url=http://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p2.html|title=Page 2|url2=https://www.webcitation.org/5k2ByyK40?url=http://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p3.html|date2=2009-09-24|title2=Page 3|url3=https://www.webcitation.org/5k2C0MCbs?url=http://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p4.html|date3=2009-09-24|title3=Page 4|url4=https://www.webcitation.org/5k2C1rcsV?url=http://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p5.html|date4=2009-09-24|title4=Page 5}} – sandbox

*{{webarchive|format=addlpages|url1=https://web.archive.org/web/20040722032824/http://www.nationalgeographic.com/adventure/0404/adventure_books_1-19.html |date1=22 July 2004|url2=https://web.archive.org/web/20040831001431/http://www.nationalgeographic.com/adventure/0404/adventure_books_20-39.html|date2=2004-08-31|url3=https://web.archive.org/web/20040831001359/http://www.nationalgeographic.com/adventure/0404/adventure_books_40-59.html|date3=2004-08-31|url4=https://web.archive.org/web/20040830100950/http://www.nationalgeographic.com/adventure/0404/adventure_books_60-79.html|date4=2004-08-31|url5=https://web.archive.org/web/20040831001341/http://www.nationalgeographic.com/adventure/0404/adventure_books_80-100.html|date5=2004-08-31}}
*{{webarchive/sandbox|format=addlpages|url1=https://web.archive.org/web/20040722032824/http://www.nationalgeographic.com/adventure/0404/adventure_books_1-19.html |date1=22 July 2004|url2=https://web.archive.org/web/20040831001431/http://www.nationalgeographic.com/adventure/0404/adventure_books_20-39.html|date2=2004-08-31|url3=https://web.archive.org/web/20040831001359/http://www.nationalgeographic.com/adventure/0404/adventure_books_40-59.html|date3=2004-08-31|url4=https://web.archive.org/web/20040830100950/http://www.nationalgeographic.com/adventure/0404/adventure_books_60-79.html|date4=2004-08-31|url5=https://web.archive.org/web/20040831001341/http://www.nationalgeographic.com/adventure/0404/adventure_books_80-100.html|date5=2004-08-31}} – sandbox
7,129

个编辑