Aude has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/124314

Change subject: Move WikibaseExceptionLocalizer messages to lib
......................................................................

Move WikibaseExceptionLocalizer messages to lib

$message->exists() in WikibaseExceptionLocalizerTest does not
work when running tests in the client while the messages are
in repo.

Change-Id: Ib55d3430cc572b727c0e7621650de8ea4aa2b5a4
(cherry picked from commit aa7c85dd106563c5d17fbe5071fee37c92b8c350)
---
M lib/i18n/en.json
M lib/i18n/qqq.json
M repo/i18n/en.json
M repo/i18n/qqq.json
4 files changed, 7 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/14/124314/1

diff --git a/lib/i18n/en.json b/lib/i18n/en.json
index 64a102f..7e37d99 100644
--- a/lib/i18n/en.json
+++ b/lib/i18n/en.json
@@ -53,6 +53,8 @@
     "wikibase-globedetails-latitude": "Latitude",
     "wikibase-globedetails-precision": "Precision",
     "wikibase-globedetails-globe": "Globe",
+    "wikibase-parse-error": "Malformed value.",
+    "wikibase-unexpected-error": "Unexpected error: $1.",
     "wikibase-replicationnote": "Please notice that it can take several 
minutes until the changes are visible on all wikis.",
     "wikibase-sitelinks-wikipedia": "Wikipedia pages linked to this item",
     "wikibase-sitelinks-sitename-columnheading": "Language",
@@ -93,4 +95,4 @@
     "wikibase-time-precision-BCE-millennium": "$1. millennium BCE",
     "wikibase-time-precision-BCE-century": "$1. century BCE",
     "wikibase-time-precision-BCE-10annum": "$1s BCE"
-}
\ No newline at end of file
+}
diff --git a/lib/i18n/qqq.json b/lib/i18n/qqq.json
index bcf331c..e084ee3 100644
--- a/lib/i18n/qqq.json
+++ b/lib/i18n/qqq.json
@@ -61,6 +61,8 @@
     "wikibase-globedetails-latitude": "Label used for the \"latitude\" field 
of a globecoordinate value when showing a detailed representation of the time, 
e.g. in a diff.\n{{Identical|Latitude}}",
     "wikibase-globedetails-precision": "Label used for the \"precision\" field 
of a globecoordinate value when showing a detailed representation of the time, 
e.g. in a diff.",
     "wikibase-globedetails-globe": "Label used for the \"globe\" field of a 
globecoordinate value when showing a detailed representation of the time, e.g. 
in a diff.",
+    "wikibase-parse-error": "Generic error used by the API (in particular, by 
wbparsevalue) to indicate that some user input was malformed and could not be 
parsed",
+    "wikibase-unexpected-error": "Generic error used by the API to indicate 
that an unexpected error occurred.\n\nParameters:\n* $1 - the raw, unlocalized 
error message",
     "wikibase-replicationnote": "Note telling the user that it can take a few 
minutes until the made changes are visible on all wikis.\nPreceded by message 
{{msg-mw|Wikibase-linkitem-success-link}}",
     "wikibase-sitelinks-wikipedia": "[[File:Screenshot WikidataRepo 2012-05-13 
A.png|right|0x150px]]\nHeader messages for pages on different Wikipedias linked 
to this item. Similar messages can be created for each group of target sites, 
depending on configuration.\nSee also Wikidatas glossary for 
[[d:Wikidata:Glossary#sitelinks|site links]] and 
[[d:Wikidata:Glossary#Item|item]].\n{{Related|Wikibase-sitelinks}}",
     "wikibase-sitelinks-sitename-columnheading": "Site links table column 
heading for the column containing the language names.\n{{Identical|Language}}",
@@ -101,4 +103,4 @@
     "wikibase-time-precision-BCE-millennium": "!!DO NOT TRANSLATE!! Used to 
present a point in time BCE (before current era) with the precession of 1000 
years\n{{Related|Wikibase-time-precision}}",
     "wikibase-time-precision-BCE-century": "!!DO NOT TRANSLATE!! Used to 
present a point in time BCE (before current era) with the precession of 100 
years\n{{Related|Wikibase-time-precision}}",
     "wikibase-time-precision-BCE-10annum": "!!DO NOT TRANSLATE!! Used to 
present a point in time BCE (before current era) with the precession of 10 
years\n{{Related|Wikibase-time-precision}}"
-}
\ No newline at end of file
+}
diff --git a/repo/i18n/en.json b/repo/i18n/en.json
index 17ad99d..24aaee9 100644
--- a/repo/i18n/en.json
+++ b/repo/i18n/en.json
@@ -266,8 +266,6 @@
     "wikibase-api-param-illegal": "An illegal set of parameters have been 
used",
     "wikibase-api-permissiondenied": "You do not have the permissions needed 
to carry out this action",
     "wikibase-api-wrong-class": "Wrong class type detected",
-    "wikibase-parse-error": "Malformed value.",
-    "wikibase-unexpected-error": "Unexpected error: $1.",
     "wikibase-self-conflict-patched": "Your edit was patched into the latest 
version, overriding some of your own intermediate changes.",
     "wikibase-conflict-patched": "Your edit was patched into the latest 
version.",
     "wikibase-restoreold": "restore",
@@ -365,4 +363,4 @@
     "right-item-merge": "Merge items",
     "right-property-term": "Change property terms (labels, descriptions, 
aliases)",
     "right-property-create": "Create properties"
-}
\ No newline at end of file
+}
diff --git a/repo/i18n/qqq.json b/repo/i18n/qqq.json
index 434f97d..6699921 100644
--- a/repo/i18n/qqq.json
+++ b/repo/i18n/qqq.json
@@ -286,8 +286,6 @@
     "wikibase-api-param-illegal": "!!DO NOT TRANSLATE!! An illegal set of 
parameters have been used, General message for when the parameters passed in a 
request conflict or do not pass the initial tests",
     "wikibase-api-permissiondenied": "!!DO NOT TRANSLATE!! the user making the 
request does not have the correct permissions or rights to carry out the 
request",
     "wikibase-api-wrong-class": "!!DO NOT TRANSLATE!! The wrong class type has 
been detected when trying to make the request, this could be and item isntead 
of a property.",
-    "wikibase-parse-error": "Generic error used by the API (in particular, by 
wbparsevalue) to indicate that some user input was malformed and could not be 
parsed",
-    "wikibase-unexpected-error": "Generic error used by the API to indicate 
that an unexpected error occurred.\n\nParameters:\n* $1 - the raw, unlocalized 
error message",
     "wikibase-self-conflict-patched": "Warning issued when an edit is made 
based on an old revision, clean patching was not possible, but all intermediate 
edits where made by the same user, so aggressive patching was applied, 
overriding earlier changes by the same user. This may happen e.g. when editing 
the same item in multiple browser windows. This warning is usually not 
displayed.",
     "wikibase-conflict-patched": "Warning issued when an edit is made based on 
an old revision, but the edit conflict could be resolved by patching. This 
warning is usually not displayed.",
     "wikibase-restoreold": "Link text shown on the link that lets the user 
restore the page's content to an old revision. Must be distinct from undo and 
revert. Used on the diff views.\n{{Identical|Restore}}",

-- 
To view, visit https://gerrit.wikimedia.org/r/124314
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib55d3430cc572b727c0e7621650de8ea4aa2b5a4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: mw1.23-wmf21
Gerrit-Owner: Aude <aude.w...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to