Wikipedia:Templates for discussion/Log/2024 September 27: Difference between revisions
Geschichte (talk | contribs) |
|||
Line 96: | Line 96: | ||
*'''Delete''' agree with nominator. Especially as participating teams have not been confirmed. [[User:LibStar|LibStar]] ([[User talk:LibStar|talk]]) 16:16, 27 September 2024 (UTC) |
*'''Delete''' agree with nominator. Especially as participating teams have not been confirmed. [[User:LibStar|LibStar]] ([[User talk:LibStar|talk]]) 16:16, 27 September 2024 (UTC) |
||
* '''Delete''' - years in advance, templates probably wont be used for this anyway. [[User:SimplyLouis27|SimplyLouis27]] ([[User talk:SimplyLouis27|talk]]) 06:19, 28 September 2024 (UTC) |
|||
*'''Delete''', mainly to react against the perceived need to create articles and other things too many years in advance. [[User:Geschichte|Geschichte]] ([[User talk:Geschichte|talk]]) 07:17, 28 September 2024 (UTC) |
|||
==== [[Template:Lee Myung-bak cabinet]] ==== |
==== [[Template:Lee Myung-bak cabinet]] ==== |
Revision as of 07:17, 28 September 2024
Redundant to {{Flag IOC 2 athlete}}. {{Flag IOC athlete non-Olympic|Mark Spitz|USA}}
( Mark Spitz (USA)) can be replaced with {{Flag IOC 2 athlete|Mark Spitz|USA}}
( Mark Spitz (USA)) --Ahecht (TALK
PAGE) 19:00, 27 September 2024 (UTC)
- @Ahecht, thanks for catching this redundancy. As the sole author I redirected it to {{Flag IOC 2 athlete}}, so I think this can be closed. --Habst (talk) 19:05, 27 September 2024 (UTC)
The only real English article linked is the embassy in the Netherlands. The India entry is a redirect. Pointless to have a nax box for 1 entry. LibStar (talk) 15:13, 27 September 2024 (UTC)
Pointless to have a nav box for 1 English entry. LibStar (talk) 15:11, 27 September 2024 (UTC)
Pointless to have a nav box with just 2 entries. LibStar (talk) 14:59, 27 September 2024 (UTC)
Only has 1 English entry. Pointless for a nav box. LibStar (talk) 14:48, 27 September 2024 (UTC)
- Module:Geological range (talk · history · transclusions · logs · subpages)
Unused module. Gonnym (talk) 13:29, 27 September 2024 (UTC)
Replace and delete lang-?? templates
Replace and delete the approximately 1145 {{lang-??}}
templates listed at Wikipedia:Templates for discussion/Log/2024 September 27/lang-?? templates with the single template {{langx}}
.
The {{lang-??}}
templates are all more-or-less forks of some ancient ancestor. Like {{lang}}
the primary purpose of these templates is to render non-English text in a way that is html-correct and compliant with the Manual of Style. {{langx}}
uses the same rendering code as the {{lang-??}}
templates so, given the same language tag and text, renders an identical output:
{{lang-es|casa}}
→[[:Template:Lang-es]]
→ Template:Lang-es{{langx|es|casa}}
→[[Spanish language|Spanish]]: <i lang="es">casa</i>
→ Spanish: casa
Like {{lang}}
, {{langx}}
supports all of the 8000+ languages listed in the IANA language-subtag-registry file. {{lang-??}}
: one template for one language; {{langx}}
: one template for 8000 languages.
Background
|
---|
The
For editors who need another language template, their options til now have been:
Previous TfDs related to language tagging:
|
At this writing template tagging is underway. There are editors who dislike the invasive nature of TfD tags. To minimize annoyance, only instances of {{lang-de}}
will display TfD tags.
—Trappist the monk (talk) 13:05, 27 September 2024 (UTC)
- Tagging done.
- —Trappist the monk (talk) 15:40, 27 September 2024 (UTC)
- Replace usages with {{Langx}} and delete all lang-?? templates. The current system of creating and maintaining over 1.1k templates (with the protentional of it increasing to 8k templates) is a bad system to keep.
- It always requires active maintenance. If in the future a feature is added, support will need to be manually added to those templates that need it. Here is a very recent example of a template request from a user requesting to add categories or Template:Lang-tdd and Template:Lang-prk, which converted the templates to the newer lang system.
- It requires watching over 1k templates to make sure everything is ok and no vandalism or accidental breakage happens. Here is an example of something slipped through and stayed undetected for over 2 years: Template:Lang-clm had over two years a broken category
- New templates are always being created. Some of them are created for no real reason and left unused: Template:Lang-mtm, Template:Lang-nio, Template:Lang-ohu examples of recently created templates (and currently unused).
- The proposed system eliminates all of this and has everything located in one template. For users the change is only one additional character more so is a non-issue. As shown in the proposal, related systems, have previously been converted with much success. Gonnym (talk) 13:44, 27 September 2024 (UTC)
- The x in the name is for "explicit label", as opposed to {{lang}}? --Joy (talk) 14:37, 27 September 2024 (UTC)
- I originally wanted
{{lang-xx}}
but that name is already in use. Unable to think of a better name, we settled on{{langx}}
where the 'x' is an arbitrary character to disambiguate from{{lang}}
so it can mean anything you want it to mean. If you have a better name... - —Trappist the monk (talk) 15:40, 27 September 2024 (UTC)
- I originally wanted
- Support merge. A better name, per Wikipedia:Template namespace#Guidelines (
Template function should be clear from the template name, but redirects can be created to assist everyday use of very popular templates
), would be helpful. I'm fine with "langx" as a redirect, but ideally, the canonical template name should be something like "Language text" or "Non-English text" or "Text in language", all of which are currently available names. There is probably a better name that I am unable to come up with at the moment. – Jonesey95 (talk) 17:10, 27 September 2024 (UTC)- {{Labeled language text}}? --Joy (talk) 17:32, 27 September 2024 (UTC)
- Please, can we not decide that here? Please take up that discussion at another venue, perhaps Template talk:Lang. The ultimate name of the
{{langx}}
template has nothing to do with the proposition at hand. Eschew WP:BIKESHEDING. - —Trappist the monk (talk) 18:48, 27 September 2024 (UTC)
- Support. Replacing all usages with
{{langx}}
and deleting the templates makes the most sense to me, and it'll greatly minimize headaches later on I guess. Yes, might be a pain in the arse to replace all the usages, but it'll even out long term (and fwiw I think{{langx}}
is a very servicable name for it) 🔥HOTm̵̟͆e̷̜̓s̵̼̊s̸̜̃🔥 (talk・edits) 23:49, 27 September 2024 (UTC)- It might not necessarily be such a pain! AutoWikiBrowser could semi-automate regex replacements of
\{\{lang-([a-z]{2,3}(?:-[a-z])*)\|
to{{langx|$1|
to be at least less fiddly. - This would obviously lean on the assumption that all
{{lang-XX}}
templates'{{#invoke:lang}}
invocation work in the same way, so it'd need some testing still. Mia a data witch! talk · contribs 05:38, 28 September 2024 (UTC)
- It might not necessarily be such a pain! AutoWikiBrowser could semi-automate regex replacements of
- Support. Although there are not as many problems with the lang-?? templates as there used to be due to the modularization of the class of templates, issues still remain and the maintenance burden is unnecessary. Further, Trappist is one of the most experienced template maintainers on Wikipedia, if they think this is necessary, then it almost certainly is. Psiĥedelisto (talk • contribs) please always ping! 02:03, 28 September 2024 (UTC)
- Support, makes perfect sense to me. Renata•3 04:12, 28 September 2024 (UTC)
- Support; beyond converting things over this seems like the most elegant and headache-free approach. It would help to modify the relevant MoS entry when this is done too. No real objection to keeping it
{{langx}}
- it x-plicitly says the language name, which sets it aside from{{lang}}
. Mia a data witch! talk · contribs 05:48, 28 September 2024 (UTC)
Completely pointless creating these years in advance. Gonnym (talk) 11:01, 27 September 2024 (UTC)
- Delete agree with nominator. Especially as participating teams have not been confirmed. LibStar (talk) 16:16, 27 September 2024 (UTC)
- Delete - years in advance, templates probably wont be used for this anyway. SimplyLouis27 (talk) 06:19, 28 September 2024 (UTC)
- Delete, mainly to react against the perceived need to create articles and other things too many years in advance. Geschichte (talk) 07:17, 28 September 2024 (UTC)
Unused template. It was missing from Lee Myung-bak government where I subst it. Does not need to be in a stand-alone template. Gonnym (talk) 10:13, 27 September 2024 (UTC)
This isn't needed anymore and has been replaced with Template:Infobox television season/subst. Gonnym (talk) 10:09, 27 September 2024 (UTC)
- Template:DANFSsection (talk · history · transclusions · logs · subpages)
Unused attribution template which was created in 2008. Gonnym (talk) 10:06, 27 September 2024 (UTC)
Unused in anyplace other than in 3 posts from 8 years ago. Subst there and delete template. Gonnym (talk) 10:04, 27 September 2024 (UTC)
- Template:CWL roster/Header (talk · history · transclusions · logs · subpages)
- Template:CWL roster/Wrestler (talk · history · transclusions · logs · subpages)
Unused templates for a non-notable wrestling league Championship Wrestling League. Gonnym (talk) 10:02, 27 September 2024 (UTC)
Only contains 2 English WP entries. Pointless for a nav box. LibStar (talk) 02:57, 27 September 2024 (UTC)
Contains no English links. Useless as a nav box. LibStar (talk) 02:43, 27 September 2024 (UTC)
2 of the 3 English links are up for deletion. The 3rd one for Japan is actually a link to the building rather than an actual embassy article. LibStar (talk) 00:32, 27 September 2024 (UTC)