r28331 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r28330‎ | r28331 | r28332 >
Date:23:49, 9 December 2007
Author:shinjiman
Status:old
Tags:
Comment:
* (bug 12259) localize the numbers in deleted pages on the sysop view
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -653,7 +653,7 @@
654654 * @private
655655 */
656656 function buildContentActionUrls () {
657 - global $wgContLang, $wgOut;
 657+ global $wgContLang, $wgLang, $wgOut;
658658 $fname = 'SkinTemplate::buildContentActionUrls';
659659 wfProfileIn( $fname );
660660
@@ -756,7 +756,7 @@
757757 $undelTitle = SpecialPage::getTitleFor( 'Undelete' );
758758 $content_actions['undelete'] = array(
759759 'class' => false,
760 - 'text' => wfMsgExt( 'undelete_short', array( 'parsemag' ), $n ),
 760+ 'text' => wfMsgExt( 'undelete_short', array( 'parsemag' ), $wgLang->formatNum($n) ),
761761 'href' => $undelTitle->getLocalUrl( 'target=' . urlencode( $this->thispage ) )
762762 #'href' => self::makeSpecialUrl( "Undelete/$this->thispage" )
763763 );
@@ -1203,3 +1203,4 @@
12041204
12051205
12061206
 1207+
Index: trunk/phase3/RELEASE-NOTES
@@ -232,6 +232,7 @@
233233 * Escape page names in the move successful page (e.g. for pages with two
234234 apostrophes).
235235 * (bug 12145) Add localized names of kk-variants
 236+* (bug 12259) Localize the numbers in deleted pages on the sysop view
236237
237238 == Parser changes in 1.12 ==
238239

Status & tagging log