현지의 p = 요구하다('모듈:단위 테스트') 기능. p:test_사용법_예시() 자신:preprocess_message_process_many('{#backup:webarchive/webarchive 실행', '}}', '{{#backup:webarchivewebarchive', '}}', { {url=https://web.archive.org/web/20160801000000/http ://example.com date=2016년 8월 1일}, {url=http://www.webcitation.org/5eWaHRbn4?url=http ://www.example.com/ date=2009년 2월 12일'}, {url=http://www.webcitation.org/5eWaHRbn4?url=http ://www.example.com/ date=2009년 2월 12일 제목=페이지 제목'} } ) 끝. 기능. p:test_템플릿_예() 자신:preprocess_message_process_many('{#backup:webarchive/webarchive 실행', '}}', '{{#backup:webarchivewebarchive', '}}', { {url=https://web.archive.org/web/20160801000000/http ://example.com date=2016년 8월 1일 제목=페이지 제목'}, {url=https://web.archive.org/web/20160801000000/http ://example.com date=2016년 8월 1일}, {url=http://www.webcitation.org/5eWaHRbn4?url=http ://www.example.com/'}, {url=https://web.archive.org/web/20160801/http ://example.com title=페이지 제목 날짜=2016년 8월 1일 url2=https://web.archive.org/web/20160901/http ://example.com title2=Page2 title date2=2016년 9월 1일'}, {url=https://web.archive.org/web/20160801/http ://example.com date=2016년 8월 1일 url2=https://web.archive.org/web/20160901/http ://example.com date2=2016년 9월 1일'}, {url=https://web.archive.org/web/20160801/http ://example.com title=페이지 제목 url2=https://web.archive.org/web/20160901/http ://example.com title2=페이지 제목'}, }) 끝. 기능. p:test_Permac() 자신:preprocess_message_process_many('{#backup:webarchive/webarchive 실행', '}}', '{{#backup:webarchivewebarchive', '}}', { {url=http://perma.cc/F9NT-22AK date=2015-04-09'}, {url=http://perma.cc/F9NT-22AK date=2015-04-09 title=메모 프레슬러 전기'}, } ) 끝. 기능. p:test_z1_notdate_notalis() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=https://archive.is/e9AAZ }', '{Num}:'Webarchive webarchive url=https://archive.is/e9AAZ }' ) 끝. 기능. p:test_z2_testdate_transmitis1() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=https://archive.is/2016.08.08-112330/http ://example.com/ }', '{Num}:'Webarchive webarchive url=example.com/ ://https://archive.is/2016.08.08-112330/http }' ) 끝. 기능. p:test_z2_testdate_testis2() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=https://archive.is/20160808112330/http ://example.com/ }', '{Num}:'Webarchive webarchive url=example.com/ ://https://archive.is/20160808112330/http }' ) 끝. 기능. p:test_z2_testdate_ukgwa() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com/ }', '{Num}:'Webarchive webarchive url=example.com/ ://https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http }' ) 끝. 기능. p:test_z2_backdate_wayback() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=https://web.archive.org/web/20160801000000/http ://example.com/ }', '{Num}:'Webarchive webarchive url=example.com/ ://https://web.archive.org/web/20160801000000/http }' ) 끝. 기능. p:test_z2_testdate_wayback_ukgwa() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=https://web.archive.org/web/20191201000000/http ://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com }', '{Num}:웹아카이브 웹아카이브 url=https://web.archive.org/web/20191201000000/http ://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com }' ) 끝. 기능. p:test_z2_webarchivedate_webarchive loc() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=http://webarchive.loc.gov/all/20160801000000/http ://example.com/ }', '{Num}:'Webarchive webarchive url=example.com/ ://http://webarchive.loc.gov/all/20160801000000/http }' ) 끝. 기능. p:test_z2_webcite_webcite() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=https://www.webcitation.org/5eWaHRbn4?url=http ://www.example.com/ }', '{Num}:'Webarchive webarchive url=www.example.com/ ://https://www.webcitation.org/5eWaHRbn4?url=http }' ) 끝. 기능. p:test_z3_transmate_transmitis1() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=https://archive.is/2016.08.08-112330/http ://example.com/ date=2017-08-21}', '{Num}:'Webarchive webarchive url=https://archive.is/2016.08.08-112330/http ://example.com/ date=2017-08-21}}' ) 끝. 기능. p:test_z3_transmate_transmitis() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=https://archive.is/20160808112330/http ://example.com/ date=2017-08-21}', '{Num}:'Webarchive webarchive url=https://archive.is/20160808112330/http ://example.com/ date=2017-08-21}}' ) 끝. 기능. p:test_z3_testdate_ukgwa() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com/ date=2017-08-21}', '{Num}:'Webarchive webarchive url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com/ date=2017-08-21}}' ) 끝. 기능. p:test_z3_backdate_wayback() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=https://web.archive.org/web/20160801000000/http ://example.com/ date=2017-08-21}', '{Num}:'Webarchive webarchive url=https://web.archive.org/web/20160801000000/http ://example.com/ date=2017-08-21}}' ) 끝. 기능. p:test_z3_testdate_wayback_ukgwa() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com ://https://web.archive.org/web/20191201000000/http date=2016-08-01}}', '{Num}:웹아카이브 웹아카이브 url=https://web.archive.org/web/20191201000000/http ://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com date=2016-08-01}' ) 끝. 기능. p:test_z3_debugdate_webarchive loc() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=http://webarchive.loc.gov/all/20160801000000/http ://example.com/ date=2017-08-21}', '{Num}:'Webarchive webarchive url=http://webarchive.loc.gov/all/20160801000000/http ://example.com/ date=2017-08-21}}' ) 끝. 기능. p:test_z3_webcite_webcite() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=https://www.webcitation.org/5eWaHRbn4?url=http ://www.example.com/ date=2017-08-21}', '{Num}:'Webarchive webarchive url=https://www.webcitation.org/5eWaHRbn4?url=http ://www.example.com/ date=2017-08-21}}' ) 끝. 기능. p:test_z4_index_욱과() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=https://webarchive.nationalarchives.gov.uk/ukgwa/*/http ://example.com/ }', '{Num}:'Webarchive webarchive url=example.com/ ://https://webarchive.nationalarchives.gov.uk/ukgwa/*/http }' ) 끝. 기능. p:test_z4_index_wayback() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=https://web.archive.org/web/*/http ://example.com/ }', '{Num}:'Webarchive webarchive url=example.com/ ://https://web.archive.org/web/*/http }' ) 끝. 기능. p:test_z4_index_webarchive loc() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=http://webarchive.loc.gov/all/*/http ://example.com/ }', '{Num}:'Webarchive webarchive url=example.com/ ://http://webarchive.loc.gov/all/*/http }' ) 끝. 기능. p:test_z5_mdy_mdy_mdysis1() 자신:preprocess_process_process( '{Num}:webarchive/sandbox webarchive url=https://archive.is/2016.08.08-112330/http ://example.com/ title=일시=mdy}', '{Num}:'Webarchive webarchive url=https://archive.is/2016.08.08-112330/http ://example.com/ title=일자=mdy}' ) 끝. 기능. p:test_z5_mdy_mdy_mdysis2() 자신:preprocess_process_process( '{Num}:webarchive/sandbox webarchive url=https://archive.is/20160808112330/http ://example.com/ title=일시=mdy}', '{Num}:'Webarchive webarchive url=https://archive.is/20160808112330/http ://example.com/ title=일자=mdy}' ) 끝. 기능. p:test_z5_mdy_ukgwa() 자신:preprocess_process_process( '{Num}:webarchive/sandbox webarchive url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com/ title=일시=mdy}', '{Num}:'Webarchive webarchive url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com/ title=일자=mdy}' ) 끝. 기능. p:test_z5_mdy_wayback() 자신:preprocess_process_process( '{Num}:webarchive/sandbox webarchive url=https://web.archive.org/web/20160801000000/http ://example.com/ title=일시=mdy}', '{Num}:'Webarchive webarchive url=https://web.archive.org/web/20160801000000/http ://example.com/ title=일자=mdy}' ) 끝. 기능. p:test_z5_mdy_wayback_ukgwa() 자신:preprocess_process_process( '{Num}:webarchive/sandbox webarchive url=https://web.archive.org/web/20191201000000/http ://example.com ://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http title=일시=mdy}', '{Num}:'Webarchive webarchive url=webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com ://https://web.archive.org/web/20191201000000/http 제목=날짜=mdy}' ) 끝. 기능. p:test_z5_mdy_webarchive loc() 자신:preprocess_process_process( '{Num}:webarchive/sandbox webarchive url=http://webarchive.loc.gov/all/20160801000000/http ://example.com/ title=일시=mdy}', '{Num}:'Webarchive webarchive url=http://webarchive.loc.gov/all/20160801000000/http ://example.com/ title=일자=mdy}' ) 끝. 기능. p:test_z5_mdy_webcite() 자신:preprocess_process_process( '{Num}:webarchive/sandbox webarchive url=https://www.webcitation.org/5eWaHRbn4?url=http ://www.example.com/ title=일시=mdy}', '{Num}:'Webarchive webarchive url=https://www.webcitation.org/5eWaHRbn4?url=http ://www.example.com/ title=일자=mdy}' ) 끝. 기능. p:test_z6_dmy_domysis1() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=example.com/ ://https://archive.is/2016.08.08-112330/http title=일시=dmy}', '{Num}:'Webarchive webarchive url=https://archive.is/2016.08.08-112330/http ://example.com/ title=일자=dmy}' ) 끝. 기능. p:test_z6_dmy_dmysis2() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=example.com/ ://https://archive.is/20160808112330/http title=일시=dmy}', '{Num}:'Webarchive webarchive url=https://archive.is/20160808112330/http ://example.com/ title=일자=dmy}' ) 끝. 기능. p:test_z6_dmy_ukgwa() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=example.com/ ://https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http title=일시=dmy}', '{Num}:'Webarchive webarchive url=https://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com/ title=일자=dmy}' ) 끝. 기능. p:test_z6_dmy_wayback() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=example.com/ ://https://web.archive.org/web/20160801000000/http title=일시=dmy}', '{Num}:'Webarchive webarchive url=https://web.archive.org/web/20160801000000/http ://example.com/ title=일자=dmy}' ) 끝. 기능. p:test_z6_dmy_wayback_ukgwa() 자신:preprocess_process_process( '{Num}:webarchive/sandbox webarchive url=https://web.archive.org/web/20191201000000/http ://example.com ://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http title=일시=dmy}', '{Num}:웹아카이브 웹아카이브 url=https://web.archive.org/web/20191201000000/http ://webarchive.nationalarchives.gov.uk/ukgwa/20160801000000/http ://example.com 제목=날짜=dmy}' ) 끝. 기능. p:test_z6_dmy_webarchive loc() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=example.com/ ://http://webarchive.loc.gov/all/20160801000000/http title=일시=dmy}', '{Num}:'Webarchive webarchive url=http://webarchive.loc.gov/all/20160801000000/http ://example.com/ title=일자=dmy}' ) 끝. 기능. p:test_z6_dmy_webcite() 자신:preprocess_process_process( '{Num}:'Webarchive/sandbox webarchive url=www.example.com/ ://https://www.webcitation.org/5eWaHRbn4?url=http title=일시=dmy}', '{Num}:'Webarchive webarchive url=https://www.webcitation.org/5eWaHRbn4?url=http ://www.example.com/ title=일자=dmy}' ) 끝. 기능. p:test_addlarchive_1() 자신:preprocess_process_process( '{Num}:웹 아카이브/샌드박스 웹 아카이브 형식=addlarchive url=https://archive.is/zKyrW date1=11 2018년 5월 url2=https://www.webcitation.org/query?url=http%3A%2F%2Fwww.albanianphotography.net%2Fen%2Fnopcsa.html&date=2011-02-25 date2=2011년 2월 25일}', '{Num}:'Webarchive webarchive format=addlarchive url=https://archive.is/zKyrW date1=11 2018년 5월 url2=https://www.webcitation.org/query?url=http%3A%2F%2Fwww.albanianphotography.net%2Fen%2Fnopcsa.html&date=2011-02-25 date2=2011년 2월 25일}' ) 끝. 기능. p:test_addlarchive_2() 잘못된 형식의 date2=이(가) 자신:preprocess_process_process( '{Num}:웹 아카이브/샌드박스 웹 아카이브 형식=addlarchive 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}', '{Num}:웹 아카이브 웹 아카이브 형식=addlarchive 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}' ) 끝. 기능. p:test_addlarchive_3() 자신:preprocess_process_process( '{Num}:웹 아카이브/샌드박스 웹 아카이브 형식= 아카이브 추가 url=https://archive.fo/20120720003512/http ://libro.uca.edu/payne2/payne25.htm date=2012년 7월 20일 제목=오토바이 25}', '{Num}:웹 아카이브 웹 아카이브 형식=addlarchive url=https://archive.fo/20120720003512/http ://libro.uca.edu/payne2/payne25.htm date=2012년 7월 20일 제목=오토바이 25}' ) 끝. 기능. p:test_addlpage_1() 무제의 자신:preprocess_process_process( '{Num}:웹 아카이브/샌드박스 웹 아카이브 형식=addlpagesurl=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml 날짜=2009년 9월 11일 url2=https://www.webcitation.org/5jhGJWAXG?url=http ://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml 날짜2=2009-09-11}', '{Num}:'Webarchive webarchive format=addlpagesurl=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml date=2009년 9월 11일 url2=archive.gamespy.com/reviews/june02/neverwinter/index3.shtml ://https://www.webcitation.org/5jhGJWAXG?url=http date2=2009-09-11}' ) 끝. 기능. p:test_addlpage_2() 제목 사용 자신:preprocess_process_process( '{Num}:웹 아카이브/샌드박스 웹 아카이브 형식=addlpagesurl=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml 날짜=2009년 9월 11일 제목=2페이지 url2=https://www.webcitation.org/5jhGJWAXG?url=http ://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml 날짜2=2009-09-11 제목2=3페이지}', '{Num}:웹 아카이브 웹 아카이브 형식=addlpagesurl=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml 날짜=2009년 9월 11일 제목=2페이지 url2=https://www.webcitation.org/5jhGJWAXG?url=http ://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml 날짜2=2009-09-11 제목2=3페이지}' ) 끝. 기능. p:test_addlpage_3() 제목(제목 1)을 사용하고 제목(2페이지)을 사용하지 않습니다. 자신:preprocess_process_process( '{Num}:웹 아카이브/샌드박스 웹 아카이브 형식=addlpages url=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml 날짜=2009년 9월 11일 제목=제목 1 url2=https://www.webcitation.org/5jhGJWAXG?url=http ://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml date2=2009-09-11}', '{Num}:웹 아카이브 웹 아카이브 형식=addlpagesurl=https://www.webcitation.org/5jhGJ8vA8?url=http%3A%2F%2Farchive.gamespy.com%2Freviews%2Fjune02%2Fneverwinter%2Findex2.shtml 날짜=2009년 9월 11일 제목=제목 1 url2=https://www.webcitation.org/5jhGJWAXG?url=http ://archive.gamespy.com/reviews/june02/neverwinter/index3.shtml date2=2009-09-11}' ) 끝. 기능. p:test_addlpage_4() 자신:preprocess_process_process( '{Num}:웹 아카이브/샌드박스 웹 아카이브 날짜=2009년 9월 24일 url=https://www.webcitation.org/5k2BxXFOx?url=http ://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p2.html title=2페이지 url2=https://www.webcitation.org/5k2ByyK40?url=http date2=2009-09-24 title2=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=https://www.webcitation.org/5k2C1rcsV?url=http 4페이지 url4=/pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p5.html date4=2009-09-24 title4=5페이지}', '{Num}:웹 아카이브 웹 아카이브 날짜=2009년 9월 24일 url=https://www.webcitation.org/5k2BxXFOx?url=http ://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p2.html 제목=2페이지 url2=https://www.webcitation.org/5k2ByyK40?url=http ://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p3.html 날짜2=2009-09-24 제목2=3페이지 url3=pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p4.html ://pc.gamespy.com/pc/neverwinter-nights-2-adventure-pack-mysteries-of-westgate/873407p5.html 날짜3=2009-09-24 제목3=4페이지 url4=https://www.webcitation.org/5k2C1rcsV?url=http ://https://www.webcitation.org/5k2C0MCbs?url=http 날짜4=2009-09-24 제목5페이지}' ) 끝. 기능. p:test_addlpage_5() 자신:preprocess_process_process( '{Num}:웹 아카이브/샌드박스 웹 아카이브 형식=addlpages url1=https://web.archive.org/web/20040722032824/http ://www.nationalgeographic.com/adventure/0404/adventure_books_1-19.html date1=2004년 7월 22일 url2=www.nationalgeographic.com/adventure/0404/adventure_books_20-39.html ://https://web.archive.org/web/20040831001359/http date2=2004-08-31 url3=www.nationalgeographic.com/adventure/0404/adventure_books_40-59.html ://https://web.archive.org/web/20040830100950/http date3=2004-08-31 url4=www.nationalgeographic.com/adventure/0404/adventure_books_60-79.html ://www.nationalgeographic.com/adventure/0404/adventure_books_80-100.html date4=2004-08-31 https://web.archive.org/web/20040831001341/http date5=https://web.archive.org/web/20040831001431/http date5=2004-08-08-08-31 5 date1}', '{Num}:웹 아카이브 웹 아카이브 형식=addlpages url1=https://web.archive.org/web/20040722032824/http ://www.nationalgeographic.com/adventure/0404/adventure_books_1-19.html date1=2004년 7월 22일 url2=www.nationalgeographic.com/adventure/0404/adventure_books_20-39.html date2=2004-08-31 url3=www.nationalgeographic.com/adventure/0404/adventure_books_40-59.html ://www.nationalgeographic.com/adventure/0404/adventure_books_80-100.html date3=2004-08-31 url4=www.nationalgeographic.com/adventure/0404/adventure_books_60-79.html ://https://web.archive.org/web/20040830100950/http date4=2004-08-31 https://web.archive.org/web/20040831001341/http date5=2004-08-31 https://web.archive.org/web/20040831001359/http date5}' ) 끝. 기능. p:test_시퀀스 갭() 자신:preprocess_process_process( '{Num}:웹아카이브/샌드박스 웹아카이브 url=example.com/ ://example.com/ title=일자=2016-08-01 url3=https://web.archive.org/web/20160802000000/http ://https://web.archive.org/web/20160801000000/http title3=예시 date3=2016-08-02}}', '{Num}:웹아카이브 웹아카이브 url=https://web.archive.org/web/20160801000000/http ://example.com/ title=일자=2016-08-01 url3=https://web.archive.org/web/20160802000000/http ://example.com/ title3=예시 date3=2016-08-01}}' ) 끝. 돌아가다 p