< July 3 July 5 >

July 4

Template:Presumed self

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 2018 July 14. Primefac (talk) 00:26, 14 July 2018 (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).

Template:Media by uploader

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 2018 July 14. Primefac (talk) 00:26, 14 July 2018 (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).

Module:Other MeSH codes

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 keep. Primefac (talk) 03:03, 12 July 2018 (UTC)[reply]

I don't see why this module is necessary; why can't ((other MeSH codes)) be implemented as ((for|other categories|List of MeSH codes)) directly? ((3x|p))ery (talk) 17:10, 25 June 2018 (UTC)[reply]

Relisted to generate a more thorough discussion and clearer consensus.
Please add new comments below this notice. Thanks, Primefac (talk) 16:33, 4 July 2018 (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).

Module:Hatnote inline

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 no consensus. Primefac (talk) 01:02, 14 July 2018 (UTC)[reply]

Propose merging Module:Hatnote inline with Module:Hatnote.
Wouldn't it make a lot more sense for Module:Hatnote to take a parameter to decide whether to use a span or a div, rather than forcing a separate hacky module for inline hatnotes? ((3x|p))ery (talk) 17:29, 25 June 2018 (UTC)[reply]

Relisted to generate a more thorough discussion and clearer consensus.
Please add new comments below this notice. Thanks, Primefac (talk) 16:33, 4 July 2018 (UTC)[reply]
Whether Nihiltres is "happy" with it or not, it's heavily used, everywhere from MoS itself to our glossary articles, in various templates, and throughout mainspace in the ((crossref)) template and several others. This seems to be some kind of hangup about the word "hatnote". I.e. it's a hat ergo it must be on top. This is a semantic confusion. The module provides consistent markup for self-referential notes that we need to style and track consistently. For no reason beyond historical accident, the module is named after hatnotes. But only some of them are hatnotes, per se, and sit atop pages to disambiguate, or atop sections to do things like ((Main)). Others are inline, and are explicitly intended to work mid-sentence or at the end of one. The actual reason we even have a separate module for inline cases was because of WP:FILIBUSTER stuff several years ago based on this same sort of "I just can't get it through my head that inline cross-references can exist and aren't at the top of the page" stuff. It's silly and we really need to get past this. Most if not all of our "hatnote" templates aside from the disambiguation ones need a parameter to make them work inline. We could then merge a lot of templates, and clean up both a) a lot of unnecessarily wasted space and awful layout in articles from using <div>-based hatnotes where they are not appropriate, and b) inconsistent and often mis-coded inline attempts to replicate the functionality of hatnotes in a span, for people who have not yet discovered the ((Crossreference)) template. So, yes, "in terms of functionality, it's probably just as well to merge these" – there are no other terms to consider. The idea that Module:Hatnote can only possibly be of use to page-top or section-top hatnotes in the literal sense is counter-productive and illusory.  — SMcCandlish ¢ 😼  10:42, 5 July 2018 (UTC)[reply]
I'm looking at this as a design problem as well as a practical one. Keeping semantically-distinct templates and modules separate helps us write cleaner code and styles (hatnote is one of the few classes bundled into MediaWiki:Common.css) and reason about them consistently. "Hatnotes go at the top of sections" is a reasonable assumption to make, so we should avoid surprises like creating in-prose notes based on them. I'm not opposed to adding a layer of abstraction and moving most of Module:Hatnote's functionality into, say, "Module:Navnote" that would then help implement a simpler Module:Hatnote and a Module:Prosenote or whatever. We might not strictly implement inheritance per se in the code, but the pattern should be obvious. While it's certainly more verbose, the clarity that a system like that would have by design is valuable. That is why I oppose this merge proposal. ((Nihiltres |talk |edits)) 17:07, 12 July 2018 (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).

Module:About-distinguish

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 no consensus. Primefac (talk) 01:03, 14 July 2018 (UTC)[reply]

Propose merging Module:About-distinguish with Module:Labelled list hatnote.
(note: this could also be considered a deletion nomination rather than a merge) The first half of what the module does is just basic Wikitext, as seen in the history of the template (the Wikidata description may look ugly, but it isn't really better in Lua). The second half is just a standard list of hatnote targets, which does not need yet another module.

The things that need to be merged in are "or" instead of "and" (also needed for #Module:Distinguish below) and an option to skip the first numbered parameter, both generically useful features. I expect this merge to be more controversial than the other hatnote merges. ((3x|p))ery (talk) 18:50, 25 June 2018 (UTC)[reply]

Relisted to generate a more thorough discussion and clearer consensus.
Please add new comments below this notice. Thanks, Primefac (talk) 16:33, 4 July 2018 (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).