Jump to content

Wikipedia:Templates for discussion/Log/2019 June 9

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Retro (talk | contribs) at 00:17, 25 June 2019 (Link language wrappers: Or, more succinctly...). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

June 9

The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was relisted on 2019 June 20. (non-admin closure) Frietjes (talk) 14:32, 20 June 2019 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. Primefac (talk) 01:08, 17 June 2019 (UTC)[reply]

Long established consensus on WP:FOOTY and past TfD discussions (example here, here and here) to only have international squad navigational boxes for the men and women's: World Cup, Confederations Cup, Olympics and each continent's top level competition. The UEFA Nations League is not a top level competition, and there was agreement in a discussion from last month that there should not be squad navboxes for this competition. S.A. Julio (talk) 22:44, 9 June 2019 (UTC)[reply]

Note: This discussion has been included in WikiProject Football's list of association football-related deletions. S.A. Julio (talk) 22:48, 9 June 2019 (UTC)[reply]
The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The explanation of this nomination has become very long, so I have collapsed the main nomination content. These templates have survived two previous nominations (2010, 2013) so I would like to present a more comprehensive analysis and that addresses concerns from the previous discussions.

I request those participating minimally peruse the questions in the FAQ section below before !voting; preferably read the whole nomination.

For convenience, I have included a brief summary below that lays out what this nomination is proposing (but mostly not why it is being proposed, hence why reading at least part of the whole nomination is requested).

Full nomination rationale.

Background/nomination rationale: These templates are all wrapper templates of {{Link language}} that don't accept any parameters. Their naming convention is not optimal: it's a relic of the original version of {{Link language}} (then-titled "Template:Languageicon") that would display an icon. The image-displaying functionality was removed in the second edit to the template. This naming can cause conflicts with actual icon templates (e.g. {{cricon}} vs. {{cr icon}}, {{ruicon}} vs. {{ru icon}}).

Unnecessary wrapper templates are inideal is because they split template code across multiple pages. This has multiple disadvantages:

Basically, consolidation creates a form of DRY design.

Replacement strategy: As far as I can tell, the only reason these templates exist separately are to allow convenient usage; it is understandably more convenient to type {{langcode icon}} than {{Link language|langcode}}.

Therefore, I would like to suggest template transclusions be replaced with a template redirecting to {{Link language}}. There are several possibilities, but I'd like to suggest {{LL|langcode}} as one good alternative title; it's even shorter than {{langcode icon}}.

This naming suggestion is not intended to be the "one true format"; other redirects and the template itself could still be used. But since there are many transclusions, the replacement is probably a task for a bot to do, so this would be deciding how the bot replaced the preexisting template transclusions.

Template redirects: But it would be negligent to discuss replacements while not bringing up the {{langcode}} redirects, which are even shorter than any suggested replacement, and will also be deleted if these wrappers are deleted.

For these to be retained, they would need to be converted into wrapper templates and would retain all the problems that wrapper templates have. However, name-wise, these are less problematic than the misleadingly named "icon" series, so I am slightly more amicable to keeping them and turning them into the canonical wrappers.

In general, though, it seems best to discourage wrapper templates and prefer redirects because it's a more centralized method of design that's more likely to remain consistent. There's also a greater consistency of expectations: with wrapper templates, similarly named templates can do totally different things, but this is not true of parameterized redirects. And this consistency of expectations holds true here too: {{langcode}} redirects are not consistently implemented, and some names are reserved for other uses, like Template:yo, which has significant usage as a redirect to {{Reply to}}. I don't think it makes sense to retain inconsistently present redirects to just to save 3 characters of typing for certain cases; consistency will ultimately make these templates easier to use, even if there is a tiny bit more typing involved.

FAQ:

  • {{langcode icon}} is so much shorter to type than {{Link language|langcode}}!
    As discussed above, I am not suggesting replacing current transclusions with {{Link language|langcode}}, but a shortened name redirect like {{LL|langcode}}; the shortened name could be even shorter than the current convention!
  • Why delete instead of merging and redirecting?
    Redirecting would be misleading. A redirect would not render like the previous version if used in article; it would simply display the default state of {{Link language}} when given no parameters.

    "Merging" doesn't really have any particular meaning in the context of this discussion, since they are already wrapper templates.

    See my summary below; I've changed the planned handling to deprecate, rather than immediately deleting after transclusions are gone.

  • What about the red links in the article history?
    This concern seems misplaced. If we thought red-linked template transclusions in article history were problematic, we would never delete any templates ever.

    However, since this nomination suggests the deletion of widely-transcluded templates, one could argue the number of potential red links to be encountered in article history is larger than the standard TfD discussion. But here's the thing: as long as T36244 remain unimplemented, article history will always be fundamentally misleading about how templates worked because it does not show the state of the template at the time it was transcluded; it shows a transclusion of the current version of the template. It should not be our responsibility to create the illusion that page histories display prior template transclusions reliably.

    And the purpose of this template won't be some huge mystery: this discussion will be linked in the deletion log shown on all deleted pages. The red-links actually do the job of conveying the message that the template no longer serves the original purpose.

  • How will I be able to search for links in a specific language if these templates are deleted?
    Every language has a specific category listing articles in that language, e.g. Category:Articles with French-language external links (there are also more sophisticated methods of searching like Quarry's database replicate, and you could ask at Wikipedia:Bot requests (and other places, like certain editor's talk pages) if you want help finding something more specific).
  • Why fix what's not broken?
    Why not improve the existing format so it's just as easy to use if not easier, while ensuring it's less likely to be broken in the future?

    I will note I do consider these templates to be "broken" in certain respects, but it depends on your definition of "broken".

Background: {{Link language}} is a template that is placed near an external link to note its language. There are currently several options for using it, each involving an ISO 639-1, ISO 639-2, or IETF language tag, which I will denote here as langcode (basically a shortened form of the language name, examples being "en" for English, "fr" for French, "de" for German, and "ja" for Japanese). There are currently several options for using this template, depending on the language: {{Link language|langcode}}, {{langcode icon}} (and often 2-3 redirects: {{langcode}}, {{langcode-icon}}, and rarely {{Ref-langcode}})

Proposal: I am proposing template transclusions of the form {{langcode icon}} (and their corresponding redirects {{langcode}}, {{langcode-icon}}, and rarely {{Ref-langcode}}) be replaced by something like {{LL|langcode}}.

In practice, this would mean a bot would replace, for example, all occurrences of {{fr icon}} and {{fr}} with a templated form like {{LL|fr}}. {{fr icon}} and {{fr}} would no longer be usable by editors going forward. be deprecated and discouraged from use, to be further evaluated at a later date. See this edit explaining why I made this change to the proposal.

As a weaker proposal, I have also suggested only eliminating the {{langcode icon}} form, while retaining the shortened form {{langcode}}, but this seems less ideal because {{langcode}} isn't consistently implemented for every langcode (and probably shouldn't be, as certain names like Template:yo are commonly used for other purposes). Retro (talk | contribs) 22:40, 9 June 2019 (UTC)[reply]

  •  Comment: Because this is an extensive nomination, it will take me a bit of time to use AWB to tag all the affected templates with TfD notices. I'll make a note here when I'm done. Retro (talk | contribs) 22:40, 9 June 2019 (UTC)[reply]
     Done Except for the template protected pages (which I've requested be edited here). Retro (talk | contribs) 23:33, 9 June 2019 (UTC)[reply]
    information Note: All templates on the list are now tagged. — JJMC89(T·C) 23:58, 9 June 2019 (UTC)[reply]
  •  Comment: So this is replacing a zero parameter template with a single parameter template, where the parameter is directly derived from the old instance? Thus little/no chance of errors during replacement? Hence a bot _could_ be trusted?
When replacing {{langcode icon}}, would you ask the bot to replace with {{Link language|langcode}} or with {{LL|langcode}} ? I could argue both ways. Obviously {{Link language}} is less overhead, more direct, and demonstrates "best usage". However, advertising the new shortcut usage {{LL}} quickly in several thousands of places might better gain future editor adherence. (cat herding 'taint nothing to the butterfly herding done rightchere)
When peeking at {{Link language}} it nervously chitters 230,000+ usages! (288610 at the moment) When I do a scientific poll of your list of templates (sampling 'transclusions' for the last 10 entries) I see some have 0 usages, some have <~10 usages, three have hundreds, and one has 9,000+ usages. Do you have any idea how many of the 280,000+ usages are represented by the combination of your set?
I think it is worth noting that the proliferation of these continues. Just randomly probing I came across Template:Azb icon created in April. Shenme (talk) 02:54, 10 June 2019 (UTC)[reply]
  • (edit conflict) @Shenme and Tom (LT): Yes, I believe substitution could make bot replacement rather straightforward; we just put what we want into the template and then the bot will substitutes it verbatim. As for whether to use {{LL|langcode}} or {{Link language|langcode}}, I would lean towards "LL", as I assume it's the standard people will want to conform to. It's obviously not as clear as {{Link language}}. There are other compromises though; we could create new redirects like {{In lang|langcode}} or {{Link lang|langcode}} if we wanted to balanced typing ergonomics with clarity.

    By your question, I assume you mean how many of the transclusions use the wrapper templates as opposed to the {{Link language}} directly? I assume only a negligible amount use {{Link language}} directly, but I can back to you with harder data in a moment if you want. Retro (talk | contribs) 03:25, 10 June 2019 (UTC) (edited 03:29, 10 June 2019 (UTC))[reply]

It wasn't entirely an idle question, since quantity sometimes overwhelms the system. But I _was_ worried someone would object based on numbers. Yet if a tuned bot does this, overload doesn't happen? I was thinking of just using wget or curl and processing the text responses down into counts (though I wonder if I'd get blocked for, um, overloading the toolserver?). If you have a better way, though, it'd save me from a block? :-) Shenme (talk) 03:37, 10 June 2019 (UTC)[reply]
Nah, CirrusSearch seems like a much better way that work within the system: 3101 results. That won't count redirects (and weird transclusion that use too many explicit numbered parameters), but it should be a fairly accurate ballpark. Retro (talk | contribs) 03:45, 10 June 2019 (UTC)[reply]
  • Support Overall, I think this is a good idea conceptually. These are a huge set of templates and a single template is easier to maintain, easier to add new languages to, decreases overhead, helps standardise the appearance of things and any changes, and I think is also in the direction where other language templates are heading. In terms of the implementation, we would have to be careful that no errors are induced as Shenme points above. Also, I do not like the title 'LL' as I feel a plain language title that may be easier for new editors to understand, however would respect the majority opinion on this. --Tom (LT) (talk) 03:15, 10 June 2019 (UTC)[reply]
  • Question. Is substituting the templates not an option? –MJLTalk 03:42, 10 June 2019 (UTC)[reply]
    @MJL: I'm not sure if I completely understand your question; apologies for my lack of understanding.
    Substituting the templates is one potential method of eliminating these template transclusions, and probably the ideal method of elimination if this discussion is in favor of deleting the wrapper templates. We will probably want to do a few tweaks before substituting, though, but it should be fairly straightforward. Retro (talk | contribs) 03:49, 10 June 2019 (UTC)[reply]
    @Retro: Looks like you did understand my question lol. It was in reference to Shenme's comment above. Thank you for the answer! (edit conflict)MJLTalk 03:54, 10 June 2019 (UTC)[reply]
    On a different note, {{Zh-classical icon}} seems to be broken; which is unfortunate. How possible is it to use {{#invoke:Language/data/wp languages|function}} in {{LL}}? I thought it was already supported..? –MJLTalk 03:58, 10 June 2019 (UTC)[reply]
    That is unfortunate. Still investigating, but {{Link language}} directly invokes {{invoke:lang|name_from_code}}, so there's some level of indirection there causing a bug. Retro (talk | contribs) 04:09, 10 June 2019 (UTC)[reply]
    But actually {{zh-classical icon}} is unused, and the phrase "zh classical" is used less than 10 times in mainspace. Retro (talk | contribs) 05:27, 10 June 2019 (UTC)[reply]
    @MJL: (ping) Retro (talk | contribs) 05:29, 10 June 2019 (UTC)[reply]
    @Retro: I see... So should the template be deleted? It's currently a part of your proposal. –MJLTalk 19:28, 10 June 2019 (UTC)[reply]
    @MJL: Yeah, it'll be fine if it's deleted in this nomination; it won't cause any problems. Even if it does survive this nomination, it should probably be nominated separately because it's a non-standard and discouraged code. Retro (talk | contribs) 19:36, 10 June 2019 (UTC)[reply]
    The error at {{Zh-classical icon}} arises because zh-classical is not a valid IETF language tag. I presume that it refers to Classical Chinese which article says that the language is synonymous with Literary Chinese which has the ISO 639-3 code lzh.
    Module:Language/data/wp languages is used by Module:Lang which is used by {{Link language}}. Direct use of Module:Language/data/wp languages is discouraged because the provenance of the data there is almost wholly unknown; some of the codes there are wholly non-standard.
    Trappist the monk (talk) 16:44, 10 June 2019 (UTC)[reply]
    Oh, huh. That's what I thought, but I wasn't aware that Module:Language/data/wp languages has discouraged use. –MJLTalk 19:28, 10 June 2019 (UTC)[reply]
  •  Comment: When this is done, would you please include the options for upper and lower case versions? "in [language]" [sic] is irksome to me when the template is placed at the beginning of/in front of a link, etc. I'd like to be able to have "In [language]" as an option, and possibly the default option. —DocWatson42 (talk) 03:51, 10 June 2019 (UTC)[reply]
    @DocWatson42: That could certainly be added as a parameter, perhaps |cap=yes. However, it is my understanding from something I read elsewhere while constructing this nomination (I'll link when/if I find it) that the existing MOS consensus is to only use template after the link. Retro (talk | contribs) 03:57, 10 June 2019 (UTC)[reply]
    Reading some discussions, I'm getting the sense that I may be mistaken. But I'll get back to this. Retro (talk | contribs) 04:09, 10 June 2019 (UTC)[reply]
    @Retro: I request the option because so often I find the template placed at the beginning of a link, etc., or just after the bullet. —DocWatson42 (talk) 04:12, 10 June 2019 (UTC)[reply]
  • Oppose I read the rationale and I understand there are maintenance issues with the current system and also vandalism concerns, but the proposed change would be another step in making Wikipedia hard to edit because of having to remember template syntax. There is already too much of this and I do not see the concerns raised as justifying yet another step in the direction of making editing difficult for anyone but the technologically highly educated. Yngvadottir (talk) 04:14, 10 June 2019 (UTC)[reply]
    @Yngvadottir: As I mentioned above, I'm open to other names besides {{LL|langcode}}. I don't know if you consider {{langcode icon}} easy to remember, but I personally consider it an unintuitive naming scheme. If we standardize one one naming format, I see these templates as being easier to use, because they're more consistent. Retro (talk | contribs) 04:18, 10 June 2019 (UTC)[reply]
    Yes, I do consider "icon" easier to remember than "LL|" because it's a word. I don't think there's a way around the fact your proposal will add yet another code string that editors have to remember. It could be argued that only highly motivated and savvy editors use these anyway, as opposed to not noting the language, just typing the language name or 2-letter code, or leaving a bare link for someone to run a script over, but this hits precisely the editors with relatively shaky English who want to cite websites in their native language. Words are easier to remember (and teach) than code. (There are days I flub "ill" or the "As of" template, and "sfn" is still too much for me.) It's a cumulative memory load, and the essence of the project is that those with knowledge and willingness can help build the encyclopedia. Yngvadottir (talk) 04:28, 10 June 2019 (UTC)[reply]
    @Yngvadottir: Would you be more amicable to replacing with {{in lang|langcode}}, since that's also a word (and hopefully relatively clear to the template's purpose, thus probably being likely to become memorable)?

    I don't think it's a foregone conclusion that my proposal has to create increased complexity for the average editor. I think this can even be an opportunity to increase usability.

    Honestly, I don't find the current limitations of {{Link language}} particularly helpful myself. For instance, it would be nice if I could do {{Link language|French}}, but that is not currently supported. But this TfD can't really fix that problem; that will require some dedicated tweaks to {{Link language}}. Retro (talk | contribs) 04:40, 10 June 2019 (UTC)[reply]

    That would be easier to remember, yes. Yngvadottir (talk) 05:15, 10 June 2019 (UTC)[reply]
    @Yngvadottir: Does that mean your oppose is only conditional on whether the replacement is {{LL|langcode}}? Or would you prefer status quo regardless? Retro (talk | contribs) 12:17, 10 June 2019 (UTC)[reply]
    No, as per my previous edit summary here, I'm still opposed because I am not persuaded the change is justified. Any change will contribute to the barriers to editing, and tempt long-standing editors to not try—not noting the language, or just slapping in a bare URL, are things borne of frustration that we already see. But if it is decided that a change is desirable, I appreciate your suggestion as being less of a deterrent. Yngvadottir (talk) 12:38, 10 June 2019 (UTC)[reply]
    Literal argument display doesn’t seem difficult to implement here, and I could see it done one of 2 ways: 1) add a fourth set of data linking fully spelled out names; 2) display literal argument as a final fallback when no language is found. But, honestly, in either case, the decrease in consistency could be good reason for people to oppose. While being able to spell out a name is definitely nice, there’s a lot of value in the system established now. My biggest concern for either option would be a clash between a 2/3 letter code and a language with a short common name. A good solution regardless of changes to the template would be an autogenerated table that displays every possible output with a list of accepted inputs in a highly visible location. There are several sources for varying standards linked in the template documentation, but something built specifically for this template would be much better. I don’t have a stance either way, but from a technical glance, such a change seems rather trivial. 1F6😎E 08:07, 10 June 2019 (UTC)[reply]
    @U 0x1F60E: I appreciate your comment. I am certainly not proposing that new argument functionality be added as a result of this discussion; it was only an example, and can be discussed further at a later time. Retro (talk | contribs) 12:17, 10 June 2019 (UTC)[reply]
  • Support This will be much easier. Thanks. ―Justin (koavf)TCM 04:23, 10 June 2019 (UTC)[reply]
  • SupportOwenBlacker (talk; please {{ping}} me in replies) 06:02, 10 June 2019 (UTC)[reply]
  • Support Oppose— I would prefer {{langcode icon}} or the shortened form {{langcode}}, but not {{LL|langcode}}. Shorter language code, will be easier for new editors and reduce in pagesize when linking many non-English literature or weblink to an article. Fiipchip (talk) 07:13, 10 June 2019 (UTC)[reply]
    @Fiipchip: My proposal is to replace {{langcode icon}} and {{langcode}} with {{LL|langcode}}, so your vote should probably be an oppose.

    But if even though you're not okay with replacing with {{LL}} (a common concern; the inclarity of the name seems to be a bit of a sticking point in the previous discussion), would you be okay if they were instead replaced with {{In lang|langcode}}? Retro (talk | contribs) 12:03, 10 June 2019 (UTC)[reply]

    @Retro:thank you, I have updated to oppose. I would still prefer the shorten version of langcode. Let's face it, reducing the wordings can reduce the pagesize and at the same time minimise errors. If there is a maintenance issue due to shortening of the codes, I would vote for {{LL|langcode}}. Fiipchip (talk) 13:25, 10 June 2019 (UTC)[reply]
    @Fiichip: I have updated the summary, so hopefully it's a bit more clear (if you have any other questions, feel free to ask them!)

    Based on your previous comments, it seems like you might generally be in favor of my proposal to remove the {{langcode icon}} while keeping {{langcode}} as an option (the "weaker proposal" noted above in the summary). Retro (talk | contribs) 14:00, 10 June 2019 (UTC)[reply]

    @Fiipchip: And I misspelled your name, so it didn't ping correctly :-P. This ping should work. Retro (talk | contribs) 14:07, 10 June 2019 (UTC)[reply]
  • A few comments. I firmly oppose the end result being a template name with the word "icon" in it. "Icon" has a meaning, and from checking some of the templates, none of them have any icon in it (as was pointed by nom). Yngvadottir has expressed concern that editors will have to remember another piece of code string, I'm assuming they meant the country code, but how is that different from remembering what XX icon template to use? Those are the same parameters. --Gonnym (talk) 10:44, 10 June 2019 (UTC)[reply]
    @Gonnym: So basically, you support getting rid of the {{langcode icon}} wrappers, but you're neutral towards the {{langcode}} template redirects?

    Regarding Yngvadottir's concerns, I think you've misunderstood: Yngvadottir is concerned about another codeword like the shortened form "LL" in my suggested redirect replacement {{LL|langcode}}. Retro (talk | contribs) 12:03, 10 June 2019 (UTC)[reply]

    Leaning support, which is why I didn't vote. Waiting to see more comments first. If that is Yngvadottir's concern that is basically a non-issue, as that is like opposing RM for that reason. --Gonnym (talk) 12:07, 10 June 2019 (UTC)[reply]
  • Oppose. I am already used to using {{ja icon}} {{de icon}} etc., and if the change is seamless, i. e., if I use the legacy name and it just gets redirected to the new template name that takes parameter, that's fine. But proposing to get rid of it so I would wind up getting warning message would be imposing and annoying.
 Comment: As for "icon". This template {{Link language}} used to appear in a shade of gray and slightly smaller size: "(in Japanese)". Visually not all that different from the icon used by {{translator}}. I would have preferred to have this css style "icon" but certain users mobilized to get rid of it. --Kiyoweap (talk) 16:34, 10 June 2019 (UTC)[reply]
  • Support per given reasons (long-term maintenance, current template names are deceptive). howcheng {chat} 16:50, 10 June 2019 (UTC)[reply]
  • Oppose and Keep the {{xx icon}} method alive. A change for what appears only the sake of it, and a deletion of this present template, will only cause disruption, no matter how insignificant it appears to be for fellow editors. Ref (chew)(do) 17:20, 10 June 2019 (UTC)[reply]
  • Strong support for the change because it will decrease maintanence load. Slight support for keeping current syntax when it is already heavily used for a specific language. StudiesWorld (talk) 17:39, 10 June 2019 (UTC)[reply]
  • Weak oppose and keep the existing method alive. It's not broken. Also, can we please do something so that <see Tfd> doesn't appear against every single instance of the templates used. That's doing more damage to the encyclopedia than this change would whether implemented or not. Gricehead (talk) 08:20, 11 June 2019 (UTC)[reply]
    @Gricehead: I don't mean to be a bother, but I was wondering what kind of damage having the notice does? I don't feel it compromises the purpose of the template; it's a bit more visual clutter, but it might encourage editors who would not otherwise participate in this TfD to come, and it will only be there temporarily.

    I take full responsibility for adding those notices; it was done intentionally so that it would display in the manner you note. Retro (talk | contribs) 12:21, 11 June 2019 (UTC)[reply]

@Retro: In my opinion it's visual clutter that adds no value to the encyclopedia for our readers. I agree it might well bring editors to this discussion (like it did me), but I suspect many many more people read than edit (I have no stats to back this up). Gricehead (talk) 13:13, 11 June 2019 (UTC)[reply]
There is not consensus to noinclude templates for reasons other than them being substituted. * Pppery * it has begun... 21:08, 11 June 2019 (UTC)[reply]
@Pppery: I appreciate the archived discussion, though I'm not sure why you immediately reverted your mention of it. Retro (talk | contribs) 12:41, 12 June 2019 (UTC)[reply]
A belief that my initial commentare came across as unnecessarily hostile. I've restored that post. * Pppery * it has begun... 16:02, 12 June 2019 (UTC)[reply]
  • Oppose. Yet another non-problem not needing fixing. StevenJ81 (talk) 15:47, 11 June 2019 (UTC)[reply]
    On reading further comments in the week-plus since I wrote, I'm still not convinced it's really a problem needing fixing. That said, if people are bound and determined to make this change, I'm comfortable enough with deprecating the use of, rather than deleting, the current templates, with a view that two years or so down the road we can reconsider what to do. StevenJ81 (talk) 15:03, 19 June 2019 (UTC)[reply]
    Since the proposal is now to deprecate rather than delete, I am willing to support that idea. StevenJ81 (talk) 21:21, 24 June 2019 (UTC)[reply]
  • This tfd prompted me to dust off User:Monkbot/Task 6: CS1 language support. That task was developed to add |script-title=, where appropriate, based upon either the content of |language= in the cs1|2 template or upon an appropriate {{<xx> icon}} template directly adjacent to the cs1|2 template. To get the most complete coverage, it made sense to normalize the {{xx icon}} templates and their redirects to a consistent form before making the decision to add (or not) |script-title=. Further, even when not appropriate to add |script-title=, in the cases where there is an adjacent {{<xx> icon}} template, it makes sense to add |language=<xx> and remove the {{<xx> icon}} template. If this tfd is successful, there will be work for me to remove the normalization code and add support for the new template (this is an observation, not a complaint). So, having dusted off task 6, I am running the bot to cleanup uses of {{<xx> icon}} templates adjacent to cs1|2 templates.

    When initially writing task 6, I wrote some test code that became the basis for the {{<xx> icon}} normalization used by task 6. I've dusted that off too, updated to the list of templates for this tfd, tossed out most of the original code in favor of code based on my most recent bots, and voilà, most of a bot done. It does need to be checked for data accuracy, and it does need a new-template name, but should suffice as a starting point if this tfd is approved. Code is here.

    When deciding on a name for the new template, beware {{llink}}, yet another language template, this one strictly for ISO 639 codes. Some advantage may be gained by using the {{LL|langcode}} form (regardless of whatever it is named, if it is named). A single template like this can produce a nice rendering of a list of languages; much nicer than the lists of languages at Moravia § External links, for example (ignore the tfd messages and look at the list).
    Trappist the monk (talk) 18:32, 11 June 2019 (UTC)[reply]
    @Trappist the monk: The multiple languages is actually potentially a huge benefit in terms of widening options, and definitely not scaleable to wrapper templates (imagine: {{en fr icon}}, {{en de icon}}, {{fr de icon}}, plus another 1.67 * 10^96 such templates). I don't expect people would really create such templates, but it is simply an analogy to show the limiting mindset of defaulting to a set of wrapper templates.

    I wish I had focused more on things like that in my rationale (I also wish I had pared down its extreme verbosity). This sort of thing is really the reason why I think it's better to utilize the primary template, because it opens room for editors to have more options within the better structured framework, rather than to be deceived by a pseudo-consistency of wrapper templates that narrows ones' potential options. Retro (talk | contribs) 12:41, 12 June 2019 (UTC)[reply]

    I have tweaked Module:Lang/sandbox and {{link language/sandbox}} so instead of this:
    Template:Cs icon Template:En icon Template:De icon Template:Fr icon Template:Es icon Template:It icon Template:Pl icon Template:Ru icon Template:Ja icon Template:Zh icon
    this:
    Template:Link language/sandbox
    Categorization (mainspace only) and error messaging works. Probably not completely proper to keep this in Module:lang because it is too tied to a specific template (in this case primarily because of categorization) so some (all?) of the new code should probably be moved into Module:Lang/utilities. I may go ahead and do that because this seems a handy thing to have around.
    As I was writing this message I mis-typed the template name and wrote {{language link/sandbox}}. That experience suggests to me that the base name of the template is too confusing (yeah, we have a redirect for the live template and could create one for the ~/sandbox ...). But I begin to agree with those who have have suggested {{in lang}} as the template name simply because {{in lang}} matches the function of the template.
    Trappist the monk (talk) 15:27, 12 June 2019 (UTC)[reply]
    Moved to Template talk:Link language#Title of this template and its categories
  • Support It was a bad idea in the first place to have individual templates for each language code, on top of associated redirects. I understand change can be hard for many, but the new syntax will not be that difficult to learn and is still succinct, if even more so. This change is necessary to standardize these templates and easily allow changing them consistently in the future, instead of in many places (if, for example, we want to display a notice for languages with rare font support, this can be done in a central location). As another user mentioned, the name is also deceiving, and we should say what we mean: there is no icon. This isn't just change for change's sake as many non-technical users will see from their perspective, but important semantically and structurally. Opencooper (talk) 05:50, 12 June 2019 (UTC)[reply]
  • oppose out-right deletion. unfortunately, the two-letter templates are used on commons and many other non-English WPs, so this would create endless problems with broken transclusions of deleted templates. however, I would support making them auto-substituted by bot. this would be a more graceful way to deprecate them. for an example of the complexity, see Template:en which is namespace dependent to behave like the commons template in file space. Files are frequently temporarily copied over to facilitate protection. Frietjes (talk) 13:22, 12 June 2019 (UTC)[reply]
    @Frietjes: Your note about Template:en actually seems to slighly support my proposal. {{en}} is not one of the template I propose to delete in my proposal because it is actually an exception case; a {{lancode}} template that does not redirect to the corresponding {{en icon}} wrapper template. This demonstrates the naming here is ultimately an inconsistent patchwork (and fundamentally so: wrapper templates reserve extra pages by their nature). Under the current model, it seems conceivably easy that one could accidentally use {{en}} when they really intended to get the output "Template:Link language". Retro (talk | contribs) 15:23, 12 June 2019 (UTC)[reply]
    Because I was curious, I've added a list of two-character redirects to {{<xx> icon}} templates to the template list. Also added links to see what redirects are available for each of the nominated templates.
    Trappist the monk (talk) 23:00, 12 June 2019 (UTC)[reply]
    @Frietjes: For the long-term, I see even the {{langcode}} templates as being ambiguous, because I've sampled a few different language wikis and found them being used in a variety of ways. However, in the short term, I can see the benefits for a deprecation period where the templates are still supported (I'm going to post a comment about this soon).
    In the long term, it might be ideal to turn the {{langcode}} templates into redirects to a langcode disambiguation page, but we'll have to see how they get used in the long term. Retro (talk | contribs) 13:48, 13 June 2019 (UTC)[reply]
    More curiosity, I've added a list of all ISO 639-1 codes as template calls to the template list. This covers the lowercase and mixed-case versions ({{<xx>}} and {{<Xx>}}). For completeness, I'll do another list of upper case codes ({{<XX>}}).
    In the list there is only one other like {{en}}: {{ka}}.
    Trappist the monk (talk) 14:50, 13 June 2019 (UTC)[reply]
    @Trappist the monk: Out of curiousity, what is your approach for generating these lists? I was thinking about throwing together a Python script to generate a comprehensive table and it made me curious about your methodology. Retro (talk | contribs) 15:50, 13 June 2019 (UTC)[reply]
    Manual, assisted by the regex facilities of my editor when simple repeatable tasks are more quickly done that way. I didn't want some sort of automated thing; I wanted to look at each template call to see what it was and then comment or not depending on what I saw.
    Trappist the monk (talk) 16:28, 13 June 2019 (UTC)[reply]
    Upper case list done.
    Trappist the monk (talk) 16:28, 13 June 2019 (UTC)[reply]
  • I agree that a bot should be allowed to replace all the usage of {{foo icon}} because these templates do not render icons, nor should they AFAICT. There's certainly some of us editors who happen to know the existing syntax, but there is no actual big loss if we're forced to convert to having to know some other piece of syntax that is less counter-intuitive. --Joy [shallot] (talk) 14:49, 12 June 2019 (UTC)[reply]
  • Delete all A clear, in my mind, instance of hundreds of templates doing a task that could be (and is, to some degree) done by one template. * Pppery * it has begun... 16:34, 12 June 2019 (UTC)[reply]
  • Question. What is to prevent the recreation of one or many of these templates by someone ignorant of their previous creation and deletion? Hyacinth (talk) 13:44, 13 June 2019 (UTC)[reply]
  • @Yngvadottir, Kiyoweap, Refsworldlee, StudiesWorld, Frietjes, and Hyacinth: You all have, in one form or another, expressed concerns that outright deletion may leave behind those used to the existing way of using these templates.

    So here's my suggestion: instead of deleting the templates immediately after all the transclusions are replaced, we let the templates remain usable and deprecated for a time. If new transclusions arise, they can be replaced (probably by bot). Perhaps they can eventually be deleted in a later discussion if everyone has become used to the new model, but that can be a discussion for another time.

    Of course, some of you have also expressed that you feel replacement is unnecessary, and you are welcome to repeat or elaborate on that here, but I don't necessarily see that as productive in furthering the discussion. For me, this discussion has shown that a primary benefit of centralizing (in addition to my rationale about name ambiguity) is to allow future renovation to {{Link language}} without requiring hundreds of templates be edited to be able to use those renovations; Here, I'm referring specifically to DocWatson42's suggestion to add support for capitalization and Trappist the monk's sandboxing to allow support for a compact list of multiple languages. Retro (talk | contribs) 14:29, 13 June 2019 (UTC)[reply]

    I think that plan makes sense. However, I think that if any of the templates continue to see significant transclusions going forward, we should consider maintaining them specifically, while deleting the rest in the class. StudiesWorld (talk) 14:33, 13 June 2019 (UTC)[reply]
    That will be good to consider after we see how usage counts settle. I don't really think we'll continue to see signficant usage, because I suspect many people look at existing pages to remember how to use a template (I certainly do on occasion). On the flipside, there are certain templates that have never been used and that are similar existing template names, so those might eventually be good targets for redirecting or deleting. Retro (talk | contribs) 15:02, 13 June 2019 (UTC)[reply]
    If the decision is to deprecate the templates in the template list (and their redirects?) then each of the deprecated templates should be marked with {{deprecated template}}. I mean if (if) anyone ever reads the documentation, there will be the don't-use-this-deprecated-template message glaring at them which might go some way in reducing the use of old-style templates. Or not.
    Trappist the monk (talk) 16:37, 13 June 2019 (UTC)[reply]
    @Trappist the monk: {{Deprecated template-inline}} would probably be better, so it doesn't break the formatting around it by inserting a giant box. But I seem to remember another template that might be even better...
    On a side note to this TfD discussion, I've been looking at some of the depreaction templates, and I'm starting to think they should all be merged into {{Deprecated template}} with a |type= parameter, in the style of {{Template for discussion/dated}} Retro (talk | contribs) 12:06, 14 June 2019 (UTC)[reply]
    I do not mean that every instance of the deprecated templates in article space should be marked with {{deprecated template}} which is why I wrote: I mean if (if) anyone ever reads the documentation, there will be the don't-use-this-deprecated-template message glaring at them which might go some way in reducing the use of old-style templates. Or not. Given the push-back that happened because the templates in the list are/were marked with the tfd annotation, I suspect more of the same could be expected from use of {{deprecated template-inline}}.
    Trappist the monk (talk) 12:57, 14 June 2019 (UTC)[reply]
    Oh, sorry I misunderstood. So your suggestion is more along the lines of editing the documentation metatemplate that all the wrapper templates use to note the wrapper templates are deprecated. I think that suggestion makes sense. Retro (talk | contribs) 15:32, 14 June 2019 (UTC)[reply]
  • Strong, decisive support. The arguments of Retro are too formidable for me to doubt. Getting rid of the LIE that is the Langcode "icon" templates will do much good for new editors. Retro has been so patient with you guys, and yet they've been met with petty complaints. Too much of the opposition to this proposal is motivated by sheer resistance to change. The Wikipedia community has accomplished much larger, much more complicated tasks that this. — Mr. Guye (talk) (contribs)  00:55, 14 June 2019 (UTC)[reply]
  •  Comment: Retro says his suggestion will "allow future renovation to {{Link language}} without requiring hundreds of templates be edited" but this maintenance issue he claims seems nonexistent to me.
  • I've looked at {{ja icon}} and it calls on {{Link language}}. Presumably the "hundreds of templates" are the same. So whatever changes to {{Link language}} is updated on the hundreds of templates it calls, n'est-ce pas? --Kiyoweap (talk) 01:39, 14 June 2019 (UTC)[reply]
    @Kiyoweap: Template parameters have to be explicitly invoked through wikicode like {{{arg name}}}. Therefore, if one wants to add to a new parameter to multiple templates, each template has to be edited to add each new parameter's name. In this case, it would be code like |arg name={{{arg name}}}.

    Though technically, explicit argument declaration wouldn't be necessary if the entire code was turned into a Lua module. But such is not the case currently: as you note, all of the modules call {{Link language}} directly. There would still be the initial maintenance with the Lua module: the template code invoking the module would have to be copied and individually tweaked for each of the 300+ template titles. Retro (talk | contribs) 02:08, 14 June 2019 (UTC)[reply]

  • Support Though I think language full names are easier to remember than language codes. Masum Reza📞 02:15, 15 June 2019 (UTC)[reply]
  • Support. per above. I really can't see a reason why we need to call them icon templates nor why we need {{fr}} when Template:Ll works just as well and would be much more consistent with other languages. Honestly, this template should just be a magic word to make them consistent across all projects, but I digress.MJLTalk 02:49, 15 June 2019 (UTC)[reply]
  •  Comment: Retro's point is that if future somebody wants to give {{Link language}} an additional parameter/option, we would need to edit the hundreds of {{xx icon}}s IF we want to give that parameter/option to all of them.
  • Well what if we don't bother. It just means {{xx icon}} will render only in the default "(in xx language)". Would that necessarily be a problem? I think not. --Kiyoweap (talk) 20:40, 17 June 2019 (UTC)[reply]
    @Kiyoweap: That is basically why I shifted the planned handling to deprecate as opposed to delete. With the current plan, the existing templates will still work.

    This does leave a more fundamental question of whether the proposed replacement passes the threshold to favor replacement instead of leaving existing transclusions. As I see it, the strongest argument against replacement appears to be that these are long-standing templates that people are already familiar with. My altered plan to deprecate takes the editing precedent into account. But on the flipside, the advantage in replacement is that it conceptually combines related functionality so that utilizing this functionality is straightforward; it avoids the level of indirection and complexity that maintaining (or navigating through the docs of) the wrapper templates would be. To put it simply, I see deprecation and replacement making these templates easier to use for everyone in the long term.

    Is there a particular reason you think mass replacement would be harmful? Retro (talk | contribs) 23:22, 17 June 2019 (UTC)[reply]

    @Retro: If the proposal has shifted, shouldn't you have indicated that shift in the the proposal's description? Or, perhaps better, restated the proposal as a separate item (Proposal2) or as a separate subsection of this tfd? All of this is, of course, problematic because there are !votes opposing and supporting the original Proposal that may or may not be invalidated if you shift the goal posts.
    Trappist the monk (talk) 11:20, 23 June 2019 (UTC)[reply]
    @Trappist the monk: I've edited the original description to try to clarify that ambiguity.
    I originally suggested this tweak to the proposal in this edit. For my part, I saw it as a small tweak (hence I have now integrated into the current proposal, rather than creating a separate proposal), but I did notify most of the opposing !votes because it was directly addressing them. For fairness sake, I will make a similar comment addressing those supporting in case this has changed their minds about the proposal.
    Sorry for the (small) delay in response; I've been away for a few days, as can be seen by my contributions history.
    If there's anything else I should fix with this TfD, I'm open to hearing about it. Retro (talk | contribs) 19:36, 24 June 2019 (UTC)[reply]
  • Oppose as there is no particular benefit, and it will cause trouble to the hundreds of people that use them. Instead of the proposed bot replacement, it should go much further in converting the links into cite templates, using the language= parameter based on the above template. In the long run this will be more constructive, than busywork that makes it harder to edit. Graeme Bartlett (talk) 04:01, 19 June 2019 (UTC)[reply]
    Trappist the monk can probably address the merging idea more competently than I can (relatedly, this makes me wonder if the CS1|2 templates support enumerated |language= parameters?). Another thing is, I'm not sure how many of these templates are next to citation templates vs. bare links. Retro (talk | contribs) 12:27, 20 June 2019 (UTC)[reply]
    I agree that converting links to the appropriate cs1|2 template with |language= (WP:CITEVAR permitting) should be considered. But, the tools available to do that routinely produce crap that I revert on a regular basis (reFill for example, produces a lot of crap cs1 citations – much of the blame for that falls on lazy editors who blithely accept whatever the tool suggests). The task becomes much more difficult when a {{<xx> icon}} template is coupled with free-form text that may or may not be commentary, may or may not be bibliographic detail that may or may not be a mix of plain text, links, and templates ({{isbn}} etc). The free-form text may have a more-or-less consistent format within an article but, article-to-article, it is unlikely that free-form text will have much in the way of a consistent format which makes it extraordinarily difficult to design a tool to convert the plain-text + {{<xx> icon}} template to cs1|2 template.
    There are {{<xx> icon}} templates adjacent to cs1|2 templates. My recent run of Monkbot/Task 6 fixed several thousand of those; it did not find them all because I ran the bot against only the subcategories in Category:Articles with non-English-language external links that have 1000+ articles.
    cs1|2 |language= isn't an enumerated parameter; it will accept a comma-separated-list of language names and codes understood by MediaWiki.
    Trappist the monk (talk) 13:32, 20 June 2019 (UTC)[reply]
  • Support. Delete all of them. They have no functional purpose and degrade the quality of articles. 37.254.78.42 (talk) 04:47, 23 June 2019 (UTC)[reply]
  •  Comment: If Retro is saying he's shifted from delete to deprecate, users like the IP user above should stfu and stop saying 'I vote for delete', etc.
I am against the bot in this sense: Bot activity causes annoying extra work when it intervenes while you are consecutively editing. Less of it the better. So I don't want to encourage bot activity on flimsy excuses of the 'I think this syntax should be used' variety, especially when the end result isn't going to render any different.
I disagree with Graeme Bartlett's language= parameter suggestion because if my memory serves this does not reliably tag "(in xx language)" at the end of the citation, which is why using xx icon (Link language xx) was preferable for me.--Kiyoweap (talk) 06:27, 23 June 2019 (UTC)[reply]
The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was relisted on 2019 June 20. (non-admin closure) Frietjes (talk) 14:32, 20 June 2019 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was relisted on 2019 June 20. (non-admin closure) Frietjes (talk) 14:32, 20 June 2019 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 14:31, 20 June 2019 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was relisted on 2019 June 20. (non-admin closure) Frietjes (talk) 14:31, 20 June 2019 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was relisted on 2019 June 20. (non-admin closure) Frietjes (talk) 14:31, 20 June 2019 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was merge Template:Deletion history & Template:Multidel to Template:Old XfD multi and Module:Deletion history to Module:Old XfD multi. — JJMC89(T·C) 01:59, 17 June 2019 (UTC)[reply]

Propose merging Template:Deletion history and Template:Multidel with Template:Old XfD multi
Propose merging Module:Deletion history with Module:Old XfD multi.
A clear instance of two templates serving the exact same purpose, of listing past nominations for deletion. Note: I have noincluded the TfD tag on Template:Old XfD multi given that the template being merged into it has only one transclusion. * Pppery * it has begun... 14:40, 9 June 2019 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. Plastikspork ―Œ(talk) 12:53, 14 June 2019 (UTC)[reply]

merged with the parent article (with attribution) per consensus at WT:FOOTY Frietjes (talk) 14:12, 9 June 2019 (UTC)[reply]

Note: This discussion has been included in WikiProject Football's list of association football-related deletions. GiantSnowman 10:35, 10 June 2019 (UTC)[reply]
The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

Dallas–Fort Worth metroplex s-line templates

The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. — JJMC89(T·C) 02:09, 17 June 2019 (UTC)[reply]

S-line data modules

{{S-line}} templates for Dallas Area Rapid Transit, Denton County Transportation Authority, and the Trinity Railway Express, respectively. Superseded by Module:Adjacent stations/Dallas Area Rapid Transit, Module:Adjacent stations/Denton County Transportation Authority, and Module:Adjacent stations/Trinity Railway Express. All transclusions replaced. There are also 14 dependent s-line modules to be deleted. Mackensen (talk) 14:09, 9 June 2019 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was listify. — JJMC89(T·C) 02:04, 17 June 2019 (UTC)[reply]

This Navbox's scope is way too wide. I suggest that, before we delete it, we break it down into smaller, more reasonable topics. For example, we can turn each subgroup (i.e Colour revolutions, Arab Spring, Anti-war, etc...) into an independent Navbox (if such Navbox doesn't already exist).

This Navbox isn't helpful at all. Despite its name, it is actually about every protest in the entire 21st century. What will it look like a decade from now, for instance? --Bageense(disc.) 12:58, 9 June 2019 (UTC)[reply]

Also agree with nom that some of the categories could be hived off into separate navboxes (colour revolutions and international protests seem like obvious candidates, less convinced of the utility of some of the other sections for this) —Nizolan (talk) 15:05, 11 June 2019 (UTC)[reply]

@Tom (LT), Gonnym, and Nizolan:  Done! List of protests in the 21st century. Still working on it though. --Bageense(disc.) 16:35, 11 June 2019 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).