Help talk:Cite errors

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from MediaWiki talk:Cite error)
WikiProject iconWikipedia Help NA‑class High‑importance
WikiProject iconThis page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.
NAThis page does not require a rating on the project's quality scale.
HighThis page has been rated as High-importance on the project's importance scale.

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)[reply]

@Zaslav: Spaces are permitted. Where are you seeing this as a problem? --Redrose64 🌹 (talk) 23:53, 27 April 2024 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
Values of |name= in ref tags and the value of the CITEREF used by {{sfn}} are different. One is generated manually, and the other is generated automatically. They can be the same by coincidence, but they are typically different. – Jonesey95 (talk) 13:02, 29 April 2024 (UTC)[reply]