Catrope has uploaded a new change for review.

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

Change subject: Attempt to fix unsubstituted message in Echo emails
......................................................................

Attempt to fix unsubstituted message in Echo emails

Bug: T135446
Change-Id: Id5f2e6affc43c79f8b247362e4f501af3bd356f7
---
M includes/EmailFormatter.php
1 file changed, 2 insertions(+), 2 deletions(-)


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

diff --git a/includes/EmailFormatter.php b/includes/EmailFormatter.php
index 2b79bd1..21bed12 100644
--- a/includes/EmailFormatter.php
+++ b/includes/EmailFormatter.php
@@ -667,7 +667,7 @@
         * {@inheritDoc}
         */
        public function decorateFooter( $address, User $user ) {
-               return EchoEmailMode::message( 'echo-email-footer-default', 
$user )
+               return EchoEmailMode::message( 'echo-email-plain-footer', $user 
)
                        ->params(
                                $address,
                                EchoEmailMode::message( 
'echo-email-batch-separator', $user )->text()
@@ -770,7 +770,7 @@
                $title = SpecialPage::getTitleFor( 'Preferences' );
                $title->setFragment( "#mw-prefsection-echo" );
 
-               return EchoEmailMode::message( 
'echo-email-footer-default-html', $user )
+               return EchoEmailMode::message( 'echo-email-html-footer', $user )
                        ->params( $address )
                        ->rawParams( $title->getFullURL( '', false, PROTO_HTTPS 
) )
                        ->text();

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

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

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

Reply via email to