Jump to content

Template talk:Unsigned

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Template Unsigned2 is deprecated?

[edit]

Template {{Unsigned2}} is deprecated? Please see Template_talk:Unsigned2#Deprecated_template?--Estopedist1 (talk) 06:09, 27 September 2021 (UTC)[reply]

Save you a click: Nope, the user just misinterpreted User:AnomieBOT/docs/TemplateSubster. {{ping|ClydeFranklin}} (t/c) 20:50, 27 March 2023 (UTC)[reply]

Edit request: trim

[edit]

Please change all occurences of

{{{1<noinclude>|Example</noinclude>}}}

to

{{{{{|safesubst:}}}trim|{{{1<noinclude>|Example</noinclude>}}}}}

This will trim the leading and trailing whitespaces/newline, from the input. I learned in my most recent usage of this template that these whitespaces aren't being trimmed by default. CX Zoom[he/him] (let's talk • {CX}) 21:30, 4 May 2023 (UTC)[reply]

This looks like a reasonable request. Can you please give an example, maybe via a diff or sample code, showing why this is needed? – Jonesey95 (talk) 21:57, 4 May 2023 (UTC)[reply]
@CX Zoom: * Pppery * it has begun... 18:41, 9 May 2023 (UTC)[reply]
Thanks for the ping, I wasn't subscribed. Here is an example: Special:Diff/1153209143. Notice how it is [[User:CapnJackSp |CapnJackSp ]] ([[User talk:CapnJackSp #top|talk]], with spaces because I had left a space beyond the username; the diff preceding it shows no space, because in that case I did not leave a space beyond the name. CX Zoom[he/him] (let's talk • {CX}) 19:28, 9 May 2023 (UTC)[reply]
I'm inclined to decline this - the Wikilink syntax already appears to ignore the extra space, so I see no reason we shouldn't let it. * Pppery * it has begun... 19:32, 9 May 2023 (UTC)[reply]
Not when you use multi-line formatting, might be very rare to use it in this manner but plausible. See Special:Diff/1154024441. trim fixes all cases. CX Zoom[he/him] (let's talk • {CX}) 19:39, 9 May 2023 (UTC)[reply]
This hypothetical multi-line usage causes a Linter error. I've been fixing Linter errors for five years now – I've fixed hundreds of thousands of them – and I don't recall seeing a single instance of this problem in this template or any of its siblings. My memory is not perfect, but this seems like a solution in search of a problem. – Jonesey95 (talk) 23:46, 9 May 2023 (UTC)[reply]
This doesn't apply to IP users' [[Special:Contributions/<IP user>]] pages. Duplicated this request (with reasoning+examples) over at unsigned IP. Tule-hog (talk) 20:22, 25 October 2024 (UTC)[reply]
 Not done: See Jonesey comment. Izno (talk) 22:18, 12 May 2023 (UTC)[reply]

Revert of Gonnym's change

[edit]

User:Gonnym made a breaking change to this template this morning, swapping parameters due to an unspecified TFD that was not advertised on this page. I have reverted pending discussion.

IMO, if people want to be able to specify the date first and username second for some reason, despite signatures having the username first and date second, and don't want to use {{subst:unsigned2}} to do that, someone should write a module that will determine which parameter is the username and which the date and DWIM it instead of surprise-breaking User:SineBot, User:Anomie/unsignedhelper.js, and whatever else is out there. Anomie 13:16, 5 May 2025 (UTC)[reply]

You do know that instead of calling it a unspecified TFD, you could have taken a second to check the TfD and find it, right?. For anyone else intrested, the TfD was at Wikipedia:Templates_for_discussion/Log/2025_April_21#Template:Unsigned2. If you want to challenge it, that is either at User:Explicit, or WP:Deletion review. This talk page isn't the place. Gonnym (talk) 13:21, 5 May 2025 (UTC)[reply]
And I was supposed to find that how, exactly? Digging through all recent TFDs hoping to find the right one?
This is an appropriate place to discuss breaking changes to this template. A TFD that was never advertised here is not. Anomie 18:15, 5 May 2025 (UTC)[reply]
It should be obvious that breaking a substituted template that has been widely used for many years is a big step that would require discussion here and notification at noticeboards where people who use the template in some tool (such as me) would have a chance of seeing it. Johnuniq (talk) 01:45, 6 May 2025 (UTC)[reply]

Removal of UTC from module

[edit]

@HouseBlaster: I noticed that you removed code that appended "(UTC)" to the unsigned signature (Special:Permalink/877272498 #L13-19 prior to your edits). This is causing the corresponding reply to not be recognised by the Talk Page parser, which has resulted in the removal of [reply] links, miscounting the number of comments in a discussion and failure to use Special:GoToComment and misleading notifications. With no recognisable signature, the parser assumes that the reply is part of the next signed reply. Please fix the code to append (UTC) as it used to do before. Thanks! CX Zoom[he/him] (let's talk • {CX}) 00:50, 13 June 2025 (UTC)[reply]

Is that actually happening? It should be re-added by Module:Unsigned#L-22. It seems to be working at the latest SineBot edit I checked (Special:Diff/1295299829). And this is intentionally signed using {{subst:unsigned}}, code being {{subst:unsigned|HouseBlaster|01:02, 13 June 2025}}: — Preceding unsigned comment added by HouseBlaster (talkcontribs) 01:02, 13 June 2025 (UTC)[reply]
@HouseBlaster: Apparently, this doesn't work with {{unsigned2}}:
{{subst:unsigned2|01:10, 13 June 2025|CX Zoom}} gives — Preceding unsigned comment added by CX Zoom (talkcontribs) 01:10, 13 June 2025
. CX Zoom[he/him] (let's talk • {CX}) 01:09, 13 June 2025 (UTC)[reply]
Ah.  Fixed. As a note, you can now use {{unsigned}} in place of {{unsigned2}}, which is a redirect :) HouseBlaster (talk • he/they) 01:20, 13 June 2025 (UTC)[reply]
Thank you very much! CX Zoom[he/him] (let's talk • {CX}) 01:23, 13 June 2025 (UTC)[reply]