Last modified: 2014-03-03 21:03:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47415, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45415 - Mention potentially missing </ref> tag in Cite error message
Mention potentially missing </ref> tag in Cite error message
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
master
All All
: Low minor (vote)
: MW 1.22 version
Assigned To: Nemo
: easy
Depends on:
Blocks: messages
  Show dependency treegraph
 
Reported: 2013-02-26 09:46 UTC by vssun
Modified: 2014-03-03 21:03 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description vssun 2013-02-26 09:46:17 UTC
Consider the following wiki text
--------------------------------------------------------------

Sample Text 1<ref>Reference 1</ref>

Sample Text 2<ref>Reference 2
== References ==
<references/>

---------------------------------------------------------------

Even the references tag exists, the error message in en.wikipedia is 

"Cite error: There are <ref> tags on this page, but the references will not show without a {{Reflist}} template or a <references /> tag; see the help page."

Other wikis (for eg. ml.wikipedia) also share the similar error message. 

Please add, "Or missing </ref> tag" in the message.
Comment 1 Luis Felipe Schenone 2013-02-27 05:48:25 UTC
Adding just "Or missing </ref> tag" might be confusing, how about adding "Also, a closing </ref> tag may be missing." ?
Comment 2 vssun 2013-02-27 09:33:01 UTC
Thats fine
Comment 3 Gerrit Notification Bot 2013-08-11 10:27:19 UTC
Change 78652 had a related patch set uploaded by Nemo bis:
Mention potentially missing </ref> tag in Cite error message

https://gerrit.wikimedia.org/r/78652
Comment 4 Gerrit Notification Bot 2013-08-17 10:26:26 UTC
Change 78652 merged by jenkins-bot:
Mention potentially missing </ref> tag in Cite error message

https://gerrit.wikimedia.org/r/78652
Comment 5 Nemo 2013-08-17 10:27:15 UTC
Approved by Nikerabbit.
Comment 6 Gadget850 2013-08-24 14:33:42 UTC
The English Wikipedia uses custom messages, so this patch won't change the message there. Looking at the patch, I don't see translations. The English Wikipedia uses {{broken ref}} to format the messages for the top languages.

It would be better to fix bug 21798 and give the proper error when the last </ref> is missing.
Comment 7 Nemo 2013-08-24 19:20:27 UTC
(In reply to comment #6)
> The English Wikipedia uses custom messages, so this patch won't change the
> message there. Looking at the patch, I don't see translations. The English
> Wikipedia uses {{broken ref}} to format the messages for the top languages.

Translations will be updated on translatewiki.net; you can ask an update on en.wiki on the talk page of the message, with {{editprotected}}.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links