r49624 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49623‎ | r49624 | r49625 >
Date:10:46, 18 April 2009
Author:raymond
Status:deferred
Tags:
Comment:
Follow up r49611/r49619: Use formatNum for numbers.
Modified paths:
  • /trunk/extensions/SemanticTasks/ST_Notify_Assignment.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticTasks/ST_Notify_Assignment.php
@@ -186,6 +186,7 @@
187187 $date->modify( "+$remind_me_in day" );
188188
189189 if ( $tg_date-> format( 'F d Y' ) == $date-> format( 'F d Y' ) ) {
 190+ global $wgLang;
190191 while ( $task_assignee = $row[2]->getNextObject() ) {
191192 $assignee_username = $task_assignee->getTitle();
192193 $assignee_user_name = explode( ":", $assignee_username );
@@ -193,7 +194,7 @@
194195
195196 $assignee = User::newFromName( $assignee_name );
196197 $assignee_mail = new MailAddress( $assignee->getEmail(), $assignee_name );
197 - $body = wfMsgExt( 'semantictasks-reminder-message', 'parsemag', $assignee_name, $task_name, $remind_me_in, $link );
 198+ $body = wfMsgExt( 'semantictasks-reminder-message', 'parsemag', $assignee_name, $task_name, $wgLang->formatNum( $remind_me_in ), $link );
198199 $user_mailer->send( $assignee_mail, $sender, $subject, $body );
199200 }
200201 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49611Adding current version (1.0) of SemanticTasks.laner04:37, 18 April 2009
r49619Cleanup for new extension added per r49611:...raymond07:37, 18 April 2009

Status & tagging log