The testcases have been split into 2 pages due to the two main types of display option (Banner / Box ) and to have them all on a single page would give that page long load times.
Test cases_1 – Box style [ edit ]
Template:Archives/testcases/box
Test cases_2 – Banner style [ edit ]
Template:Archives/testcases/banner
Test cases 3 – remote testing via ExpandTemplates [ edit ]
We can code tests in ExpandTemplates, and link them url-encoded here, which will provide a testcase embedded in the link and executed at ExpandTemplates, not here. Each one of these tests shows four results, namely a simple call to the live template or the sandbox for the given Talk page, and another pair that calls them with |banner=yes
:
Test Template:Archives in the context of the following Talk pages which use MiszaBot/config :
Test 1: Talk:France – expect 90 days, minthreads = 4
Test 2: Talk:Muammar Gaddafi – expect 90 days, minthreads = 4
Test 3: Talk:Physics – expect 60 days
Test 4: Talk:Noam Chomsky – expect 45 days, minthreads = 3
Test 5: Talk:Mustang – expect 61 days
Test 6: User talk:Aaron Liu/sandbox – expect:
test 6a: 418d
test 6b: ~95d/2278h, minthreads = 2
Errors in this bunch have to do somehow with the urlencoding; by pasting these tests into Special:ExpandTemplates they work fine. Instead, paste the following into ExpandTemplates:
===Live===
Live: {{Archives}}
{{clear}}
===Sandbox===
{{Archives/sandbox}}
{{clear}}
===Live +banner ===
{{Archives|banner=yes}}
{{clear}}
===Sandbox +banner ===
{{Archives/sandbox|banner=yes}}
and choose one of the Talk page names below for the Context title to generate a pair of results per TP name; compare the two to see the effects of the sandbox changes compared to live.
Test 1: Talk:The Exorcist – expect 30 days/720hours, minthreads = 4
Test 2: Talk:List of colors – expect 7.5d/183h, minthreads = 4
Test 3: Talk:Toronto – expect 60d/1440h
Test 4: Talk:Switzerland – expect 120d/2880h, minthreads = 5
Test 5: Talk:Macedonia – expect 90d/2160 minthreads = 4
Test 6: User talk:Aaron Liu – expect:
test 6a: 30d/720h minthreads = 2
test 6b: ~95d/2278h
Smoke test [ edit ]
These are some tests designed for use from the doc page; transcludedd here for convenience and visibility.
Smoke tests for
archivebotparse upgrade [ edit ]
Click [show] for tests for the archivebotparse upgrade
minkeepthreads
{{Th/abp |minkeepthreads|Talk:France}}
→ 4
{{Th/abp/sbx |minkeepthreads|Talk:France}}
→ 4
minthreadstoarchive
{{Th/abp |minthreadstoarchive|Talk:Facebook}}
→
{{Th/abp/sbx |minthreadstoarchive|Talk:Facebook}}
→
minarchthreads
{{Th/abp |minarchthreads|Talk:Toronto}}
→
{{Th/abp/sbx |minarchthreads|Talk:Toronto}}
→
minarchthreads
{{Th/abp |minarchthreads|Talk:Website}}
→
{{Th/abp/sbx |minarchthreads|Talk:Website}}
→
maxkeepbytes
{{Th/abp |maxkeepbytes|Talk:The Paul Green School of Rock Music}}
→
{{Th/abp/sbx |maxkeepbytes|Talk:The Paul Green School of Rock Music}}
→
{{Archives |root=Talk:France}}
→
Archives
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present.
{{Archives/sandbox |root=Talk:France}}
→
Archives
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present.
{{Archives |root=Talk:France|banner=yes}}
→
Archives: 1 , 2 , 3 , 4 , 5 , 6 , 7
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present.
{{Archives/sandbox |root=Talk:France|banner=yes}}
→
Archives: 1 , 2 , 3 , 4 , 5 , 6 , 7
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present.
{{Archives |root=Talk:2022}}
→
Archives
This page has archives. Sections older than 30 days may be automatically archived by ClueBot III when more than 10 sections are present.
{{Archives/sandbox |root=Talk:2022}}
→
Archives
This page has archives. Sections older than 30 days may be automatically archived by ClueBot III when more than 10 sections are present.
{{Archives |root=Talk:2022|banner=yes}}
→
Archives: 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17
This page has archives. Sections older than 30 days may be automatically archived by ClueBot III when more than 10 sections are present.
{{Archives/sandbox |root=Talk:2022|banner=yes}}
→
Archives: 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17
This page has archives. Sections older than 30 days may be automatically archived by ClueBot III when more than 10 sections are present.
{{Archives |root=Talk:Macedonia}}
→
Archives
This page has archives. Sections older than 90 days may be automatically archived by ClueBot III when more than 4 sections are present.
{{Archives/sandbox |root=Talk:Macedonia}}
→
Archives
This page has archives. Sections older than 90 days may be automatically archived by ClueBot III when more than 4 sections are present.
{{Archives |root=Talk:Macedonia|banner=yes}}
→
Archives: 1 , 2 , 3 , 4 , 5
This page has archives. Sections older than 90 days may be automatically archived by ClueBot III when more than 4 sections are present.
{{Archives/sandbox |root=Talk:Macedonia|banner=yes}}
→
Archives: 1 , 2 , 3 , 4 , 5
This page has archives. Sections older than 90 days may be automatically archived by ClueBot III when more than 4 sections are present.