r16960 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r16959‎ | r16960 | r16961 >
Date:05:13, 12 October 2006
Author:simetrical
Status:old
Tags:
Comment:
(bug 6554) More descriptive Cite.php messages
Modified paths:
  • /trunk/extensions/Cite/Cite.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Cite/Cite.i18n.php
@@ -1,4 +1,4 @@
2 -<?php
 2+<?php
33 /**
44 * Internationalisation file for Cite extension.
55 *
@@ -24,12 +24,13 @@
2525 # User errors
2626 'cite_error' => 'Cite error $1; $2',
2727
28 - 'cite_error_' . CITE_ERROR_REF_NUMERIC_KEY => 'Invalid call; expecting a non-integer key',
29 - 'cite_error_' . CITE_ERROR_REF_NO_KEY => 'Invalid call; no key specified',
30 - 'cite_error_' . CITE_ERROR_REF_TOO_MANY_KEYS => 'Invalid call; invalid keys, e.g. too many or wrong key specified',
31 - 'cite_error_' . CITE_ERROR_REF_NO_INPUT => 'Invalid call; no input specified',
32 - 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_INPUT => 'Invalid input; expecting none',
33 - 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_PARAMETERS => 'Invalid parameters; expecting none',
 28+ 'cite_error_' . CITE_ERROR_REF_NUMERIC_KEY => 'Invalid <code>&lt;ref&gt;</code> tag; name cannot be a simple integer, use a descriptive title',
 29+ 'cite_error_' . CITE_ERROR_REF_NO_KEY => 'Invalid <code>&lt;ref&gt;</code> tag; refs with no content must have a name',
 30+ 'cite_error_' . CITE_ERROR_REF_TOO_MANY_KEYS => 'Invalid <code>&lt;ref&gt;</code> tag; invalid names, e.g. too many',
 31+ 'cite_error_' . CITE_ERROR_REF_NO_INPUT => 'Invalid <code>&lt;ref&gt;</code> tag; refs with no name must have content',
 32+ 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_INPUT => 'Invalid <code>&lt;references&gt;</code> tag; no input is allowed, use
 33+<code>&lt;references /&gt;</code>',
 34+ 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_PARAMETERS => 'Invalid <code>&lt;references&gt;</code> tag; no parameters are allowed, use <code>&lt;references /&gt;</code>',
3435 'cite_error_' . CITE_ERROR_REFERENCES_NO_BACKLINK_LABEL => "Ran out of custom backlink labels, define more in the \"''cite_references_link_many_format_backlink_labels''\" message",
3536
3637 /*