!! 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 T240248: Erroring parser function shouldn't break references !! wikitext something {{#ifeq: {{#expr: string < 5 }} | 1 | true | false or error }} !! html

[1] false or error

  1. something
!! end