diff options
Diffstat (limited to 'includes/specials/SpecialPopularpages.php')
-rw-r--r-- | includes/specials/SpecialPopularpages.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/includes/specials/SpecialPopularpages.php b/includes/specials/SpecialPopularpages.php index 448d1799..7ce8c13f 100644 --- a/includes/specials/SpecialPopularpages.php +++ b/includes/specials/SpecialPopularpages.php @@ -37,14 +37,16 @@ class PopularPagesPage extends QueryPage { return true; } - function isSyndicated() { return false; } + function isSyndicated() { + return false; + } function getQueryInfo() { return array ( 'tables' => array( 'page' ), 'fields' => array( 'namespace' => 'page_namespace', 'title' => 'page_title', - 'value' => 'page_counter'), + 'value' => 'page_counter' ), 'conds' => array( 'page_is_redirect' => 0, 'page_namespace' => MWNamespace::getContentNamespaces() ) ); } @@ -70,4 +72,8 @@ class PopularPagesPage extends QueryPage { $nv = $this->msg( 'nviews' )->numParams( $result->value )->escaped(); return $this->getLanguage()->specialList( $link, $nv ); } + + protected function getGroupName() { + return 'wiki'; + } } |