Nemo bis has uploaded a new change for review.
https://gerrit.wikimedia.org/r/78404
Change subject: Add email recipient username as a parameter to emailuser
confirmation
......................................................................
Add email recipient username as a parameter to emailuser confirmation
Just as optional parameter, strictly following the bug summary, should be
enough.
I sometimes open many tabs, forget who I emailed and have to check my email,
but unless someone thinks this common I don't think it's worth changing
the actual text of the confirmation adding more clutter.
Bug: 44668
Change-Id: Icf0ac18150847424728121e614849f87bee2e0e7
---
M includes/specials/SpecialEmailuser.php
M languages/messages/MessagesQqq.php
2 files changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/04/78404/1
diff --git a/includes/specials/SpecialEmailuser.php
b/includes/specials/SpecialEmailuser.php
index d037d55..27188c3 100644
--- a/includes/specials/SpecialEmailuser.php
+++ b/includes/specials/SpecialEmailuser.php
@@ -165,7 +165,7 @@
if ( $result === true || ( $result instanceof Status &&
$result->isGood() ) ) {
$out->setPageTitle( $this->msg( 'emailsent' ) );
- $out->addWikiMsg( 'emailsenttext' );
+ $out->addWikiMsg( 'emailsenttext', $this->mTarget );
$out->returnToMain( false,
$this->mTargetObj->getUserPage() );
}
}
diff --git a/languages/messages/MessagesQqq.php
b/languages/messages/MessagesQqq.php
index fa03f4a..e5b8814 100644
--- a/languages/messages/MessagesQqq.php
+++ b/languages/messages/MessagesQqq.php
@@ -4607,7 +4607,8 @@
'emailccme' => 'Used at [[Special:Preferences]] > E-mail',
'emailccsubject' => 'Subject of the carbon-copied email for the sender sent
through MediaWiki.',
'emailsent' => 'Title of [[Special:EmailUser]] when it says you it sent an
email',
-'emailsenttext' => 'When you send an e-mail, [[Special:EmailUser]] says you
this (Your email has been sent).',
+'emailsenttext' => "Confirmation page: when you send an e-mail,
[[Special:EmailUser]] says you this (Your email has been sent).
+The recipient's username is available as parameter $1 for local
customisations.",
'emailuserfooter' => 'This message is appended to every email sent through the
"Email user" function. Parameters:
* $1 - username of the sender
* $2 - username of the recipient',
--
To view, visit https://gerrit.wikimedia.org/r/78404
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf0ac18150847424728121e614849f87bee2e0e7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Nemo bis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits