From e14722048274d9b3a8c5c2ed1b8cc37e4e201c8c Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Wed, 5 Jan 2011 21:25:04 +0000 Subject: [PATCH] Add IDs to various revdel notices for skinning. --- includes/diff/DifferenceEngine.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/diff/DifferenceEngine.php b/includes/diff/DifferenceEngine.php index 1dabc782f8..0faec2f208 100644 --- a/includes/diff/DifferenceEngine.php +++ b/includes/diff/DifferenceEngine.php @@ -370,7 +370,7 @@ CONTROL; if ( !$allowed ) { $msg = $suppressed ? 'rev-suppressed-no-diff' : 'rev-deleted-no-diff'; # Give explanation for why revision is not visible - $wgOut->wrapWikiMsg( "\n", + $wgOut->wrapWikiMsg( "\n", array( $msg ) ); } else { # Give explanation and add a link to view the diff... @@ -380,7 +380,7 @@ CONTROL; 'unhide' => 1 ) ); $msg = $suppressed ? 'rev-suppressed-unhide-diff' : 'rev-deleted-unhide-diff'; - $wgOut->wrapWikiMsg( "\n", array( $msg, $link ) ); + $wgOut->wrapWikiMsg( "\n", array( $msg, $link ) ); } # Otherwise, output a regular diff... } else { @@ -388,7 +388,7 @@ CONTROL; $notice = ''; if ( $deleted ) { $msg = $suppressed ? 'rev-suppressed-diff-view' : 'rev-deleted-diff-view'; - $notice = "\n"; + $notice = "\n"; } $this->showDiff( $oldHeader, $newHeader, $notice ); if ( !$diffOnly ) { -- 2.20.1