!! version 2
!! test
Smoke test for duplicated references with the same text
!! wikitext
[text]
[text]
[other]
!! html
[1]
[1]
[2]
!! end
!! test
Smoke test for duplicated references with conflicting text
!! wikitext
[text]
[bad]
[other]
!! html
[1]
[1]
[2]
- ↑ 1.0 1.1 text Cite error: Invalid
<ref>
tag; name "a" defined multiple times with different content
- ↑ 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]
- ↑ 1,00 1,01 1,02 1,03 1,04 1,05 1,06 1,07 1,08 1,09 1,10 text
- ↑ other
!! end
!! test
Smoke test for references that are reused *before* defined in
!! wikitext
[other]
[text]
!! html
[1]
[1]
[2]
!! 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
!! 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]
- ↑ should be 1
- ↑ should be 2
Cite error: Invalid <ref>
tag; invalid names, e.g. too many
!! 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]
- ↑ should be 1
- ↑ should be 2
Cite error: <ref>
tag defined in <references>
has no name attribute.
!! end