Jump to content

Template:Expand language/testcases

From Wikipedia, the free encyclopedia

cat changes (ER Jun 2022)

[edit]
See RfC:_Maintenance_categorization and edit request June_11,_2022. 08:19, 25 June 2022 (UTC)
Also testing: {{Expand French}}; |topic=geo
using {{testcase table}}. -DePiep (talk) 08:19, 25 June 2022 (UTC)
Testcases failed, could not check changes. Also not in preview-live in mainspace article. -DePiep (talk) 08:36, 25 June 2022 (UTC)
@N8wilson: I am at a loss here. -DePiep (talk) 08:36, 25 June 2022 (UTC)
Thx DePiep. This change is more easily tested through Special:ExpandTemplates. The reason we don't see it here is because the line in question calls {{DMCA}} which itself calls {{Dated maintenance category}} passing a parameter that only applies categorization when its used in the main article namespace (note the |onlyarticles=yes bit). With the /testcases page being in the Template namespace, what we should see here is no change between the live and sandbox versions. Testing must be done in sequence at Special:ExpandTemplates since there is no side-by-side option but at least there you can see the categories change appropriately under the 'Preview' section as you change which template is applied.
The "Show preview" button can also be used in mainspace to test without applying changes. (Is that what you're referring to by "preview-live"?) The trick here is that the only changes should be to hidden categories and weirdly - the changes do show up in the rendered categories box at the bottom of the previewed page (which presumably requires personal settings active to show hidden categories) but the change is simultaneously excluded from the expandable report for "This page is a member of X hidden categories" that appears under the editing area. Meaning in preview mode, that report may show 3 hidden categories and then underneath that, the preview will render 5 or 6 hidden categories which includes the additional ones added with the previewed edit. The reverse can be seen when hidden categories are to be removed with a previewed edit. I can't explain the reason for this but it seems to suggest that the categories would be changed only if the edit in preview is subsequently saved. --N8wilson 14:07, 25 June 2022 (UTC)
Of course, expand. Anyway, I will not continue testing but I hope you've comforted yourself for the edit :-) -DePiep (talk) 14:10, 25 June 2022 (UTC)

1

[edit]
Side by side comparison
{{Expand language}}{{Expand language/sandbox}}

2

[edit]
Side by side comparison
{{Expand language}}{{Expand language/sandbox}}

/fr

[edit]
{{Expand French}}
Side by side comparison
{{Expand French}}{{Expand French/sandbox}}
Side by side comparison
{{Expand French}}{{Expand French/sandbox}}

Malayalam (ml)

[edit]

Live template

[edit]
{{Expand language
|langcode=ml
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}


Sandbox

[edit]
{{Expand language/sandbox
|langcode=ml
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Malay (ms)

[edit]

Live template

[edit]
{{Expand language
|langcode=ms
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Sandbox

[edit]
{{Expand language/sandbox
|langcode=ms
|otherarticle={{{1|}}}
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Two languages

[edit]

Otherarticle

[edit]
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Live template followed by sandbox version.

No otherarticle

[edit]
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Live template followed by sandbox version.

Three languages

[edit]

Otherarticle

[edit]
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|langcode3=sv
|otherarticle=A
|otherarticle2=A
|otherarticle3=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

No otherarticle

[edit]
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|langcode3=sv
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Param section

[edit]

Section and one language

[edit]
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section={{{section|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
section=yes
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section=yes
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
section=(empty)
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
section=no
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section=no
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
missing
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
something besides 'yes' or 'no'
{{Expand language/sandbox
|langcode=es
|otherarticle=A
|date={{{date|}}}
|section=blue skies
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}

Section and two

[edit]
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|section={{{section|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
yes
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|section=yes
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
no
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|section=no
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}
missing
{{Expand language/sandbox
|langcode=de
|langcode2=fr
|otherarticle=A
|otherarticle2=B
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
|nodoc=yes
}}