https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113477
Revision: 113477
Author: aaron
Date: 2012-03-09 16:01:11 +0000 (Fri, 09 Mar 2012)
Log Message:
-----------
r113416: added missing parameter to message
Modified Paths:
--------------
trunk/phase3/includes/filerepo/backend/FileBackendStore.php
Modified: trunk/phase3/includes/filerepo/backend/FileBackendStore.php
===================================================================
--- trunk/phase3/includes/filerepo/backend/FileBackendStore.php 2012-03-09
15:58:08 UTC (rev 113476)
+++ trunk/phase3/includes/filerepo/backend/FileBackendStore.php 2012-03-09
16:01:11 UTC (rev 113477)
@@ -67,7 +67,8 @@
final public function createInternal( array $params ) {
wfProfileIn( __METHOD__ );
if ( strlen( $params['content'] ) >
$this->maxFileSizeInternal() ) {
- $status = Status::newFatal( 'backend-fail-maxsize',
$params['dst'] );
+ $status = Status::newFatal( 'backend-fail-maxsize',
+ $params['dst'], $this->maxFileSizeInternal() );
} else {
$status = $this->doCreateInternal( $params );
$this->clearCache( array( $params['dst'] ) );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs