Last modified: 2006-10-12 05:26:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6554 - More descriptive Cite.php error messages
More descriptive Cite.php error messages
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-05 18:09 UTC by Aryeh Gregor (not reading bugmail, please e-mail directly)
Modified: 2006-10-12 05:26 UTC (History)
0 users

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


Attachments

Description Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-07-05 18:09:15 UTC
The current Cite.php user errors are:

'Invalid call; expecting a non-integer key'
'Invalid call; no key specified'
'Invalid call; invalid keys, e.g. too many or wrong key specified'
'Invalid call; no input specified'
'Invalid input; expecting none'
'Invalid parameters; expecting none'
"Ran out of custom backlink labels, define more in the
\"''cite_references_link_many_format_backlink_labels''\" message"

I don't think these are probably very understandable to non-techy types. 
(What's a "call"?  "Key"?  For that matter, what's "Cite"?  Etc.)  May I suggest
they're changed (lines 77-83 of Cite.php) to something more like:

'Invalid <code>&lt;ref&gt;</code> tag; name cannot be a simple integer'
'Invalid <code>&lt;ref&gt;</code> tag; refs with no content must have a name,
see http://meta.wikimedia.org/wiki/Cite/Cite.php'
'Invalid <code>&lt;ref&gt;</code> tag; invalid names, e.g. too many'
'Invalid <code>&lt;ref&gt;</code> tag; refs with no name must have content, see
http://meta.wikimedia.org/wiki/Cite/Cite.php'
'Invalid <code>&lt;references&gt;</code> tag; no input is allowed, use
<code>&lt;references /&gt;</code>'
'Invalid <code>&lt;references&gt;</code> tag; no parameters are allowed, use
<code>&lt;references /&gt;</code>'
"Ran out of custom backlink labels, ask an administrator to define more in the
\"''cite_references_link_many_format_backlink_labels''\" message"
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-12 05:26:22 UTC
Fixed in r16960 (see also r16961).

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


Navigation
Links