Legoktm has uploaded a new change for review.

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

Change subject: Remove unused 'echo-error-preference' and 'echo-error-token' 
messages
......................................................................

Remove unused 'echo-error-preference' and 'echo-error-token' messages

They stopped being used in 08fc83b6de1feb58.

Change-Id: I439d15e6c894b7358ee8add0d9c882eb791909c4
---
M Hooks.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 0 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/93/220493/1

diff --git a/Hooks.php b/Hooks.php
index c2c5577..deccedd 100755
--- a/Hooks.php
+++ b/Hooks.php
@@ -104,10 +104,6 @@
                        'scripts' => array(
                                'base/ext.echo.base.js',
                        ),
-                       'messages' => array(
-                               'echo-error-preference',
-                               'echo-error-token',
-                       ),
                        'localBasePath' => __DIR__ . '/modules',
                        'remoteExtPath' => 'Echo/modules',
                        'targets' => array( 'desktop', 'mobile' ),
diff --git a/i18n/en.json b/i18n/en.json
index 427c302..1bc0fd7 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -40,8 +40,6 @@
        "echo-no-agent": "[Nobody]",
        "echo-no-title": "[No page]",
        "echo-error-no-formatter": "No formatting defined for notification.",
-       "echo-error-preference": "Error: Could not set user preference.",
-       "echo-error-token": "Error: Could not retrieve user token.",
        "notifications": "Notifications",
        "tooltip-pt-notifications": "Your notifications",
        "echo-specialpage": "Notifications",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index b3a07d4..4f73a41 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -61,8 +61,6 @@
        "echo-no-agent": "Shown in place of a username in a notification\n\tif 
the notification has no specified user.",
        "echo-no-title": "Shown in place of a page title in a notification if 
the notification has no specified page title.",
        "echo-error-no-formatter": "Error message displayed when no formatting 
has been defined for a notification. In other words, the extension doesn't know 
how to properly display the notification.",
-       "echo-error-preference": "Error message displayed when request to set 
user preference fails",
-       "echo-error-token": "Error message displayed when request to get user 
token fails",
        "notifications": 
"{{doc-special|Notifications}}\n{{Identical|Notification}}",
        "tooltip-pt-notifications": "This is used for the title (mouseover 
text) of the notifications user tool.",
        "echo-specialpage": "Special page title for 
Special:Notifications.\n{{Identical|Notification}}",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I439d15e6c894b7358ee8add0d9c882eb791909c4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to