
raymond at svn
Nov 4, 2009, 8:07 AM
Post #1 of 1
(65 views)
Permalink
|
|
SVN: [58549] trunk/phase3/includes/api/ApiUpload.php
|
|
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58549 Revision: 58549 Author: raymond Date: 2009-11-04 16:07:42 +0000 (Wed, 04 Nov 2009) Log Message: ----------- 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. Modified Paths: -------------- trunk/phase3/includes/api/ApiUpload.php Modified: trunk/phase3/includes/api/ApiUpload.php =================================================================== --- trunk/phase3/includes/api/ApiUpload.php 2009-11-04 15:18:30 UTC (rev 58548) +++ trunk/phase3/includes/api/ApiUpload.php 2009-11-04 16:07:42 UTC (rev 58549) @@ -209,7 +209,7 @@ $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 _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS [at] lists https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
|