Help:Cite errors/Cite error references group mismatch

{{Wikipedia how-to|H:CERGM}}

{{Help:Cite errors/header

|msg=Cite error references group mismatch

}}

Overview

{{see|Help:Footnotes}}

A footnote used multiple times may be defined with a name:

:{{tag|ref|params=name="foo"|content=content}}

To invoke a named footnote:

:{{tag|ref|s|params=name="foo"}}

References may also be defined within the reference list:

{{pre|

{{reflist|refs=

refcontent1

refcontent2

}}}}

List-defined reference may be within groups:

{{pre|

{{reflist|refs=

refcontent1

refcontent2

}}}}

List-defined references may be invoked by the standard markup or by use of {{tl|r}}.

{{tracked|T22707}}

Note: It is possible to get this error message when nesting footnotes in list-defined references, unfortunately the only fix in this situation is to not use list-defined references for entries that are nested.

Issues and resolution

  • A list-defined reference uses a group name that is not used within any {{tag|ref}} tags.
  • An explanatory note template such as {{tl|efn}} is used inside {{tag|ref}} tags; use {{tl|refn}} instead of {{tag|ref}} tags.
  • Footnotes are nested inside list-defined references. This is a known bug, for now just do not use list-defined references.

Examples

{{Help:Cite errors/lang}}

{{xt|The reference list has a defined reference with a group named note, but there is no reference in the content with that group and name.}}

{{pre|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

References

{{reflist|refs=

ipsum

aliqua

}}}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

{{fake heading|sub=3|References}}

{{reflist|refs=

ipsum

aliqua

}}

{{xt|{{tl|efn}} is nested inside {{tag|ref}}:}}

{{pre|Reference{{efn|x}}

== Notes==

{{notelist}}

References

{{reflist}}

}}

Reference{{efn|x}}

{{fake heading|sub=3|Notes}}

{{notelist}}

{{fake heading|sub=3|References}}

{{reflist}}

Technical

{{Help:Cite errors/tech

|msg=Cite error references group mismatch

}}

{{Wikipedia referencing |state=collapsed}}