Index: trunk/phase3/includes/specials/SpecialUndelete.php |
— | — | @@ -996,6 +996,11 @@ |
997 | 997 | # Show relevant lines from the deletion log: |
998 | 998 | $wgOut->addHTML( Xml::element( 'h2', null, LogPage::logName( 'delete' ) ) . "\n" ); |
999 | 999 | LogEventsList::showLogExtract( $wgOut, 'delete', $this->mTargetObj->getPrefixedText() ); |
| 1000 | + # Show relevant lines from the suppression log: |
| 1001 | + if( $wgUser->isAllowed( 'suppressionlog' ) ) { |
| 1002 | + $wgOut->addHTML( Xml::element( 'h2', null, LogPage::logName( 'suppress' ) ) . "\n" ); |
| 1003 | + LogEventsList::showLogExtract( $wgOut, 'suppress', $this->mTargetObj->getPrefixedText() ); |
| 1004 | + } |
1000 | 1005 | |
1001 | 1006 | if( $this->mAllowed && ( $haveRevisions || $haveFiles ) ) { |
1002 | 1007 | # Format the user-visible controls (comment field, submission button) |