From: Shinjiman Date: Sun, 9 Dec 2007 23:49:03 +0000 (+0000) Subject: * (bug 12259) localize the numbers in deleted pages on the sysop view X-Git-Tag: 1.31.0-rc.0~50472 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=444d7c8244c0f87730077f83e71098655079248d;p=lhc%2Fweb%2Fwiklou.git * (bug 12259) localize the numbers in deleted pages on the sysop view --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index fd7754048c..31f7dafaef 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index b6ada873d8..2e6c8938d6 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -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 { +