Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions specials/SF_UploadWindow.php
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ protected function processVerificationError( $details ) {
$error = $details['error'];
$this->uploadError( wfMessage( $error )->parse() );
break;
case UploadBase::FILE_TOO_LARGE:
$this->showUploadForm( $this->getUploadForm( wfMessage( 'file-too-large' )->escaped() ) );
break;
default:
throw new MWException( __METHOD__ . ": Unknown value `{$details['status']}`" );
}
Expand Down