r98007 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98006‎ | r98007 | r98008 >
Date:15:45, 24 September 2011
Author:catrope
Status:ok
Tags:
Comment:
Update MoodBar for r98006
Modified paths:
  • /trunk/extensions/MoodBar/SpecialMoodBarFeedback.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/SpecialMoodBarFeedback.php
@@ -102,7 +102,7 @@
103103 $type = $row->mbf_type;
104104 $typeMsg = wfMessage( "moodbar-type-$type" )->escaped();
105105 $time = $wgLang->formatTimePeriod( $now - wfTimestamp( TS_UNIX, $row->mbf_timestamp ),
106 - 'avoidminutes', 'noabbrevs'
 106+ array( 'avoid' => 'avoidminutes', 'noabbrevs' => true )
107107 );
108108 $timeMsg = wfMessage( 'ago' )->params( $time )->escaped();
109109 $username = htmlspecialchars( $row->user_name === null ? $row->mbf_user_ip : $row->user_name );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98006Per CR on r97962, introduce an array parameter for formatTimePeriod() rather ...catrope15:44, 24 September 2011

Status & tagging log