Jump to content

Help talk:Footnotes

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Names must not be totally numeric - Visual editor

[edit]

Today I learned that "names must not be totally numeric" – isn't this out of date now that we have visual editor which automatically assigns numeric names? Perhaps that point could be reworded to make an exception fo #visualeditors? Cielquiparle (talk) 04:31, 25 February 2024 (UTC)[reply]

It would be better to change Visual Editor to not do that. Nikkimaria (talk) 05:56, 25 February 2024 (UTC)[reply]
The Visual Editor's reference names are not totally numeric, as they begin with a colon. -- John of Reading (talk) 07:53, 25 February 2024 (UTC)[reply]
Thanks for the clarification, @John of Reading and @Nikkimaria. Agree with both. Cielquiparle (talk) 15:55, 25 February 2024 (UTC)[reply]

Interfering note lists

[edit]

Is there a way to use groups to prevent note lists used only for an infobox from interfering other note lists used elsewhere in an article? For instance, here, the note "lr note" should be appearing in the "notelist-lr" section, not in the infobox. (Courtesy pinging @Bsherr, as this relates to your change.) Sdkbtalk 20:12, 24 April 2024 (UTC)[reply]

Yes, you could use markup and a unique group name instead of the efn-lr template. See WP:REFGROUP --Bsherr (talk) 20:20, 24 April 2024 (UTC)[reply]
There are several forms of {{efn}}, not just {{efn-lr}}; each one has a matching notelist. --Redrose64 🌹 (talk) 20:30, 24 April 2024 (UTC)[reply]
I tried that here, but I didn't see it working in the preview of my sandbox and don't see it working live either. Sdkbtalk 20:35, 24 April 2024 (UTC)[reply]
@Sdkb: Don't use a manual group, use one of the predefined forms as I advised. --Redrose64 🌹 (talk) 20:48, 24 April 2024 (UTC)[reply]
The issue is that an article could be using any of the existing predefined forms, so they would all potentially interfere. We also want to keep the lower roman formatting without a visual change. Sdkbtalk 21:03, 24 April 2024 (UTC)[reply]
Your problem at Template:Infobox U.S. college admissions is because neither template accepts a |group= parameter. At User:Sdkb/sandbox/early drafts, change
blah more blah.{{efn-lr|lr note}}
to
blah more blah.{{efn-ur|ur note}}
and
==Notelist-lr==
{{notelist-lr}}
to
==Notelist-ur==
{{notelist-ur}}
This will not then conflict. --Redrose64 🌹 (talk) 21:50, 24 April 2024 (UTC)[reply]
I think Sdkb point is that they want to use {{efn-lr}} style notes, and include a {{notelist-lr}} in the infobox, but not catch Cite error: There are <ref> tags on this page without content in them (see the help page). notes from outside the infobox in that notelist. If they use {{efn-ua}} they would not want to catch {{efn-ua}} notes from outside the infobox. I don't believe there's anyway of doing this with the currently available options. -- LCU ActivelyDisinterested «@» °∆t° 22:16, 24 April 2024 (UTC)[reply]
Yes, that's correct, Actively. Too bad there isn't currently a solution — is there a Phabricator ticket or some other technical project that might offer one? Sdkbtalk 01:38, 25 April 2024 (UTC)[reply]
In the meantime, @Bsherr, I wonder if we should just go back to the manual footnotes to avoid the possibility of conflicts? Sdkbtalk 01:42, 25 April 2024 (UTC)[reply]
This was brought up at Template talk:Notelist#The group= parameter is not working as documented about six years ago, notelist doesn't use group in the same way as {{reflist}}. So it can't be used in the way you want to use it. -- LCU ActivelyDisinterested «@» °∆t° 22:23, 24 April 2024 (UTC)[reply]
EFN only works with the predefined groups. Instead, you can use Reflist or the magic word. Alternatively, we can just remove the notelist from the template and put it at the bottom of each article, integrated with any other explanatory footnotes. --Bsherr (talk) 03:36, 25 April 2024 (UTC)[reply]
Or in other words, {{efn}} is implemented by Template:Efn, with the predefined groups that Bsherr mentioned, whereas <ref>s are implemented by the Wikimedia software, with whatever group names you legally define. So they are not symmetric. And since the {{Efn}} template is not Wikimedia software, a Phab ticket doesn't seem like the right venue. Mathglot (talk) 09:49, 25 April 2024 (UTC)[reply]

"Unique" vs. "distinct

[edit]

I see "unique" used to mean "distinct", when its precise meaning is the opposite. (Unique name means the same reference has only one name. Distinct names means two references don't have the same name.) I am unable to find the text to change the word. Where is the text? It appears to be linked by "refname rules", but where is that? Zaslav (talk) 23:34, 27 April 2024 (UTC)[reply]

Line breaks for ref refnotes

[edit]
File:Ref line break.jpg

In limited cases, the <ref> generated footnote numbers are breaking lines, even when the <ref> is correctly flush with the preceding characters, i.e. no space. It seems to only occur in Firefox, not Chrome, only in wide mode and not standard and only when logged in (Vector 2022). I used the fluorine article for testing. Just a heads up if anyone is interested. —  AjaxSmack  19:27, 15 July 2024 (UTC)[reply]

This has been requested before, but not on this page. It's not been done because the amount of work that would be needed simply isn't worth it: cases like this are rare, and are also dependent on factors such as browser, device width, font size etc. --Redrose64 🌹 (talk) 21:33, 15 July 2024 (UTC)[reply]
Thanks for the explanation. It doesn't bother me as long as it doesn't affect the unwashed masses. (And thanks for pointing out in your edit summary that <ref> tags don't belong in headers.)  AjaxSmack  22:00, 15 July 2024 (UTC)[reply]