Index: trunk/extensions/FlaggedRevs/FlaggedRevsXML.php |
— | — | @@ -239,8 +239,11 @@ |
240 | 240 | $box .= "<td style='text-align:right;'>" . self::ratingToggle() . "</td></tr>\n"; |
241 | 241 | $box .= "<tr><td id='mw-fr-revisionratings'>$html<br />"; |
242 | 242 | # Add any rating tags as needed... |
243 | | - if ( $flags && ( $type == 'stable' || $type == 'oldstable' ) ) { |
244 | | - $box .= self::addTagRatings( $flags, true, $color ); |
| 243 | + if( $flags && !FlaggedRevs::binaryFlagging() ) { |
| 244 | + # Don't show the ratings on draft views |
| 245 | + if ( $type == 'stable' || $type == 'oldstable' ) { |
| 246 | + $box .= self::addTagRatings( $flags, true, $color ); |
| 247 | + } |
245 | 248 | } |
246 | 249 | $box .= "</td><td></td></tr></table>"; |
247 | 250 | return $box; |