Help talk:Footnotes

(Redirected from Wikipedia talk:Footnotes)
Latest comment: 4 months ago by AjaxSmack in topic Line breaks for ref refnotes

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