Jump to content

Template talk:Connected contributor/Archive 3

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 1Archive 2Archive 3

Edit request 26 March 2023

Description of suggested change: I want to make a change to the line:

{{#ifeq:{{{U1-banned|{{{banned|}}}}}}|yes|This user...}} [plus all subsequent repetitions of the line]

I noticed that this simply checks if {{{banned}}} is equal to yes, rather than using {{yesno}}. As such, I want to change it to this:

{{#if:{{yesno|{{{U1-banned|{{{banned|}}}}}}}}|This user...}}

and, of course, {{{U2-banned}} and onwards with:

{{#if:{{yesno|{{{U2-banned}}}}}|This user...}}
Diff:

Diff:

| 4 = {{#ifeq:{{{U1-banned|{{{banned|}}}}}}|yes|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#ifeq:{{{U2-banned}}}|yes|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#ifeq:{{{U3-banned}}}|yes|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#ifeq:{{{U4-banned}}}|yes|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#ifeq:{{{U5-banned|}}}|yes|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#ifeq:{{{U6-banned}}}|yes|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#ifeq:{{{U7-banned}}}|yes|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#ifeq:{{{U8-banned}}}|yes|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#ifeq:{{{U9-banned}}}|yes|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#ifeq:{{{U10-banned}}}|yes|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}}
+
| 4 = {{#if:{{yesno|{{{U1-banned|{{{banned|}}}}}}}}|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#if:{{yesno|{{{U2-banned}}}}}|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#if:{{yesno|{{{U3-banned}}}}}|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#if:{{yesno|{{{U4-banned}}}}}|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#if:{{yesno|{{{U5-banned}}}}}|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#if:{{yesno|{{{U6-banned}}}}}|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#if:{{yesno|{{{U7-banned}}}}}|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#if:{{yesno|{{{U8-banned}}}}}|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#if:{{yesno|{{{U9-banned}}}}}|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}} | 4 = {{#if:{{yesno|{{{U10-banned}}}}}|This user has been banned and [[WP:REVERTBAN|may therefore be reverted on sight]].}}

{{Lemondoge|Talk|Contributions}} 23:29, 26 March 2023 (UTC)

Please post your proposed edits to this template's [sandbox], and we can see how they appear on the [testcases] page. At this moment sandbox code is already synched to the live template. P.I. Ellsworth , ed. put'er there 01:08, 27 March 2023 (UTC)
Done. Appears to produce the same result on testcases. {{Lemondoge|Talk|Contributions}} 17:34, 27 March 2023 (UTC)
 Completed. P.I. Ellsworth , ed. put'er there 08:22, 28 March 2023 (UTC)

Template-protected edit request on 2 October 2023

Please change [[File:Ambox warning blue.svg|40px|alt=Blue alert icon.]] to [[File:Ambox warning blue.svg|40px|link=|alt=]] and [[File:Ambox warning blue.svg|30px|alt=Blue alert icon.]] to [[File:Ambox warning blue.svg|30px|link=|alt=]] per MOS:PDI, as the images are purely decorative. HouseBlastertalk 11:58, 2 October 2023 (UTC)

 Done — Martin (MSGJ · talk) 09:50, 3 October 2023 (UTC)

Edit request 12 January 2024

Description of suggested change: Use {{yesno}} for editedhere.

Diff:

{{#switch:{{{U1-EH|{{{editedhere|}}}}}}|yes=This user has contributed to the article.|no=This user has <em>not</em> edited the article.}} {{#if:{{yesno|{{{U1-EH|{{{editedhere|}}}}}}}}|This user has contributed to the article.|This user has <em>not</em> edited the article.}}

jlwoodwa (talk) 21:45, 12 January 2024 (UTC)

We want to ensure that instances of |editedhere= that are left undefined don't get assumed to be no. But if that's handled, then switching to {{yesno}} to make this template a little more flexible sounds fine to me. {{u|Sdkb}}talk 22:49, 12 January 2024 (UTC)
This was probably assumed in the original request and so maybe I am stating the obvious, but this would need to be applied to U1-EH through U10-EH, like it is for -declared and -banned.  — Archer (t·c) 22:55, 12 January 2024 (UTC)
@Jlwoodwa and Archer1234: I updated the sandbox accordingly, but Sdkb is right, {{yesno}} should be handled first. I'm not performing the edit for the time being. Est. 2021 (talk · contribs) 23:03, 17 January 2024 (UTC)

Deactivating edit request as the code here does not appear to be ready to go live. * Pppery * it has begun... 21:18, 26 January 2024 (UTC)