Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -82,10 +82,17 @@ |
83 | 83 | # Construct some tagging |
84 | 84 | if( !$wgOut->isPrintable() ) { |
85 | 85 | if( $this->useSimpleUI() ) { |
86 | | - $msg = $quality ? 'revreview-quick-see-quality' : 'revreview-quick-see-basic'; |
87 | | - $tag .= "<span class='fr_tab_current plainlinks'></span>" . |
88 | | - wfMsgExt($msg,array('parseinline'), $tfrev->fr_rev_id, $revs_since); |
89 | | - $tag .= $this->prettyRatingBox( $tfrev, $flags, $revs_since, false ); |
| 86 | + if($revs_since) { |
| 87 | + $msg = $quality ? 'revreview-quick-see-quality' : 'revreview-quick-see-basic'; |
| 88 | + $tag .= "<span class='fr_tab_current plainlinks'></span>" . |
| 89 | + wfMsgExt($msg,array('parseinline'), $tfrev->fr_rev_id, $revs_since); |
| 90 | + } else { |
| 91 | + $msg = $quality ? 'revreview-quick-seeandis-quality': 'revreview-quick-seeandis-basic'; |
| 92 | + $css = $quality ? 'fr_tab_quality' : 'fr_tab_stable'; |
| 93 | + $tag .= "<span class='$css'></span>" . |
| 94 | + wfMsgExt($msg,array('parseinline')); |
| 95 | + } |
| 96 | + $tag .= $this->prettyRatingBox( $tfrev, $flags, $revs_since, false ); |
90 | 97 | } else { |
91 | 98 | $msg = $quality ? 'revreview-newest-quality' : 'revreview-newest-basic'; |
92 | 99 | $tag .= wfMsgExt($msg, array('parseinline'), $tfrev->fr_rev_id, $time, $revs_since); |
— | — | @@ -633,7 +640,6 @@ |
634 | 641 | $box .= $encRatingLabel . self::addTagRatings( $flags, true, "{$tagClass}a" ); |
635 | 642 | } |
636 | 643 | $box .= '</span>'; |
637 | | - |
638 | 644 | return $box; |
639 | 645 | } |
640 | 646 | |
Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php |
— | — | @@ -27,6 +27,8 @@ |
28 | 28 | ($2 [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&editreview=1}} {{plural:$2|change|changes}}])', |
29 | 29 | 'revreview-quick-see-basic' => '\'\'\'Current\'\'\'. [[{{fullurl:{{FULLPAGENAMEE}}|stable=1}} see stable revision]] |
30 | 30 | ($2 [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&editreview=1}} {{plural:$2|change|changes}}])', |
| 31 | + 'revreview-quick-seeandis-quality' => '\'\'\'Current revision, [[Help:Article validation|quality]] reviewed.\'\'\'', |
| 32 | + 'revreview-quick-seeandis-basic' => '\'\'\'Current revision, [[Help:Article validation|sighted]] for vandalism.\'\'\'', |
31 | 33 | 'revreview-quick-basic' => '\'\'\'[[Help:Article validation|Sighted]]\'\'\'. [[{{fullurl:{{FULLPAGENAMEE}}|stable=0}} see current revision]] |
32 | 34 | ($2 [{{fullurl:{{FULLPAGENAMEE}}|oldid=$1&diff=cur&editreview=1}} {{plural:$2|change|changes}}])', |
33 | 35 | 'revreview-quick-quality' => '\'\'\'[[Help:Article validation|Quality]]\'\'\'. [[{{fullurl:{{FULLPAGENAMEE}}|stable=0}} see current revision]] |