Help:Cite errors/Cite error group refs without references: Difference between revisions

Content deleted Content added
Excirial (talk | contribs)
m Reverted edits by 71.197.158.50 (talk) to last revision by Rich Farmbrough (HG)
Blanked the page
Line 1:
{{Help:Cite errors/header
|msg=Cite error group refs without references
|cat=Pages with missing references list
}}
 
==Overview==
{{See|Wikipedia:Manual of Style (footnotes)|WP:REFGROUP}}
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:
 
:{{Tlx|Reflist|group=''groupname''}}
 
::or
 
:{{Tag|references group="''groupname''" |single}}
 
==Issues and resolution==
The most obvious and simplest issue is when the reference list markup is missing. Simply add {{Tlx|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.
 
Sometimes the reference list markup exists, but the message is shown because the {{Tag|ref|open}} tag immediately before the reference list markup does not have a closing {{Tag|ref|close}} or it is malformed, thus "eating" the rest of the text including the reference list. Find the last {{Tag|ref|open}} tag and ensure it is properly closed with {{Tag|ref|close}}.
 
This message may also show if there are {{Tag|ref}} tags after the reference list markup. Ensure all {{Tag|ref}} tags are properly placed. A template such as a navbox may have {{Tag|ref}} tags.
 
==Bugs==
* {{bug|21798}} – Misleading error message for omitted {{Tag|ref|close}} tag
* {{bug|16854}} – {{Tag|ref}} without {{Tag|references |single}}
* {{bug|17865}} – Some MediaWiki Cite error messages do not allow markup
 
==Examples==
{{Pre2|<nowiki>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref group="note">Reference 1</ref> Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</nowiki>}}
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref group="note">Reference 1</ref> Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
 
<!---Pages with citation errors Deny SmackBot--->
<!---
*********************************************************************************************
* Please do not add {{Reflist}}, <references /> or other markup to show the reference list. *
* This example deliberately introduces an error to illustrate the problem. *
*********************************************************************************************
--->