From: Niklas Laxström Date: Sat, 13 Oct 2007 11:27:51 +0000 (+0000) Subject: * Really support plural in undelete X-Git-Tag: 1.31.0-rc.0~51146 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=d3fd34ea83c8a2f644a857712ad6449c3460576d;p=lhc%2Fweb%2Fwiklou.git * Really support plural in undelete --- diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php index f7981a8c83..d6565cf939 100644 --- a/includes/SpecialUndelete.php +++ b/includes/SpecialUndelete.php @@ -341,14 +341,14 @@ class PageArchive { $log = new LogPage( 'delete' ); if( $textRestored && $filesRestored ) { - $reason = wfMsgForContent( 'undeletedrevisions-files', + $reason = wfMsgExt( 'undeletedrevisions-files', array( 'content', 'parsemag' ), $wgContLang->formatNum( $textRestored ), $wgContLang->formatNum( $filesRestored ) ); } elseif( $textRestored ) { - $reason = wfMsgForContent( 'undeletedrevisions', + $reason = wfMsgExt( 'undeletedrevisions', array( 'content', 'parsemag' ), $wgContLang->formatNum( $textRestored ) ); } elseif( $filesRestored ) { - $reason = wfMsgForContent( 'undeletedfiles', + $reason = wfMsgExt( 'undeletedfiles', array( 'content', 'parsemag' ), $wgContLang->formatNum( $filesRestored ) ); } else { wfDebug( "Undelete: nothing undeleted...\n" );