|MediaWiki file: UploadBase.php|
|Source code:||master • 1.34.2 • 1.33.4 • 1.31.8|
UploadBase and subclasses are the backend of MediaWiki's file uploads. The frontends are formed by ApiUpload and SpecialUpload.
UploadBase::performUpload( $comment, $pageText, $watch, $user )Really perform the upload. Stores the file in the local repo, watches if necessary and runs the UploadComplete hook.
UploadBase::getLocalFile()Return the local file and initializes if necessary.