Module talk:Footnotes: Difference between revisions

Content deleted Content added
Line 168:
 
At [[Capri-Sun]], I have two references that I'd written as <code><nowiki>{{harvnb|Capri Sun Group|n.d. a}}</nowiki></code> and <code><nowiki>{{harvnb|Capri Sun Group|n.d. b}}</nowiki></code>. I could've sworn they worked as intended when they were added, but maybe I just overlooked this before, because I don't spot anything relevant in the history. Either way, as it stands, these render as "[[Capri-Sun#CITEREFCapri Sun Groupn.d. a|Capri Sun Group & n.d. a]]" and ""[[Capri-Sun#CITEREFCapri Sun Groupn.d. b|Capri Sun Group & n.d. b]]", which appears to be because [[Module:Footnotes#L-131|L131]] is expecting no space before the disambiguating letter. But I don't think most people would write "n.d.a", which looks like the ''a'' is part of an acronym. "n.d. a" is much clearer. I would suggest that both should be allowed, as should "nd a" in contrast to "nda". I believe all we'd have to do is add a <code> ?</code> before the <code>%l</code> on lines 65, 66, 131, and 132. <span style="font-family:courier"> -- [[User:Tamzin|<span style="color:#E6007A">Tamzin</span>]]</span><sup class="nowrap">&#91;[[User talk:Tamzin|<i style="color:#E6007A">cetacean needed</i>]]]</sup> <small>([[User:Tamzin/🤷|they&#124;xe&#124;🤷]])</small> 03:06, 7 April 2025 (UTC)
 
:Those references appear to be working as expected and I'm seeing them displayed with a space between n.d. and the disambiguation. What error message are you seeing? It may have to do with the script you're using -- <small>LCU</small> '''[[User:ActivelyDisinterested|A<small>ctively</small>D<small>isinterested</small>]]''' <small>''«[[User talk:ActivelyDisinterested|@]]» °[[Special:Contributions/ActivelyDisinterested|∆t]]°''</small> 11:12, 7 April 2025 (UTC)