Jump to content

Wikipedia:Templates for discussion/Log/2024 September 27: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 125: Line 125:
* {{Tfd links|Lee Myung-bak cabinet}}
* {{Tfd links|Lee Myung-bak cabinet}}
Unused template. It was missing from [[Lee Myung-bak government]] where I subst it. Does not need to be in a stand-alone template. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 10:13, 27 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. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 10:13, 27 September 2024 (UTC)

:'''Delete'''. Unused and poorly formatted. [[User:seefooddiet|seefooddiet]] ([[User talk:seefooddiet|talk]]) 23:46, 28 September 2024 (UTC)


==== [[Template:Infobox television season/cleanup]] ====
==== [[Template:Infobox television season/cleanup]] ====

Revision as of 23:46, 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)[reply]

@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)[reply]

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)[reply]

Pointless to have a nav box for 1 English entry. LibStar (talk) 15:11, 27 September 2024 (UTC)[reply]

Pointless to have a nav box with just 2 entries. LibStar (talk) 14:59, 27 September 2024 (UTC)[reply]

Only has 1 English entry. Pointless for a nav box. LibStar (talk) 14:48, 27 September 2024 (UTC)[reply]

Unused module. Gonnym (talk) 13:29, 27 September 2024 (UTC)[reply]

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 {{lang-??}} and {{langx}} templates differ from {{lang}} in that they prefix the non-English text with a link to the language article name:

{{lang|es|casa}}<span title="Spanish-language text"><i lang="es">casa</i></span>casa
{{lang-es|casa}}[[:Template:Lang-es]]Template:Lang-es
{{langx|es|casa}}[[Spanish language|Spanish]]: <i lang="es">casa</i>Spanish: casa

For editors who need another language template, their options til now have been:

  1. fork a new {{lang-??}} template
  2. use the lang_xx_italic() utility function in {{lang}}
    {{lang|code=es|text=casa|fn=lang_xx_italic}}[casa] <span style="color:#d33">Error: {{Lang-xx}}: invalid parameter: |fn= ([[:Category:Lang and lang-xx template errors|help]])</span> → [casa] Error: {{Lang-xx}}: invalid parameter: |fn= (help)
  3. manually prepend a language-article link to {{lang}}:
    [[Spanish language|Spanish]]: {{lang|es|casa}}[[Spanish language|Spanish]]: <span title="Spanish-language text"><i lang="es">casa</i></span>Spanish: casa
  4. create the template using {{language with name}} (which more-or-less does what item 3 does...)
  5. do it all manually (not recommended because not html correct):
    [[Spanish language|Spanish]]: ''casa''[[Spanish language|Spanish]]: ''casa''Spanish: casa

Previous TfDs related to language tagging:

Wikipedia:Templates for discussion/Log/2020 August 14 § ISO 639 name from code templates
Wikipedia:Templates for discussion/Log/2019 July 5 § Link language wrappers (part 1), Wikipedia:Templates for discussion/Log/2020 February 23 § remaining link language wrappers (part 2)
Wikipedia:Templates for discussion/Log/2024 August 5 § Wiktionary link templates (fewer templates involved but still 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)[reply]

Tagging done.
Trappist the monk (talk) 15:40, 27 September 2024 (UTC)[reply]
As the creator of {{lang-ymm}}, I did not get notified. Could you please send notifications to the template creators? This seems quite stealthy with neither notifications being sent nor TfD tags being displayed apart from a single instance of over 1000 templates. 1234qwer1234qwer4 18:14, 28 September 2024 (UTC)[reply]
I did write in the OP: 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. I chose not to notify the authors of the 1145 templates because it is a deal of work to research who they are and then notify them. I will if compelled to but would rather not.
Trappist the monk (talk) 19:03, 28 September 2024 (UTC)[reply]
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.
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)[reply]
  • Comment Do whatever it takes, but quickly, so as to remove the ugly "‹See Tfd›" markup in the articles. For the sake of sanity of old farts like me, I'd rather have old templates kept as redirects to preserve the old habits, but I can be taught simple new tricks, so this is not a big deal (unlike the urgency!). Full disclosure: I happen to know German a little bit, so I am one of the few ones being hurt. --Викидим (talk) 21:44, 28 September 2024 (UTC)[reply]

Completely pointless creating these years in advance. Gonnym (talk) 11:01, 27 September 2024 (UTC)[reply]

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)[reply]

Delete. Unused and poorly formatted. seefooddiet (talk) 23:46, 28 September 2024 (UTC)[reply]

This isn't needed anymore and has been replaced with Template:Infobox television season/subst. Gonnym (talk) 10:09, 27 September 2024 (UTC)[reply]

Unused attribution template which was created in 2008. Gonnym (talk) 10:06, 27 September 2024 (UTC)[reply]

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)[reply]

Unused templates for a non-notable wrestling league Championship Wrestling League. Gonnym (talk) 10:02, 27 September 2024 (UTC)[reply]

Only contains 2 English WP entries. Pointless for a nav box. LibStar (talk) 02:57, 27 September 2024 (UTC)[reply]

Contains no English links. Useless as a nav box. LibStar (talk) 02:43, 27 September 2024 (UTC)[reply]

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)[reply]