jenkins-bot has submitted this change and it was merged.

Change subject: GlobalRenameQueue: send emails in content language
......................................................................


GlobalRenameQueue: send emails in content language

Change-Id: I3c3c80a32c21a3e1551e4f205306e34f582845a9
---
M includes/specials/SpecialGlobalRenameQueue.php
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Aaron Schulz: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/specials/SpecialGlobalRenameQueue.php 
b/includes/specials/SpecialGlobalRenameQueue.php
index 5548cec..ea5b25d 100644
--- a/includes/specials/SpecialGlobalRenameQueue.php
+++ b/includes/specials/SpecialGlobalRenameQueue.php
@@ -416,18 +416,18 @@
                                if ( $approved )  {
                                        $subject = $this->msg(
                                                
'globalrenamequeue-email-subject-approved'
-                                       )->text();
+                                       )->inContentLanguage()->text();
                                        $body = $this->msg(
                                                
'globalrenamequeue-email-body-approved',
                                                array(
                                                        $oldUser->getName(),
                                                        $newUser->getName(),
                                                )
-                                       )->text();
+                                       )->inContentLanguage()->text();
                                } else {
                                        $subject = $this->msg(
                                                
'globalrenamequeue-email-subject-rejected'
-                                       )->text();
+                                       )->inContentLanguage()->text();
                                        $body = $this->msg(
                                                
'globalrenamequeue-email-body-rejected',
                                                array(
@@ -435,7 +435,7 @@
                                                        $newUser->getName(),
                                                        $request->getComments(),
                                                )
-                                       )->text();
+                                       )->inContentLanguage()->text();
                                }
 
                                $oldUser->sendMail( $subject, $body );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3c3c80a32c21a3e1551e4f205306e34f582845a9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to