r34639 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34638‎ | r34639 | r34640 >
Date:04:41, 12 May 2008
Author:aaron
Status:old
Tags:
Comment:
One or the other
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php
@@ -294,9 +294,11 @@
295295 // Standard UI
296296 } else {
297297 $msg = $quality ? 'revreview-quality' : 'revreview-basic';
298 - $msg .= ($revs_since == 0) ? '-i' : '';
299 - $msg = $synced ? "{$msg}-same" : $msg;
300 -
 298+ if( $synced ) {
 299+ $msg .= '-same';
 300+ } else if( $revs_since == 0 ) {
 301+ $msg .= '-i';
 302+ }
301303 $tag = "<span class='{$css} plainlinks' title=\"{$tooltip}\"></span>" .
302304 wfMsgExt( $msg, array('parseinline'), $frev->getRevId(), $time, $revs_since );
303305 if( !empty($flags) ) {

Status & tagging log