From 444d7c8244c0f87730077f83e71098655079248d Mon Sep 17 00:00:00 2001 From: Shinjiman Date: Sun, 9 Dec 2007 23:49:03 +0000 Subject: [PATCH] * (bug 12259) localize the numbers in deleted pages on the sysop view --- RELEASE-NOTES | 1 + includes/SkinTemplate.php | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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 { + -- 2.20.1