Jdlrobson has uploaded a new change for review.

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

Change subject: Update Gather messages
......................................................................

Update Gather messages

See T95903 before judging.
Dependency:I77bb3e8741f33f0520c782384117f31acf8c6c18
Bug: T95729

Change-Id: I2b08aad8e9daa4883acca9c46b68ca884bdef150
---
M includes/skins/UserLoginAndCreateTemplate.php
M includes/skins/UserLoginMobileTemplate.php
2 files changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/35/203835/1

diff --git a/includes/skins/UserLoginAndCreateTemplate.php 
b/includes/skins/UserLoginAndCreateTemplate.php
index ef40d46..ad67bc2 100644
--- a/includes/skins/UserLoginAndCreateTemplate.php
+++ b/includes/skins/UserLoginAndCreateTemplate.php
@@ -22,6 +22,8 @@
 
        /** @var array $actionMessagesHeaders Message keys for page actions */
        protected $actionMessageHeaders = array(
+               // FIXME: Should live in Gather extension
+               'add_to_collection' => 'gather-purpose',
                'watch' => 'mobile-frontend-watchlist-purpose',
                'edit' => 'mobile-frontend-edit-login',
                'signup-edit' => 'mobile-frontend-edit-login',
diff --git a/includes/skins/UserLoginMobileTemplate.php 
b/includes/skins/UserLoginMobileTemplate.php
index 8dc92b8..53a2469 100644
--- a/includes/skins/UserLoginMobileTemplate.php
+++ b/includes/skins/UserLoginMobileTemplate.php
@@ -12,11 +12,14 @@
                'watch' => 'mobile-frontend-watchlist-login-action',
                'edit' => 'mobile-frontend-edit-login-action',
                '' => 'mobile-frontend-generic-login-action',
+               // FIXME: Should live in Gather extension
+               'add_to_collection' => 'gather-purpose-login-action',
        );
        /** @var array $actionMessages Message keys for site links */
        protected $pageMessages = array(
                'Uploads' => 'mobile-frontend-donate-image-login-action',
                'Watchlist' => 'mobile-frontend-watchlist-login-action',
+               // FIXME: Should live in Gather extension
                'Gather' => 'gather-anon-view-lists',
        );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b08aad8e9daa4883acca9c46b68ca884bdef150
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

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

Reply via email to