r90925 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90924‎ | r90925 | r90926 >
Date:23:58, 27 June 2011
Author:robin
Status:ok
Tags:
Comment:
Follow-up r90742: the parser should call getFunctionLang()
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -4012,10 +4012,7 @@
40134013 if ( $dot ) {
40144014 $numbering .= '.';
40154015 }
4016 - global $wgBetterDirectionality;
4017 - $pagelang = $this->mTitle->getPageLanguage();
4018 - $toclang = ( $wgBetterDirectionality ? $pagelang : $wgContLang );
4019 - $numbering .= $toclang->formatNum( $sublevelCount[$i] );
 4016+ $numbering .= $this->getFunctionLang()->formatNum( $sublevelCount[$i] );
40204017 $dot = 1;
40214018 }
40224019 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90742Directionality and language improvements as part of bug 6100 (under $wgBetter...robin22:10, 24 June 2011

Status & tagging log