From 534bce0273c134b3ab419335a8f1064f9dcc3fcd Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Wed, 4 Nov 2009 16:07:42 +0000 Subject: [PATCH] Follow-up r55613: Fix typo. I guess that 'baddaccess-groups' was a typo because such a message does not exists. But 'badaccess-groups' has two parameters: $1 a list of groups and $2 the count of them. These parameters are missing. --- includes/api/ApiUpload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index 757d21c6aa..3b8a7c31e5 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -209,7 +209,7 @@ class ApiUpload extends ApiBase { $result = array(); $permErrors = $this->mUpload->verifyPermissions( $wgUser ); if( $permErrors !== true ) { - $this->dieUsageMsg( array( 'baddaccess-groups' ) ); + $this->dieUsageMsg( array( 'badaccess-groups' ) ); } // TODO: Move them to ApiBase's message map -- 2.20.1