Help:Cite errors/Cite error group refs without references: Difference between revisions
w>Tholme No edit summary |
m (1 revision imported) |
(No difference)
|
Latest revision as of 20:07, 13 February 2023
Template:Pp-semi-indefTemplate:Pp-move-indef Template:Wikipedia how-to Help:Cite errors/header
Overview
Template:See When grouped references are defined, then the page must also have markup to show the reference list. The reference list is shown by including either of the following:
{{Reflist|group=groupname}}
- or
- {{notelist}} or one of the variants listed below.
Issues and resolution
The most obvious and simplest issue is when the reference list markup is missing. Simply add {{reflist|group=groupname}}
to the end of the article under the section title "References", usually between "See also" and "External links". The $1 in the message shown above will be replaced with the groupname.
There are predefined group names that use templates for the in-text citation and for the reference list. If one of these group names is used, then the matching reference list template can be used. {{#section:Help:footnotes|pregrouptable}}
Sometimes the reference list markup exists, but the message is shown because the <ref>
tag immediately before the reference list markup does not have a closing </ref>
or it is malformed, thus "eating" the rest of the text including the reference list. Find the last <ref>
tag and ensure it is properly closed with </ref>
.
This message may also show if there are <ref>...</ref>
tags after the reference list markup. Ensure all <ref>...</ref>
tags are properly placed. A template such as a navbox may have <ref>...</ref>
tags.
Examples
Help:Cite errors/lang In the following example, the list of references in the group note is missing: Template:Pre
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[note 1] Ut enim ad minim veniam, quis nostrud exercitation ullamco Template:Not a typo nisi ut aliquip ex ea commodo consequat.
Technical
Bugs
- Misleading error message for omitted
</ref>
tag Template:Phab
Lua error: bad argument #2 to 'find' (string expected, got nil).
Cite error: <ref>
tags exist for a group named "note", but no corresponding <references group="note"/>
tag was found