Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -4012,10 +4012,7 @@ |
4013 | 4013 | if ( $dot ) { |
4014 | 4014 | $numbering .= '.'; |
4015 | 4015 | } |
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] ); |
4020 | 4017 | $dot = 1; |
4021 | 4018 | } |
4022 | 4019 | } |