r84503 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84502‎ | r84503 | r84504 >
Date:23:59, 21 March 2011
Author:wikinaut
Status:ok
Tags:
Comment:
adding LiquidThread editor's name in LQT enotifs parameter ); adding new thread text in new thread enotifs
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
@@ -213,14 +213,19 @@
214214 'lqt-enotif-subject-reply' => '{{SITENAME}} discussion - Reply: $1',
215215 'lqt-enotif-subject-newthread' => '{{SITENAME}} discussion - New thread: $1',
216216 'lqt-enotif-newthread' => "Hi $1,
217 -This is a notification from {{SITENAME}} that a new thread on $5, '$2',
218 -was created on $3 at $4.
 217+
 218+this is a notification from {{SITENAME}} that a new thread on $5, '$2',
 219+was created on $3 at $4 by $8
219220
220 -You can see it at <$6>",
 221+You can see it at <$6>
 222+
 223+The text is:
 224+$7",
221225 'lqt-enotif-reply' => "Hi $1,
222 -This is a notification from {{SITENAME}} that a new reply to '$2' on $5,
223 -was created on $3 at $4.
224226
 227+this is a notification from {{SITENAME}} that a new reply to '$2' on $5,
 228+was created on $3 at $4 by $8
 229+
225230 You can see it at <$6>
226231
227232 The text of the reply is:
Index: trunk/extensions/LiquidThreads/classes/NewMessagesController.php
@@ -314,7 +314,8 @@
315315 $params = array( $u->getName(), $t->subjectWithoutIncrement(),
316316 $date, $time, $talkPage,
317317 $permalink,
318 - $t->root()->getContent() );
 318+ $t->root()->getContent(),
 319+ $t->author()->getName() );
319320
320321 // Get message in user's own language, bug 20645
321322 $msg = wfMsgReal( $msgName, $params, true /* use DB */, $langCode,

Status & tagging log