From d8775b5450acc62c96a36b46352394bb9d762e51 Mon Sep 17 00:00:00 2001 From: darthbhyrava Date: Mon, 9 Nov 2015 11:57:37 +0530 Subject: [PATCH] Change Mediawiki:Cite error ref_no_key text Clarified error message by changing it to "The opening tag is malformed or has a bad name". Bug: T115810 Change-Id: I0c9cb8f5e81ebdb194c57f24a5792b682dd290dc --- citeParserTests.txt | 3 +-- i18n/en.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/citeParserTests.txt b/citeParserTests.txt index 695378c04..6c60a9a5f 100644 --- a/citeParserTests.txt +++ b/citeParserTests.txt @@ -279,8 +279,7 @@ Erroneous refs

Cite error: Invalid <ref> tag; name cannot be a simple integer. Use a descriptive title

[1] -

Cite error: Invalid <ref> tag; -refs with no content must have a name +

Cite error: The opening <ref> tag is malformed or has a bad name

[2]

[3]

Cite error: Invalid <references> tag; diff --git a/i18n/en.json b/i18n/en.json index f47898fa0..2536bfba1 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -18,7 +18,7 @@ "cite-desc": "Adds and tags, for citations", "cite_error": "Cite error: $1", "cite_error_ref_numeric_key": "Invalid <ref> tag;\nname cannot be a simple integer. Use a descriptive title", - "cite_error_ref_no_key": "Invalid <ref> tag;\nrefs with no content must have a name", + "cite_error_ref_no_key": "The opening <ref> tag is malformed or has a bad name", "cite_error_ref_too_many_keys": "Invalid <ref> tag;\ninvalid names, e.g. too many", "cite_error_ref_no_input": "Invalid <ref> tag;\nrefs with no name must have content", "cite_error_references_duplicate_key": "Invalid <ref> tag; name \"$1\" defined multiple times with different content",