Index: trunk/extensions/FlaggedRevs/FlaggedRevsXML.php |
— | — | @@ -445,6 +445,9 @@ |
446 | 446 | */ |
447 | 447 | public static function pendingEditNotice( $flaggedArticle, $frev, $revsSince ) { |
448 | 448 | global $wgLang; |
| 449 | + if( $revsSince < 1 ) { |
| 450 | + return ''; // only for pending edits |
| 451 | + } |
449 | 452 | $flags = $frev->getTags(); |
450 | 453 | $quality = FlaggedRevs::isQuality( $flags ); |
451 | 454 | $time = $wgLang->date( $frev->getTimestamp(), true ); |
— | — | @@ -452,7 +455,6 @@ |
453 | 456 | $msg = $quality |
454 | 457 | ? 'revreview-pending-quality' |
455 | 458 | : 'revreview-pending-basic'; |
456 | | - $msg .= ( $revsSince == 0 ) ? '-i' : ''; |
457 | 459 | $tag = wfMsgExt( $msg, array( 'parseinline' ), $frev->getRevId(), $time, $revsSince ); |
458 | 460 | return $tag; |
459 | 461 | } |