dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b9ae2b
)
Follow-up r90742: the parser should call getFunctionLang()
author
Robin Pepermans
<robin@users.mediawiki.org>
Mon, 27 Jun 2011 23:58:46 +0000
(23:58 +0000)
committer
Robin Pepermans
<robin@users.mediawiki.org>
Mon, 27 Jun 2011 23:58:46 +0000
(23:58 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
76974c9
..
a2d2945
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-4012,10
+4012,7
@@
class Parser {
if ( $dot ) {
$numbering .= '.';
}
- global $wgBetterDirectionality;
- $pagelang = $this->mTitle->getPageLanguage();
- $toclang = ( $wgBetterDirectionality ? $pagelang : $wgContLang );
- $numbering .= $toclang->formatNum( $sublevelCount[$i] );
+ $numbering .= $this->getFunctionLang()->formatNum( $sublevelCount[$i] );
$dot = 1;
}
}