Changes
Help:Cite errors/Cite error group refs without references (view source)
Revision as of 14:45, 6 July 2018
, 6 years agoReverted edits by Alnasiry_saad (talk): unexplained content removal (HG) (3.4.4)
{{pp-semi-indef}}{{pp-move-indef|small=yes}}
{{Wikipedia how-to|H:CEGWR}}
{{Help:Cite errors/header
|msg=Cite error group refs without references
|cat=Pages with missing references list
|nocat=nocat
}}
==Overview==
{{See|HELP:FOOT}}
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
:{{tl|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 {{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.
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 {{tag|ref|o}} tag immediately before the reference list markup does not have a closing {{tag|ref|c}} or it is malformed, thus "eating" the rest of the text including the reference list. Find the last {{tag|ref|o}} tag and ensure it is properly closed with {{tag|ref|c}}.
----
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.
==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</nowiki> {{Not a typo|<nowiki>laboris</nowiki>}}{{Not a typo}} <nowiki>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 {{Not a typo|laboris}} nisi ut aliquip ex ea commodo consequat.
==Technical==
{{Help:Cite errors/tech
|msg=Cite error group refs without references
|cat=Pages with missing references list
|nocat=nocat}}
===Bugs===
{{tracked|T23798}}
* Misleading error message for omitted {{tag|ref|close}} tag {{phab|23798}}
{{Wikipedia referencing |state=collapsed}}
<!---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. *
*********************************************************************************************
--->
{{Wikipedia how-to|H:CEGWR}}
{{Help:Cite errors/header
|msg=Cite error group refs without references
|cat=Pages with missing references list
|nocat=nocat
}}
==Overview==
{{See|HELP:FOOT}}
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
:{{tl|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 {{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.
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 {{tag|ref|o}} tag immediately before the reference list markup does not have a closing {{tag|ref|c}} or it is malformed, thus "eating" the rest of the text including the reference list. Find the last {{tag|ref|o}} tag and ensure it is properly closed with {{tag|ref|c}}.
----
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.
==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</nowiki> {{Not a typo|<nowiki>laboris</nowiki>}}{{Not a typo}} <nowiki>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 {{Not a typo|laboris}} nisi ut aliquip ex ea commodo consequat.
==Technical==
{{Help:Cite errors/tech
|msg=Cite error group refs without references
|cat=Pages with missing references list
|nocat=nocat}}
===Bugs===
{{tracked|T23798}}
* Misleading error message for omitted {{tag|ref|close}} tag {{phab|23798}}
{{Wikipedia referencing |state=collapsed}}
<!---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. *
*********************************************************************************************
--->