Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -765,7 +765,7 @@ |
766 | 766 | return true; |
767 | 767 | $title = $skin->mTitle->getSubjectPage(); |
768 | 768 | # Add rating tab |
769 | | - if( $wgUser->isAllowed( 'feedback' ) ) { |
| 769 | + if( $wgUser->isAllowed( 'feedback' ) && $this->isRateable() ) { |
770 | 770 | wfLoadExtensionMessages( 'FlaggedRevs' ); |
771 | 771 | wfLoadExtensionMessages( 'RatingHistory' ); |
772 | 772 | $ratingTitle = SpecialPage::getTitleFor( 'RatingHistory' ); |