!! version 2 !! test Smoke test for duplicated references with the same text !! wikitext text text other !! html

[1] [1] [2]

  1. 1.0 1.1 text
  2. other
!! end !! test Smoke test for duplicated references with conflicting text !! wikitext text bad other !! html

[1] [1] [2]

  1. 1.0 1.1 text Cite error: Invalid <ref> tag; name "a" defined multiple times with different content
  2. other
!! end !! test Smoke test for references that are reused *before* defined in the text !! options language=de !! wikitext text other !! html

[1] [1] [1] [1] [1] [1] [1] [1] [1] [1] [1] [2]

!! end !! test Smoke test for references that are reused *before* defined in !! wikitext other text !! html

[1] [1] [2]

  1. 1.0 1.1 text
  2. other
!! end !! test It should be impossible to roll back a follow="…", because it can't have a name !! wikitext should be 2 should be 1 is invalid !! html

[1] [2]

  1. should be 1
  2. should be 2

Cite error: A <ref follow="…"> tag that is the continuation of a previous one can neither be named individually nor extended

!! end !! test It should be impossible to roll back a follow="…", because it must have a name !! wikitext should be 2 should be 1 is invalid !! html

[1] [2]

  1. should be 1
  2. should be 2

Cite error: <ref> tag defined in <references> has no name attribute.

!! end