Jump to content

Wikipedia talk:Templates for discussion

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Wikipedia talk:TFD)

XFD backlog
V Dec Jan Feb Mar Total
CfD 0 0 23 65 88
TfD 0 0 0 5 5
MfD 0 0 0 3 3
FfD 0 0 2 6 8
RfD 0 0 19 53 72
AfD 0 0 0 0 0

Tfd top dark mode

[edit]

@JPxG and Sohom Datta: Related to #Inline_styles? (Template talk:Afd top § Inline styles?), can we have a similar dark mode implementation for the actual template {{tfd top}}? 172.97.141.219 (talk) 08:01, 9 December 2024 (UTC)[reply]

TFD linking discussion

[edit]

There is a discussion about changing how we notify users about TFDs. Please join in the conversation. Primefac (talk) 18:45, 17 December 2024 (UTC)[reply]

Who replaced {{IPA-art}}?

[edit]

I wish art had been kept. In whose contributions can I see the replacements? Nardog (talk) 12:46, 22 January 2025 (UTC)[reply]

Mine. I used {{IPA}} as the template says to do. Gonnym (talk) 12:55, 22 January 2025 (UTC)[reply]
Thanks, added specific ISO 639 codes as far as I could. You also forgot |label=—see Bertilo Wennergren, Chicxulub crater. Nardog (talk) 13:48, 22 January 2025 (UTC)[reply]
[edit]

Please upgrade Module:Tfd links to add the extra "substed" link produced by {{Tfd links2}}. E.g.,:

Thanks, Mathglot (talk) 10:46, 14 March 2025 (UTC)[reply]

Comment: The second template uses {{Find substed}}, which is rated as "alpha", not ready for widespread deployment. – Jonesey95 (talk) 16:15, 14 March 2025 (UTC)[reply]
I also note that it assumes that the template includes a comment with the name of the template in the substed output. That's not guaranteed. Anomie 23:17, 14 March 2025 (UTC)[reply]
Yeah, I put the alpha rating there, because it involves some features of Cirrus regex that were new to me, but I doubt they will be new to Lua programmers. The point is, the concept is sound, you can test {{Tfd links2}} (or {{Find substed}}) with a ton of templates, and afaict it always brings up the correct accurate (even if not complete) results. Maybe a Lua programmer will find an even better, more robust regex than I did, but even if not, the new link is a huge boon to Tfd responders who up to now, simply cannot find real examples in the wild of templates that have been substed. (edit conflict) Mathglot (talk) 23:25, 14 March 2025 (UTC)[reply]
Not guaranteed, but there for all user warning templates currently, and could be introduced gradually to others over time. We shouldn't let the perfect be the enemy of the good: this is a clear win for Tfd responders who currently do not have a clue who is using a substed template or why, and thus have little concrete data upon which to base a decision other than general principles. It could also be used to loop in actual, substed-template users into a discussion to get their perspective; this was done here, for example. If need be, just change the link text, to 'substed (labeled)' or something. At worst, the new link could be suppressed, for those always-subst templates that do not contain the template label in the source. Mathglot (talk) 23:51, 14 March 2025 (UTC)[reply]
Actually, not suppressed but unlinked (maybe even grayed out) would be ideal, because that would tell you at a glance that you were dealing with an untagged, always-subst template, so you are basically SOL trying to find uses of it, unless you know your regexes and the message has a unique expression you can search for. But not too many responders are going to do that, even if they know how. Mathglot (talk) 01:28, 15 March 2025 (UTC)[reply]
I support the addition of this link as quite useful, as long as we trust {{Find substed}}. – Jonesey95 (talk) 13:10, 16 March 2025 (UTC)[reply]
As I've raised here, if any new link should be added it's a general insource link. Gonnym (talk) 13:35, 16 March 2025 (UTC)[reply]
That's what this is. If you have a different suggestion for different code, you can add it to the sandbox. – Jonesey95 (talk) 21:19, 17 March 2025 (UTC)[reply]
This isn't it. This searches for a hidden comment, which means that any actual usage of a template hidden in code isn't found. My oppose still stands, this code isn't good enough. Gonnym (talk) 10:42, 23 March 2025 (UTC)[reply]
Can you elaborate or explain? I do not understand what "any actual usage of a template hidden in code isn't found" means. Alternatively (or in addition), what code (or functional result of better code) would be good enough? Maybe it can be improved, if I can understand what the issue is. Mathglot (talk) 19:41, 23 March 2025 (UTC)[reply]
Still struggling with understanding the objection. One interpretation I came up with for your remark, is this: "This template does not find substed templates that have no hidden identifier, so the result set will necessarily be incomplete." That is, of course, entirely true, and I know no way of doing so, as a substed template leaves no trace. That is the whole point of having the id, to leave bread crumbs, and what this template attempts to find. If this interpretation is correct, what if we simply change the name of the template to: Template:Find hidden template id? Then, the result set would be complete, there would be no further implication about finding substed templates, and the objection would go away in that case (iiuc). Would that work for you? Mathglot (talk) 19:51, 23 March 2025 (UTC)[reply]
We could upgrade it to check whether the template contains the identifier, and by default, return empty string if it doesn't have it, which would signal Tfd links not to emit the link (unless |force=1, then it could emit a link that returns zero results). Mathglot (talk) 20:51, 23 March 2025 (UTC)[reply]
Pinging Primefac, who took part in the archived discussion you linked, who maybe can shed some light on this. Mathglot (talk) 20:18, 23 March 2025 (UTC)[reply]