r106232 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106231‎ | r106232 | r106233 >
Date:19:21, 14 December 2011
Author:bsitu
Status:ok
Tags:
Comment:
followup to r105969 - update "Responder" to the real user name
Modified paths:
  • /trunk/extensions/MoodBar/MoodBar.i18n.php (modified) (history)
  • /trunk/extensions/MoodBar/include/MoodBarHTMLEmailNotification.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/include/MoodBarHTMLEmailNotification.php
@@ -159,7 +159,8 @@
160160 $FeedbackUrl,
161161 $editorTalkPage,
162162 $this->response,
163 - $targetUserTalkPage )->escaped();
 163+ $targetUserTalkPage,
 164+ $pageEditor )->escaped();
164165 $textBody = MessageCache::singleton()->transform( $textBody, false, null, $this->title );
165166
166167 //html version, this ugly as we have to make wiki link clickable in emails
@@ -169,7 +170,8 @@
170171 $FeedbackUrl,
171172 $editorTalkPage,
172173 '<div style="margin-left:20px; margin-right:20px;">' .$this->response . '</div>',
173 - $targetUserTalkPage );
 174+ $targetUserTalkPage,
 175+ $pageEditor );
174176 $wgRequest->setVal( 'action', $action );
175177
176178 //assemable the email body
Index: trunk/extensions/MoodBar/MoodBar.i18n.php
@@ -166,7 +166,7 @@
167167
168168 'moodbar-enotif-body' => 'Hello $1!
169169
170 -Welcome to {{SITENAME}}, and thanks for your [[$2|feedback]]. Another Wikipedia user, [[$3|Responder]], wrote the following response:
 170+Welcome to {{SITENAME}}, and thanks for your [[$2|feedback]]. Another Wikipedia user, [[$3|$6]], wrote the following response:
171171
172172 $4
173173

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105969Add HTML email notification support for Moodbar Feedback Responsebsitu01:56, 13 December 2011

Status & tagging log