Last modified: 2006-10-12 05:26:22 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 T8554, the corresponding Phabricator task for complete and up-to-date bug report information.
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