Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1920,7 +1920,10 @@ |
1921 | 1921 | $output .= "</table>"; // expiry table end |
1922 | 1922 | # Add "review this page" checkbox |
1923 | 1923 | $reviewLabel = wfMsgExt( 'stabilization-review', array('parseinline') ); |
1924 | | - $output .= Xml::checkLabel( $reviewLabel, 'wpReviewthis', $reviewThis, array('id'=>'wpReviewthis') ); |
| 1924 | + if( $wgUser->isAllowed('review') ) { |
| 1925 | + $output .= Xml::checkLabel( $reviewLabel, 'wpReviewthis', 'wpReviewthis', |
| 1926 | + $reviewThis, $disabledAttrib ); |
| 1927 | + } |
1925 | 1928 | # Close field set and table row |
1926 | 1929 | $output .= Xml::closeElement( 'fieldset' ); |
1927 | 1930 | $output .= "</td></tr>"; |