Page MenuHomePhabricator

Add a detection for a missing closing tag for <ref>
Closed, ResolvedPublic

Description

Author: csiborg.mirco

Description:
When the last <ref> tag used is mistakenly left unclosed, an error message about a missing <references/> tag is issued (localized Romanian text “Eroare la citare: pagina conţine coduri <ref>, dar lipseşte codul <references/>. ”) instead of a message indicating the unenclosed tag and none of the folowing text is rendered in the preview window. The <references> tag was present.

For me this was a bit confusing at first because coincidentally the faultive <ref> tag was the last thing in the article. So the only thing not rendered was the References. :), which, I repeat, was present.

Here a version made to reproduce the bug :

http://ro.wikipedia.org/w/index.php?title=Montmilch&oldid=5114127

Here the current version

http://ro.wikipedia.org/w/index.php?title=Montmilch&oldid=5114132

Greetings,

csiborg.mirco


Version: unspecified
Severity: normal

Details

Reference
bz27075

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:21 PM
bzimport added projects: Cite, Parser.
bzimport set Reference to bz27075.
bzimport added a subscriber: Unknown Object (MLST).

Moving this ticket to the "Cite" extension since <ref> is not part of core MediaWiki.

  • This bug has been marked as a duplicate of bug 21798 ***