Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php |
— | — | @@ -851,9 +851,11 @@ |
852 | 852 | $frev = $this->article->getStableRev(); |
853 | 853 | if( $frev ) { |
854 | 854 | $revsSince = FlaggedRevs::getRevCountSince( $this->article, $frev->getRevId() ); |
855 | | - $s .= "<div class='flaggedrevs_editnotice plainlinks'>" . |
856 | | - wfMsgExt( 'revreview-pending-nosection', array( 'parseinline' ), |
857 | | - $frev->getRevId(), $revsSince ) . "</div>"; |
| 855 | + if( $revsSince ) { |
| 856 | + $s .= "<div class='flaggedrevs_editnotice plainlinks'>" . |
| 857 | + wfMsgExt( 'revreview-pending-nosection', array( 'parseinline' ), |
| 858 | + $frev->getRevId(), $revsSince ) . "</div>"; |
| 859 | + } |
858 | 860 | } |
859 | 861 | return true; |
860 | 862 | } |