dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add help link to Special:NewSection"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialStatistics.php
diff --git
a/includes/specials/SpecialStatistics.php
b/includes/specials/SpecialStatistics.php
index
d5e14d2
..
eff8889
100644
(file)
--- a/
includes/specials/SpecialStatistics.php
+++ b/
includes/specials/SpecialStatistics.php
@@
-21,6
+21,8
@@
* @ingroup SpecialPage
*/
* @ingroup SpecialPage
*/
+use MediaWiki\MediaWikiServices;
+
/**
* Special page lists various statistics, including the contents of
* `site_stats`, plus page view details if enabled
/**
* Special page lists various statistics, including the contents of
* `site_stats`, plus page view details if enabled
@@
-207,8
+209,8
@@
class SpecialStatistics extends SpecialPage {
}
$msg = $this->msg( 'grouppage-' . $groupname )->inContentLanguage();
if ( $msg->isBlank() ) {
}
$msg = $this->msg( 'grouppage-' . $groupname )->inContentLanguage();
if ( $msg->isBlank() ) {
- $grouppageLocalized = M
WNamespace::getCanonicalName( NS_PROJECT ) .
- ':' . $groupname;
+ $grouppageLocalized = M
ediaWikiServices::getInstance()->getNamespaceInfo()->
+
getCanonicalName( NS_PROJECT ) .
':' . $groupname;
} else {
$grouppageLocalized = $msg->text();
}
} else {
$grouppageLocalized = $msg->text();
}