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 @@
32
32
const VERIFICATION_ERROR = 10;
33
33
const UPLOAD_VERIFICATION_ERROR = 11;
34
34
const HOOK_ABORTED = 11;
35
+ const FILE_TOO_LARGE = 12;
35
36
36
37
const SESSION_VERSION = 2;
37
38
const SESSION_KEYNAME = 'wsUploadData';
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r65049
(
bug 17941
) $wgMaxUploadSize is now honored by all upload sources
btongminh
09:28, 15 April 2010
Status & tagging log
21:55, 3 December 2010
Reedy
(
talk
|
contribs
)
changed the
status
of r76097
[
removed:
new
added:
deferred]