From 4ac9fa081a7c045f6a9f1cfc529d82423f485b2e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 8 Dec 2013 09:55:49 +0100 Subject: Update to MediaWiki 1.22.0 --- includes/api/ApiQueryCategories.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'includes/api/ApiQueryCategories.php') diff --git a/includes/api/ApiQueryCategories.php b/includes/api/ApiQueryCategories.php index 69a64415..5d714f57 100644 --- a/includes/api/ApiQueryCategories.php +++ b/includes/api/ApiQueryCategories.php @@ -49,7 +49,6 @@ class ApiQueryCategories extends ApiQueryGeneratorBase { /** * @param $resultPageSet ApiPageSet - * @return */ private function run( $resultPageSet = null ) { if ( $this->getPageSet()->getGoodTitleCount() == 0 ) { @@ -174,7 +173,7 @@ class ApiQueryCategories extends ApiQueryGeneratorBase { break; } - $titles[] = Title :: makeTitle( NS_CATEGORY, $row->cl_to ); + $titles[] = Title::makeTitle( NS_CATEGORY, $row->cl_to ); } $resultPageSet->populateFromTitles( $titles ); } @@ -184,7 +183,7 @@ class ApiQueryCategories extends ApiQueryGeneratorBase { return array( 'prop' => array( ApiBase::PARAM_ISMULTI => true, - ApiBase::PARAM_TYPE => array ( + ApiBase::PARAM_TYPE => array( 'sortkey', 'timestamp', 'hidden', -- cgit v1.2.3-54-g00ecf