Last modified: 2014-07-28 15:54:07 UTC
If the missing </ref>-tag is the last ref tag, no error message is displayed. Works correct: <ref>broken <ref>correct</ref> <references /> Doesn't work : <ref>broken <references /> See also https://bugzilla.wikimedia.org/show_bug.cgi?id=6199#c25 for comments on that
I think this is fixed.
No this isn't fixed per se: the sequence "<ref><references/>" generates the error: "Cite error: Cite error: There are <ref> tags on this page, but the references will not show without a <references/> tag." But this is the wrong error message because there is indeed a <references/> in the page. The error should be: "Cite error: Closing </ref> missing for <ref> tag" or maybe even: "Cite error: Closing </ref> missing for last <ref> tag"
Duplicate of Bug 21798
*** Bug 21798 has been marked as a duplicate of this bug. ***
(In reply to Duncan Harris from comment #2) > the sequence "<ref><references/>" generates the error: > > "Cite error: Cite error: There are <ref> tags on this page, but the > references will not show without a <references/> tag." > > But this is the wrong error message because there is indeed a <references/> > in the page. The error should be: > > "Cite error: Closing </ref> missing for <ref> tag" > > or maybe even: > > "Cite error: Closing </ref> missing for last <ref> tag" It doesn't output an error message anymore because, apparently because bug 66860 has been resolved and it now just silently eats the error message.
If the last </ref> was missing, then the reference list markup would get eaten and it would trigger 'MediaWiki:Cite error refs without references'. On enwiki, this would put the page into an error category and it would be fixed. Bug 66860 added the automatic reference list, so 'MediaWiki:Cite error refs without references' is never triggered. Instead, the unclosed <ref> eats the following content and includes it in the last rendered reference. Example: <ref>1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Bu if the reference list markup exists, then the last reference is generated twice and the the reference list markup is exposed. Example: <ref>1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <references /> There may be other instances where this renders differently.
Bumping up importance since we can no longer track and resolve this problem.