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

Change subject: Add difflink to mention email notification
......................................................................


Add difflink to mention email notification

Change-Id: I521ff0387dc7079ebf0c7f58a34d799673833b7c
---
M Echo.i18n.php
M Echo.php
2 files changed, 6 insertions(+), 2 deletions(-)

Approvals:
  EBernhardson (WMF): Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Echo.i18n.php b/Echo.i18n.php
index bd034bb..585dd3f 100644
--- a/Echo.i18n.php
+++ b/Echo.i18n.php
@@ -129,9 +129,12 @@
 
 $3
 
-View more:
+View mention:
 
 <$4>
+
+View changes:
+<$6>
 
 $5',
        'notification-mention-email-batch-body' => '$1 {{GENDER:$1|mentioned}} 
you on $2',
@@ -463,6 +466,7 @@
 * $3 is the edit summary
 * <$4> is the link to the talk page section title
 * $5 is the email footer
+* <$6> is a link to the diff view of the changes that were made
 
 See also:
 * {{msg-mw|Notification-mention}}
diff --git a/Echo.php b/Echo.php
index fa62b04..59cc268 100755
--- a/Echo.php
+++ b/Echo.php
@@ -495,7 +495,7 @@
                'email-subject-message' => 'notification-mention-email-subject',
                'email-subject-params' => array( 'agent' ),
                'email-body-message' => 'notification-mention-email-body',
-               'email-body-params' => array( 'agent', 'title', 'summary', 
'subject-link', 'email-footer' ),
+               'email-body-params' => array( 'agent', 'title', 'summary', 
'subject-link', 'email-footer', 'difflink' ),
                'email-body-batch-message' => 
'notification-mention-email-batch-body',
                'email-body-batch-params' => array( 'agent', 'title' ),
                'icon' => 'chat',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I521ff0387dc7079ebf0c7f58a34d799673833b7c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Bsitu <bs...@wikimedia.org>
Gerrit-Reviewer: EBernhardson (WMF) <ebernhard...@wikimedia.org>
Gerrit-Reviewer: Kaldari <rkald...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to