Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/167874
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth
refs/changes/74/167874/1
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: newchange
Gerrit-Change-Id: I3c3c80a32c21a3e1551e4f205306e34f582845a9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits