r76097 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76096‎ | r76097 | r76098 >
Date:14:47, 5 November 2010
Author:catrope
Status:deferred
Tags:
Comment:
Add UploadBase::FILE_TOO_LARGE, introduced in r65049, to shut up a fatal error. Need to figure out whether $wgMaxUploadSize is honored by the API (and, by extension, the upload wizard) properly.
Modified paths:
  • /branches/uploadwizard-deployment/includes/upload/UploadBase.php (modified) (history)

Diff [purge]

Index: branches/uploadwizard-deployment/includes/upload/UploadBase.php
@@ -31,6 +31,7 @@
3232 const VERIFICATION_ERROR = 10;
3333 const UPLOAD_VERIFICATION_ERROR = 11;
3434 const HOOK_ABORTED = 11;
 35+ const FILE_TOO_LARGE = 12;
3536
3637 const SESSION_VERSION = 2;
3738 const SESSION_KEYNAME = 'wsUploadData';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65049(bug 17941) $wgMaxUploadSize is now honored by all upload sourcesbtongminh09:28, 15 April 2010

Status & tagging log