(bug 23380) Uploaded files that are larger than allowed by PHP now show a useful...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Tue, 27 Jul 2010 20:38:36 +0000 (20:38 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Tue, 27 Jul 2010 20:38:36 +0000 (20:38 +0000)
commit546a55a79d87a650abf11c3c3116aaffc56fee5f
treedc113b58b3edde948ac073b0cb628e151a7980ba
parent9d7af3a00dd3eaf9a46ba0bb11b68a17031255f5
(bug 23380) Uploaded files that are larger than allowed by PHP now show a useful error message.

Introduced a WebRequestUpload class which is a wrapper around $_FILES and contains all getUpload* and getFile* methods. This has as advantage that the upload can be passed along without $wgRequest. Also because I like objects.
RELEASE-NOTES
includes/AutoLoader.php
includes/WebRequest.php
includes/upload/UploadBase.php
includes/upload/UploadFromFile.php