手册:UploadBase.php
Appearance
Outdated translations are marked like this.
MediaWiki文件: UploadBase.php | |
---|---|
位置: | includes/upload/ |
源代码: | master • 1.42.3 • 1.41.4 • 1.39.10 |
类: | UploadBase |
UploadBase和子类是MediaWiki文件上传的后端。前端由ApiUpload和SpecialUpload组成。
函数
UploadBase::performUpload( $comment, $pageText, $watch, $user )
真正执行上传。将文件存储在本地存储库中,如有必要,进行监视并运行UploadComplete钩子。UploadBase::getLocalFile()
返回本地文件并在必要时进行初始化。