Splitting backend upload code from SpecialUpload.
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 27 Aug 2008 17:38:33 +0000 (17:38 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 27 Aug 2008 17:38:33 +0000 (17:38 +0000)
commitbce3733c01fb5d498ebfb9a0665947cb830782cb
tree15995cb90d9a8ef9ab700b2dca8cf97db4e0d645
parentfb84c15c1e2b325c1d600b2112c7f5b3226d8366
Splitting backend upload code from SpecialUpload.
* All common upload code resides in UploadFromBase. Then depending on the upload source, one of its derived classes is initiated by Special:Upload.
* SpecialUpload::ajaxGetExistsWarning now only returns warnings that are related to existence.
* Allow LocalFile::upload to attribute the upload to another user than $wgUser

This introduces breaking changes for upload extensions.
RELEASE-NOTES
docs/upload.txt [new file with mode: 0644]
includes/AutoLoader.php
includes/UploadFromBase.php [new file with mode: 0644]
includes/UploadFromStash.php [new file with mode: 0644]
includes/UploadFromUpload.php [new file with mode: 0644]
includes/UploadFromUrl.php [new file with mode: 0644]
includes/filerepo/LocalFile.php
includes/specials/SpecialUpload.php