<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AWebarchive%2Ftestcases</id>
	<title>Module:Webarchive/testcases - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AWebarchive%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Webarchive/testcases&amp;action=history"/>
	<updated>2026-07-03T02:00:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Webarchive/testcases&amp;diff=147645&amp;oldid=prev</id>
		<title>imported&gt;GreenC at 18:00, 9 August 2022</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Webarchive/testcases&amp;diff=147645&amp;oldid=prev"/>
		<updated>2022-08-09T18:00:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = require(&amp;#039;Module:UnitTests&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
function p:test_Usage_Examples()&lt;br /&gt;
	self:preprocess_equals_preprocess_many(&amp;#039;{{#invoke:webarchive/sandbox|webarchive&amp;#039;, &amp;#039;}}&amp;#039;, &amp;#039;{{#invoke:webarchive|webarchive&amp;#039;, &amp;#039;}}&amp;#039;, {&lt;br /&gt;
		{&amp;#039;|url=https://web.archive.org/web/20160801000000/http://example.com |date=August 1, 2016&amp;#039;},&lt;br /&gt;
		{&amp;#039;|url=http://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |date=12 February 2009&amp;#039;},&lt;br /&gt;
		{&amp;#039;|url=http://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |date=12 February 2009 |title=Page title&amp;#039;}&lt;br /&gt;
	} )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p:test_Template_Examples()&lt;br /&gt;
	self:preprocess_equals_preprocess_many(&amp;#039;{{#invoke:webarchive/sandbox|webarchive&amp;#039;, &amp;#039;}}&amp;#039;, &amp;#039;{{#invoke:webarchive|webarchive&amp;#039;, &amp;#039;}}&amp;#039;, {&lt;br /&gt;
		{&amp;#039;|url=https://web.archive.org/web/20160801000000/http://example.com |date=August 1, 2016 |title=Page title&amp;#039;},&lt;br /&gt;
		{&amp;#039;|url=https://web.archive.org/web/20160801000000/http://example.com |date=August 1, 2016&amp;#039;},&lt;br /&gt;
		{&amp;#039;|url=http://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/&amp;#039;},&lt;br /&gt;
		{&amp;#039;|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&amp;#039;},&lt;br /&gt;
		{&amp;#039;|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&amp;#039;},&lt;br /&gt;
		{&amp;#039;|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&amp;#039;},&lt;br /&gt;
		})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_Permacc()&lt;br /&gt;
	self:preprocess_equals_preprocess_many(&amp;#039;{{#invoke:webarchive/sandbox|webarchive&amp;#039;, &amp;#039;}}&amp;#039;, &amp;#039;{{#invoke:webarchive|webarchive&amp;#039;, &amp;#039;}}&amp;#039;, {&lt;br /&gt;
		{&amp;#039;|url=http://perma.cc/F9NT-22AK |date=2015-04-09&amp;#039;},&lt;br /&gt;
		{&amp;#039;|url=http://perma.cc/F9NT-22AK |date=2015-04-09 |title=Mike Pressler Biography&amp;#039;},&lt;br /&gt;
	} )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p:test_z1_notdate_archiveis()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://archive.is/e9AAZ}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://archive.is/e9AAZ}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p:test_z2_missingdate_archiveis1()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://archive.is/2016.08.08-112330/http://example.com/}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://archive.is/2016.08.08-112330/http://example.com/}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z2_missingdate_archiveis2()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://archive.is/20160808112330/http://example.com/}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://archive.is/20160808112330/http://example.com/}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z2_missingdate_ukgwa()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com/}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com/}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z2_missingdate_wayback()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://web.archive.org/web/20160801000000/http://example.com/}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://web.archive.org/web/20160801000000/http://example.com/}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z2_missingdate_wayback_ukgwa()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://web.archive.org/web/20191201000000/http://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://web.archive.org/web/20191201000000/http://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z2_missingdate_webarchiveloc()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=http://webarchive.loc.gov/all/20160801000000/http://example.com/}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=http://webarchive.loc.gov/all/20160801000000/http://example.com/}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z2_missingdate_webcite()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p:test_z3_wrongdate_archiveis1()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://archive.is/2016.08.08-112330/http://example.com/ |date=2017-08-21}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://archive.is/2016.08.08-112330/http://example.com/ |date=2017-08-21}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z3_wrongdate_archiveis2()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://archive.is/20160808112330/http://example.com/ |date=2017-08-21}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://archive.is/20160808112330/http://example.com/ |date=2017-08-21}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z3_wrongdate_ukgwa()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com/ |date=2017-08-21}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com/ |date=2017-08-21}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z3_wrongdate_wayback()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://web.archive.org/web/20160801000000/http://example.com/ |date=2017-08-21}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://web.archive.org/web/20160801000000/http://example.com/ |date=2017-08-21}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z3_wrongdate_wayback_ukgwa()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://web.archive.org/web/20191201000000/http://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com |date=2016-08-01}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://web.archive.org/web/20191201000000/http://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com |date=2016-08-01}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z3_wrongdate_webarchiveloc()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=http://webarchive.loc.gov/all/20160801000000/http://example.com/ |date=2017-08-21}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=http://webarchive.loc.gov/all/20160801000000/http://example.com/ |date=2017-08-21}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z3_wrongdate_webcite()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |date=2017-08-21}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |date=2017-08-21}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p:test_z4_index_ukgwa()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://webarchive.nationalarchives.gov.uk/ukgwa/*/http://example.com/}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://webarchive.nationalarchives.gov.uk/ukgwa/*/http://example.com/}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z4_index_wayback()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://web.archive.org/web/*/http://example.com/}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://web.archive.org/web/*/http://example.com/}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z4_index_webarchiveloc()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=http://webarchive.loc.gov/all/*/http://example.com/}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=http://webarchive.loc.gov/all/*/http://example.com/}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p:test_z5_mdy_archiveis1()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://archive.is/2016.08.08-112330/http://example.com/ |title=Example |date=mdy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://archive.is/2016.08.08-112330/http://example.com/ |title=Example |date=mdy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z5_mdy_archiveis2()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://archive.is/20160808112330/http://example.com/ |title=Example |date=mdy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://archive.is/20160808112330/http://example.com/ |title=Example |date=mdy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z5_mdy_ukgwa()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com/ |title=Example |date=mdy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com/ |title=Example |date=mdy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z5_mdy_wayback()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://web.archive.org/web/20160801000000/http://example.com/ |title=Example |date=mdy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://web.archive.org/web/20160801000000/http://example.com/ |title=Example |date=mdy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z5_mdy_wayback_ukgwa()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://web.archive.org/web/20191201000000/http://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com |title=Example |date=mdy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://web.archive.org/web/20191201000000/http://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com |title=Example |date=mdy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z5_mdy_webarchiveloc()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=http://webarchive.loc.gov/all/20160801000000/http://example.com/ |title=Example |date=mdy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=http://webarchive.loc.gov/all/20160801000000/http://example.com/ |title=Example |date=mdy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z5_mdy_webcite()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |title=Example |date=mdy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |title=Example |date=mdy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p:test_z6_dmy_archiveis1()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://archive.is/2016.08.08-112330/http://example.com/ |title=Example |date=dmy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://archive.is/2016.08.08-112330/http://example.com/ |title=Example |date=dmy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z6_dmy_archiveis2()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://archive.is/20160808112330/http://example.com/ |title=Example |date=dmy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://archive.is/20160808112330/http://example.com/ |title=Example |date=dmy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z6_dmy_ukgwa()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com/ |title=Example |date=dmy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com/ |title=Example |date=dmy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z6_dmy_wayback()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://web.archive.org/web/20160801000000/http://example.com/ |title=Example |date=dmy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://web.archive.org/web/20160801000000/http://example.com/ |title=Example |date=dmy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z6_dmy_wayback_ukgwa()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://web.archive.org/web/20191201000000/http://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com |title=Example |date=dmy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://web.archive.org/web/20191201000000/http://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http://example.com |title=Example |date=dmy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z6_dmy_webarchiveloc()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=http://webarchive.loc.gov/all/20160801000000/http://example.com/ |title=Example |date=dmy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=http://webarchive.loc.gov/all/20160801000000/http://example.com/ |title=Example |date=dmy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_z6_dmy_webcite()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |title=Example |date=dmy}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |title=Example |date=dmy}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p:test_addlarchives_1()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |format=addlarchives|url=https://archive.is/zKyrW |date1=11 May 2018 |url2=https://www.webcitation.org/query?url=http%3A%2F%2Fwww.albanianphotography.net%2Fen%2Fnopcsa.html&amp;amp;date=2011-02-25 |date2=25 February 2011}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive		  |webarchive |format=addlarchives|url=https://archive.is/zKyrW |date1=11 May 2018 |url2=https://www.webcitation.org/query?url=http%3A%2F%2Fwww.albanianphotography.net%2Fen%2Fnopcsa.html&amp;amp;date=2011-02-25 |date2=25 February 2011}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_addlarchives_2()	-- has malformed |date2=&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/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}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive		  |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}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_addlarchives_3()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |format=addlarchives|url=https://archive.fo/20120720003512/http://libro.uca.edu/payne2/payne25.htm|date=July 20, 2012 |title=Chapter 25}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive		  |webarchive |format=addlarchives|url=https://archive.fo/20120720003512/http://libro.uca.edu/payne2/payne25.htm|date=July 20, 2012 |title=Chapter 25}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p:test_addlpages_1() -- without title&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/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|url2=https://www.webcitation.org/5jhGJWAXG?url=http://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml|date2=2009-09-11}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive		  |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}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_addlpages_2() -- uses title&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/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}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive		  |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}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_addlpages_3()	-- uses title (Title 1) and not title (page 2)&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/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 1|url2=https://www.webcitation.org/5jhGJWAXG?url=http://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml|date2=2009-09-11}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive		  |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 1|url2=https://www.webcitation.org/5jhGJWAXG?url=http://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml|date2=2009-09-11}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_addlpages_4()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |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}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive		  |webarchive |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}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_addlpages_5()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/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}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive		  |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}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_sequencegap()&lt;br /&gt;
	self:preprocess_equals_preprocess(&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive/sandbox |webarchive |url=https://web.archive.org/web/20160801000000/http://example.com/ |title=Example |date=2016-08-01 |url3=https://web.archive.org/web/20160802000000/http://example.com/ |title3=Example |date3=2016-08-02}}&amp;#039;,&lt;br /&gt;
		&amp;#039;{{#invoke:Webarchive         |webarchive |url=https://web.archive.org/web/20160801000000/http://example.com/ |title=Example |date=2016-08-01 |url3=https://web.archive.org/web/20160802000000/http://example.com/ |title3=Example |date3=2016-08-01}}&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;GreenC</name></author>
	</entry>
</feed>