Manual:UploadBase.php
MediaWiki ファイル: UploadBase.php | |
---|---|
場所: | includes/upload/ |
ソース コード: | master • 1.42.3 • 1.41.4 • 1.39.10 |
クラス: | UploadBase |
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.