wiki.techinc.nl/includes/upload
Tim Starling db643f03c2 Fixes for r72024:
* Renamed MediaHandler::verifyFileHook() to verifyUpload() since it isn't a hook and the fact that it operates on files is obvious.
* Separated some concerns by simply passing verifyUpload() function a file path instead of an UploadBase object and MIME type. This simplifies the implementation of subclasses, makes the function accessible to non-UploadBase callers, and avoids breaking the interface constantly due to UploadBase changes.
* Have verifyUpload() return a Status object instead of allowing the idiosyncratic and feature-poor error array convention from UploadBase to infect MediaHandler.

The required update to PagedTiffHandler will be in a subsequent commit.
2010-09-07 10:38:19 +00:00
..
UploadBase.php Fixes for r72024: 2010-09-07 10:38:19 +00:00
UploadFromFile.php * Standardised file description headers 2010-08-20 20:39:04 +00:00
UploadFromStash.php * Standardised file description headers 2010-08-20 20:39:04 +00:00
UploadFromUrl.php Follow-up r70137: Made asynchronous upload working a bit more. It now fully works from the API; works still needs to be done for the normal UI. PHPUnit tests are updated and should cover most code paths that can be called from the API. 2010-09-06 10:18:53 +00:00