๐Ÿ‡ฎ๐Ÿ‡ท Iran Proxy | https://www.wikipedia.org/wiki/Template:Archives/testcases
Jump to content

Template:Archives/testcases

From Wikipedia, the free encyclopedia

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]

Talk pages having a MiszaBot/config

[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:

Talk pages having a Cluebot config

[edit]

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 6: User talk:Aaron Liu โ€“ expect:
    • test 6a: 30d/720h minthreads = 2
    • test 6b: ~95d/2278h

Test cases for parameters

[edit]

Smoke test

[edit]

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