From: Raimond Spekking Date: Wed, 4 Nov 2009 16:07:42 +0000 (+0000) Subject: Follow-up r55613: Fix typo. I guess that 'baddaccess-groups' was a typo because such... X-Git-Tag: 1.31.0-rc.0~38976 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=commitdiff_plain;h=534bce0273c134b3ab419335a8f1064f9dcc3fcd;p=lhc%2Fweb%2Fwiklou.git 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. --- 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