Template:Archives/testcases

From Bharatpedia, an open encyclopedia

__EXPECTUNUSEDTEMPLATE__

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

Template:Archives/testcases/box

Test cases_2 – Banner style

Template:Archives/testcases/banner

Test cases 3 – remote testing via ExpandTemplates

Talk pages having a MuskitBot/config

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 MuskitBot/config:

Talk pages having a MuskitBotconfig

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 cases for parameters

Smoke test

These are some tests designed for use from the doc page; transcludedd here for convenience and visibility.

Smoke tests for

archivebotparse upgrade

Click [show] for tests for the archivebotparse upgrade
minkeepthreads
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}}

Talk:France

{{Archives|root=Talk:France}}

{{Archives/sandbox|root=Talk:France}}

{{Archives|root=Talk:France|banner=yes}}

{{Archives/sandbox|root=Talk:France|banner=yes}}

Talk:2022

{{Archives|root=Talk:2022}}

{{Archives/sandbox|root=Talk:2022}}

{{Archives|root=Talk:2022|banner=yes}}

{{Archives/sandbox|root=Talk:2022|banner=yes}}

Talk:Macedonia

{{Archives|root=Talk:Macedonia}}

{{Archives/sandbox|root=Talk:Macedonia}}

{{Archives|root=Talk:Macedonia|banner=yes}}

{{Archives/sandbox|root=Talk:Macedonia|banner=yes}}