Help talk:Cite errors
(Redirected from Help talk:Cite errors/Cite error references duplicate key)
This is the talk page for discussing improvements to the Cite errors page. |
|
Archives: 1, 2, 3, 4, 5, 6, 7, 8Auto-archiving period: 30 days |
Wikipedia Help NA‑class High‑importance | ||||||||||
|
To-do list for Help:Cite errors:
|
Spaces in ref names[edit]
It appears that a blank space in a ref name, as in <ref name="Mar Narty">, is not accepted. Should this be stated in the article? Zaslav (talk) 23:39, 27 April 2024 (UTC)
- @Zaslav: Spaces are permitted. Where are you seeing this as a problem? --Redrose64 🌹 (talk) 23:53, 27 April 2024 (UTC)
- I was editing Euler's constant to move what is now Ref. 13 in the Footnotes section from the References section, by converting the citation "r|Ram MurtySaradha2010" to "sfn|Ram MurtySaradha2010", but the WP compiler kept giving me an error message that it could not find the content of "Ram MurtySaradha2010". When I removed the space, the problem disappeared. Is this enough information? The edit history of Euler's constant will show some of this process. Zaslav (talk) 05:07, 28 April 2024 (UTC)
- I've been through the last few edits at that article, and don't see any error messages. --Redrose64 🌹 (talk) 12:46, 28 April 2024 (UTC)
- I suspect that in the LDR you did
<ref name=Ram MurtySaradha2010>
with no quotes, rather than<ref name="Ram MurtySaradha2010">
or<ref name='Ram MurtySaradha2010'>
as is required when a space is in the name. It seems that making that mistake in an LDR doesn't produce a visible error message, the broken ref is just ignored (and then the references intended to use it generate the "was invoked but never defined" error). Anomie⚔ 20:06, 28 April 2024 (UTC)
- I was editing Euler's constant to move what is now Ref. 13 in the Footnotes section from the References section, by converting the citation "r|Ram MurtySaradha2010" to "sfn|Ram MurtySaradha2010", but the WP compiler kept giving me an error message that it could not find the content of "Ram MurtySaradha2010". When I removed the space, the problem disappeared. Is this enough information? The edit history of Euler's constant will show some of this process. Zaslav (talk) 05:07, 28 April 2024 (UTC)