From: Raimond Spekking Date: Wed, 26 Sep 2007 11:36:30 +0000 (+0000) Subject: Change message function to make usage of {{PLURAL:}} in 'restorelink' the same way... X-Git-Tag: 1.31.0-rc.0~51280 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=76d1770205fba6d7930104951b0b55ba8b7531d0;p=lhc%2Fweb%2Fwiklou.git Change message function to make usage of {{PLURAL:}} in 'restorelink' the same way as Skin.php uses it. --- diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index 0360d33ca8..cdaa74e777 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -820,7 +820,7 @@ wgAjaxLicensePreview = {$alp}; array( 'parse', 'replaceafter' ), $wgUser->getSkin()->makeKnownLinkObj( SpecialPage::getTitleFor( 'Undelete', $title->getPrefixedText() ), - wfMsgHtml( 'restorelink', $count ) + wfMsgExt( 'restorelink', array( 'parsemag', 'escape' ), $count ) ) ); $wgOut->addHtml( "
{$link}
" );