From: Raimond Spekking Date: Mon, 2 Nov 2009 17:12:37 +0000 (+0000) Subject: Partly revert r57148. The search&replace was a bit too wide. It catches a message... X-Git-Tag: 1.31.0-rc.0~39001 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=90091addcbbdfde29b60e6a6e0e9777f0752d305;p=lhc%2Fweb%2Fwiklou.git Partly revert r57148. The search&replace was a bit too wide. It catches a message key too. Instead of right keys only. Needs syncing with WMF because it shows on the live site. --- diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php index 786a1600ce..bfd3670561 100644 --- a/includes/FileDeleteForm.php +++ b/includes/FileDeleteForm.php @@ -97,7 +97,7 @@ class FileDeleteForm { if( $status->ok ) { // Need to do a log item $log = new LogPage( 'delete' ); - $logComment = wfMsgForContent( 'deletedhistory', $oldimage ); + $logComment = wfMsgForContent( 'deletedrevision', $oldimage ); if( trim( $reason ) != '' ) $logComment .= ": {$reason}"; $log->addEntry( 'delete', $title, $logComment );