r87022 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87021‎ | r87022 | r87023 >
Date:18:05, 27 April 2011
Author:tparscal
Status:ok
Tags:
Comment:
Added custom email message for EmailCapture response body.
Modified paths:
  • /trunk/extensions/ArticleFeedback/ArticleFeedback.i18n.php (modified) (history)
  • /trunk/extensions/ArticleFeedback/ArticleFeedback.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/ArticleFeedback.i18n.php
@@ -80,6 +80,29 @@
8181 'articleFeedback-table-caption-recentlows' => 'Recent lows',
8282 'articleFeedback-table-heading-page' => 'Page',
8383 'articleFeedback-table-heading-average' => 'Average',
 84+ /* EmailCapture */
 85+ 'articlefeedback-emailcapture-response-body' => 'Hello!
 86+
 87+Thank you for for expressing interest in helping to improve {{SITENAME}}.
 88+
 89+Please take a moment to confirm your email by clicking on the link below:
 90+
 91+$1
 92+
 93+You may also visit:
 94+
 95+$2
 96+
 97+And enter the following confirmation code:
 98+
 99+$3
 100+
 101+We’ll be in touch shortly with how you can help improve {{SITENAME}}.
 102+
 103+If you didn’t initiate this request, please ignore this email and we won’t send you anything else.
 104+
 105+Best wishes, and thank you,
 106+The {{SITENAME}} team',
84107 );
85108
86109 /** Message documentation (Message documentation)
Index: trunk/extensions/ArticleFeedback/ArticleFeedback.php
@@ -98,6 +98,9 @@
9999 );
100100 $wgValidSurveys[] = 'articlerating';
101101
 102+// Replace default emailcapture message
 103+$wgEmailCaptureAutoResponse['body-msg'] = 'articlefeedback-emailcapture-response-body';
 104+
102105 /* Setup */
103106
104107 $wgExtensionCredits['other'][] = array(

Follow-up revisions

RevisionCommit summaryAuthorDate
r87025Followup r87022: Remove double 'for', consistency tweaksraymond18:20, 27 April 2011

Status & tagging log