Module talk:SDcat: Difference between revisions

Content deleted Content added
The following seemed too off-topic for the CFD discussion: Don't let my minor misgivings stop you
comment
Line 45:
:: Negatory on the category, then? ―[[special:contributions/cobaltcigs|cobaltcigs]] 16:01, 30 September 2020 (UTC)
::: Nah, go ahead. Don't let my minor misgivings stop you. --[[User:RexxS|RexxS]] ([[User talk:RexxS|talk]]) 20:59, 30 September 2020 (UTC)
:::: I was only asking about technical feasibility. I think it would probably require the same technique [[Module:Citation/CS1/Configuration|used by Module:Citation]], which makes date-formating decisions by looking for "use mdy/dmy dates" templates in the surrounding wikitext of articles where it is used. So we would instead have to look for a direct use of {{tl|short description}} plus one of the 36 templates which also use it, minus those using a parameter to suppress the extra description? That might be straightforward enough, but how would the module determine that these have the same or different content? It seems that would require viewing the rendered page html.
:::: Speaking of rendered page html, it appears that (by default at least) a manually entered {{tl|short description}} and one generated from {{tl|infobox settlement}} are styled with identical html <code><nowiki><div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none"></nowiki></code>. This makes it difficult to confirm which description (if any) has taken precedence. ―[[special:contributions/cobaltcigs|cobaltcigs]] 03:33, 4 October 2020 (UTC)