Change message function to make usage of {{PLURAL:}} in 'restorelink' the same way...
authorRaimond Spekking <raymond@users.mediawiki.org>
Wed, 26 Sep 2007 11:36:30 +0000 (11:36 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Wed, 26 Sep 2007 11:36:30 +0000 (11:36 +0000)
includes/SpecialUpload.php

index 0360d33..cdaa74e 100644 (file)
@@ -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( "<div id=\"contentSub2\">{$link}</div>" );