Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php |
— | — | @@ -347,8 +347,12 @@ |
348 | 348 | if ( !$synced && $wgRequest->getVal( 'shownotice' ) && !$wgUser->isAllowed( 'review' ) ) { |
349 | 349 | $revsSince = FlaggedRevs::getRevCountSince( $this->article, $srev->getRevId() ); |
350 | 350 | $tooltip = wfMsgHtml( 'revreview-draft-title' ); |
351 | | - $pending = $prot . FlaggedRevsXML::draftStatusIcon() . |
352 | | - wfMsgExt( 'revreview-edited', array( 'parseinline' ), $srev->getRevId(), $revsSince ); |
| 351 | + $pending = $prot; |
| 352 | + if( self::showRatingIcon() ) { |
| 353 | + $pending .= FlaggedRevsXML::draftStatusIcon(); |
| 354 | + } |
| 355 | + $pending .= wfMsgExt( 'revreview-edited', |
| 356 | + array( 'parseinline' ), $srev->getRevId(), $revsSince ); |
353 | 357 | $anchor = $wgRequest->getVal( 'fromsection' ); |
354 | 358 | if( $anchor != null ) { |
355 | 359 | $section = str_replace( '_', ' ', $anchor ); // prettify |