From: Happy-melon Date: Wed, 5 Jan 2011 21:25:04 +0000 (+0000) Subject: Add IDs to various revdel notices for skinning. X-Git-Tag: 1.31.0-rc.0~32796 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=e14722048274d9b3a8c5c2ed1b8cc37e4e201c8c;p=lhc%2Fweb%2Fwiklou.git Add IDs to various revdel notices for skinning. --- 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 ) {