Help talk:Footnotes
This help page does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
|
Text and/or other creative content from this version of Help:Footnotes was copied or moved into Help:Automatically generated reference list with this edit. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. |
This page has archives. Sections older than 30 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
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)
- It would be better to change Visual Editor to not do that. Nikkimaria (talk) 05:56, 25 February 2024 (UTC)
- 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)
- Thanks for the clarification, @John of Reading and @Nikkimaria. Agree with both. Cielquiparle (talk) 15:55, 25 February 2024 (UTC)
- 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)
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.) Sdkb talk 20:12, 24 April 2024 (UTC)
- 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)
- There are several forms of
{{efn}}
, not just{{efn-lr}}
; each one has a matching notelist. --Redrose64 🌹 (talk) 20:30, 24 April 2024 (UTC)- 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. Sdkb talk 20:35, 24 April 2024 (UTC)
- @Sdkb: Don't use a manual group, use one of the predefined forms as I advised. --Redrose64 🌹 (talk) 20:48, 24 April 2024 (UTC)
- 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. Sdkb talk 21:03, 24 April 2024 (UTC)
- Your problem at Template:Infobox U.S. college admissions is because neither template accepts a
|group=
parameter. At User:Sdkb/sandbox/early drafts, changetoblah more blah.{{efn-lr|lr note}}
andblah more blah.{{efn-ur|ur note}}
to==Notelist-lr== {{notelist-lr}}
This will not then conflict. --Redrose64 🌹 (talk) 21:50, 24 April 2024 (UTC)==Notelist-ur== {{notelist-ur}}
- 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)- 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? Sdkb talk 01:38, 25 April 2024 (UTC)
- In the meantime, @Bsherr, I wonder if we should just go back to the manual footnotes to avoid the possibility of conflicts? Sdkb talk 01:42, 25 April 2024 (UTC)
- 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? Sdkb talk 01:38, 25 April 2024 (UTC)
- 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
- 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)
- Your problem at Template:Infobox U.S. college admissions is because neither template accepts a
- 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. Sdkb talk 21:03, 24 April 2024 (UTC)
- @Sdkb: Don't use a manual group, use one of the predefined forms as I advised. --Redrose64 🌹 (talk) 20:48, 24 April 2024 (UTC)
- 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)
- 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)
- 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. Sdkb talk 20:35, 24 April 2024 (UTC)
"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)
Line breaks for ref refnotes
[edit]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)
- 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)
- 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)