r70377 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70376‎ | r70377 | r70378 >
Date:04:52, 3 August 2010
Author:werdna
Status:deferred (Comments)
Tags:
Comment:
Include post content in LiquidThreads email notifications
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/NewMessagesController.php (modified) (history)
  • /trunk/extensions/LiquidThreads/i18n/Lqt.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/i18n/Lqt.i18n.php
@@ -228,8 +228,11 @@
229229 This is a notification from {{SITENAME}} that a new reply to '$2' on $5,
230230 was created on $3 at $4.
231231
232 -You can see it at <$6>",
 232+You can see it at <$6>
233233
 234+The text of the reply is:
 235+$7",
 236+
234237 // Quoting functionality
235238 'lqt-quote-intro' => 'On $2 at $3, [[User:$1|$1]] wrote:',
236239 'lqt-quote' => 'Quote',
Index: trunk/extensions/LiquidThreads/classes/NewMessagesController.php
@@ -340,7 +340,9 @@
341341 $time = $lang->time( $adjustedTimestamp );
342342
343343 $params = array( $u->getName(), $t->subjectWithoutIncrement(),
344 - $date, $time, $talkPage, $permalink );
 344+ $date, $time, $talkPage,
 345+ $permalink,
 346+ $t->root()->getContent() );
345347
346348 // Get message in user's own language, bug 20645
347349 $msg = wfMsgReal( $msgName, $params, true /* use DB */, $langCode,

Comments

#Comment by Nikerabbit (talk | contribs)   14:43, 3 August 2010

Maybe update message documentation too?

Status & tagging log