* (bug 12259) localize the numbers in deleted pages on the sysop view
authorShinjiman <shinjiman@users.mediawiki.org>
Sun, 9 Dec 2007 23:49:03 +0000 (23:49 +0000)
committerShinjiman <shinjiman@users.mediawiki.org>
Sun, 9 Dec 2007 23:49:03 +0000 (23:49 +0000)
RELEASE-NOTES
includes/SkinTemplate.php

index fd77540..31f7daf 100644 (file)
@@ -232,6 +232,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Escape page names in the move successful page (e.g. for pages with two
   apostrophes).
 * (bug 12145) Add localized names of kk-variants
+* (bug 12259) Localize the numbers in deleted pages on the sysop view
 
 == Parser changes in 1.12 ==
 
index b6ada87..2e6c893 100644 (file)
@@ -653,7 +653,7 @@ class SkinTemplate extends Skin {
         * @private
         */
        function buildContentActionUrls () {
-               global $wgContLang, $wgOut;
+               global $wgContLang, $wgLang, $wgOut;
                $fname = 'SkinTemplate::buildContentActionUrls';
                wfProfileIn( $fname );
 
@@ -756,7 +756,7 @@ class SkinTemplate extends Skin {
                                                $undelTitle = SpecialPage::getTitleFor( 'Undelete' );
                                                $content_actions['undelete'] = array(
                                                        'class' => false,
-                                                       'text' => wfMsgExt( 'undelete_short', array( 'parsemag' ), $n ),
+                                                       'text' => wfMsgExt( 'undelete_short', array( 'parsemag' ), $wgLang->formatNum($n) ),
                                                        'href' => $undelTitle->getLocalUrl( 'target=' . urlencode( $this->thispage ) )
                                                        #'href' => self::makeSpecialUrl( "Undelete/$this->thispage" )
                                                );
@@ -1203,3 +1203,4 @@ class QuickTemplate {
 
 
 
+