Index: trunk/phase3/includes/SpecialUndelete.php |
— | — | @@ -587,7 +587,7 @@ |
588 | 588 | $this->mPreview = $request->getCheck( 'preview' ) && $posted; |
589 | 589 | $this->mDiff = $request->getCheck( 'diff' ); |
590 | 590 | $this->mComment = $request->getText( 'wpComment' ); |
591 | | - $this->mUnsuppress = $request->getVal( 'wpUnsuppress' ) && $wgUser->isAllowed( 'suppress' ); |
| 591 | + $this->mUnsuppress = $request->getVal( 'wpUnsuppress' ) && $wgUser->isAllowed( 'hiderevision' ); |
592 | 592 | |
593 | 593 | if( $par != "" ) { |
594 | 594 | $this->mTarget = $par; |
— | — | @@ -966,7 +966,7 @@ |
967 | 967 | if( $this->mAllowed && ( $haveRevisions || $haveFiles ) ) { |
968 | 968 | # Format the user-visible controls (comment field, submission button) |
969 | 969 | # in a nice little table |
970 | | - if( $wgUser->isAllowed( 'suppress' ) ) { |
| 970 | + if( $wgUser->isAllowed( 'hiderevision' ) ) { |
971 | 971 | $unsuppressBox = |
972 | 972 | "<tr> |
973 | 973 | <td> </td> |