r113477 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113476‎ | r113477 | r113478 >
Date:16:01, 9 March 2012
Author:aaron
Status:ok
Tags:
Comment:
r113416: added missing parameter to message
Modified paths:
  • /trunk/phase3/includes/filerepo/backend/FileBackendStore.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/backend/FileBackendStore.php
@@ -67,7 +67,8 @@
6868 final public function createInternal( array $params ) {
6969 wfProfileIn( __METHOD__ );
7070 if ( strlen( $params['content'] ) > $this->maxFileSizeInternal() ) {
71 - $status = Status::newFatal( 'backend-fail-maxsize', $params['dst'] );
 71+ $status = Status::newFatal( 'backend-fail-maxsize',
 72+ $params['dst'], $this->maxFileSizeInternal() );
7273 } else {
7374 $status = $this->doCreateInternal( $params );
7475 $this->clearCache( array( $params['dst'] ) );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113416Added backend-fail-maxsize failure message and use it instead of the vague "c...aaron22:51, 8 March 2012

Status & tagging log