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/ApiQueryAllImages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/api/ApiQueryAllImages.php') diff --git a/includes/api/ApiQueryAllImages.php b/includes/api/ApiQueryAllImages.php index e24b162c..ccc7a3a2 100644 --- a/includes/api/ApiQueryAllImages.php +++ b/includes/api/ApiQueryAllImages.php @@ -189,7 +189,7 @@ class ApiQueryAllImages extends ApiQueryGeneratorBase { if ( !is_null( $params['mime'] ) ) { global $wgMiserMode; - if ( $wgMiserMode ) { + if ( $wgMiserMode ) { $this->dieUsage( 'MIME search disabled in Miser Mode', 'mimesearchdisabled' ); } @@ -260,7 +260,7 @@ class ApiQueryAllImages extends ApiQueryGeneratorBase { } public function getAllowedParams() { - return array ( + return array( 'sort' => array( ApiBase::PARAM_DFLT => 'name', ApiBase::PARAM_TYPE => array( -- cgit v1.2.3-54-g00ecf