http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58429
Revision: 58429 Author: raymond Date: 2009-11-02 17:12:37 +0000 (Mon, 02 Nov 2009) Log Message: ----------- 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 <deletedhistory> on the live site. Modified Paths: -------------- trunk/phase3/includes/FileDeleteForm.php Modified: trunk/phase3/includes/FileDeleteForm.php =================================================================== --- trunk/phase3/includes/FileDeleteForm.php 2009-11-02 13:55:46 UTC (rev 58428) +++ trunk/phase3/includes/FileDeleteForm.php 2009-11-02 17:12:37 UTC (rev 58429) @@ -97,7 +97,7 @@ 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 ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs