Last modified: 2014-07-21 22:58:11 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 T59619, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57619 - Cite: Error message for an empty reference should be more appropriate and helpful
Cite: Error message for an empty reference should be more appropriate and hel...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy, i18n
Depends on:
Blocks: messages
  Show dependency treegraph
 
Reported: 2013-11-26 20:29 UTC by Rummana Yasmeen
Modified: 2014-07-21 22:58 UTC (History)
6 users (show)

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


Attachments
screenshot (123.87 KB, image/png)
2013-11-26 20:30 UTC, Rummana Yasmeen
Details
Screenshot of the error (136.07 KB, image/png)
2013-11-26 20:32 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2013-11-26 20:29:52 UTC
Steps to reproduce:

1.Click on the "Edit" button
2.Insert a reference with no content.
3.Save the page

Observed Result:

The error message that appears on the page is "Cite error: The opening <ref> tag is malformed or has a bad name" where as 
when you edit a reference (not first time insert) to an empty content the error message that appears is "Cite error: There are <ref> tags on this page without content in them"

The later one is more understandable for a user.So maybe we can change the message to the later one.
Comment 1 Rummana Yasmeen 2013-11-26 20:30:47 UTC
Created attachment 13912 [details]
screenshot
Comment 2 Rummana Yasmeen 2013-11-26 20:32:34 UTC
Created attachment 13913 [details]
Screenshot of the error
Comment 3 James Forrester 2014-02-18 18:22:17 UTC
(Not a VisualEditor-specific issue.)
Comment 4 Gadget850 2014-05-01 10:43:56 UTC
The examples are on the English Wikipedia, where the cite errors are heavily customized.

* "Cite error: The opening <ref> tag is malformed or has a bad name" is through "MediaWiki:Cite error ref no key"


* "Cite error: There are <ref> tags on this page without content in them" is through "MediaWiki:Cite error ref no input"
Comment 5 Gadget850 2014-07-21 22:58:11 UTC
The test page in question includes '<ref />' which is invalid. This triggers 'MediaWiki:Cite error ref no key'.

The default error message is "Invalid <ref> tag; refs with no content must have a name"

The customized message on enwiki is "The opening <ref> tag is malformed or has a bad name (see the help page)." The linked help page explains the issue in depth.

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


Navigation
Links