From cc613b386fc31e26b20f68a59e6cf324b54edb46 Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Sun, 13 Nov 2011 12:46:53 +0000 Subject: [PATCH] Localise numbers in TOC added in r102334 --- includes/specials/SpecialEditWatchlist.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index 54d1c53707..89ddbb08b6 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -411,7 +411,8 @@ class SpecialEditWatchlist extends UnlistedSpecialPage { $nsText = ($ns == NS_MAIN) ? wfMsgHtml( 'blanknamespace' ) : htmlspecialchars( $wgContLang->getFormattedNsText( $ns ) ); - $this->toc .= Linker::tocLine( "mw-htmlform-{$data['section']}", $nsText, ++$tocLength, 1 ) . Linker::tocLineEnd(); + $this->toc .= Linker::tocLine( "mw-htmlform-{$data['section']}", $nsText, + $this->getLang()->formatNum( ++$tocLength ), 1 ) . Linker::tocLineEnd(); } $this->toc = Linker::tocList( $this->toc ); } else { -- 2.20.1