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:
b4490e2
)
SpecialStatistics::getOtherStats use standard language instead of inContentLanguage
author
mwjames
<jamesin.hongkong.1@gmail.com>
Thu, 16 May 2013 16:51:32 +0000
(
01:51
+0900)
committer
Brian Wolff
<bawolff+wn@gmail.com>
Thu, 16 May 2013 17:10:00 +0000
(17:10 +0000)
Use user language instead of inContentLanguage.
Bug: 48542
Change-Id: Ib7d9cb5aa3051b5d602f7a0838425d92fc7a515f
includes/specials/SpecialStatistics.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialStatistics.php
b/includes/specials/SpecialStatistics.php
index
dbf2f0d
..
612ba84
100644
(file)
--- a/
includes/specials/SpecialStatistics.php
+++ b/
includes/specials/SpecialStatistics.php
@@
-298,7
+298,7
@@
class SpecialStatistics extends SpecialPage {
// Collect all items that belong to the same header
foreach ( $items as $key => $value ) {
- $name = $this->msg( $key )->
inContentLanguage()->
parse();
+ $name = $this->msg( $key )->parse();
$number = htmlspecialchars( $value );
$return .= $this->formatRow( $name, $this->getLanguage()->formatNum( $number ), array( 'class' => 'mw-statistics-hook' ) );