Jump to navigation Jump to search
This manual's page is outdated. For more complete information on current code, please refer to the corresponding class. If you have checked or updated this page and found the content to be suitable, please remove this notice. .
|MediaWiki file: LocalFile.php|
|Source code:||master • 1.34.0 • 1.33.2 • 1.31.6|
LocalFile.php contains a class, LocalFile (which extends File) to represent a local file in the wiki's own database.
upload( $srcPath, $comment, $pageText, $flags = 0, $props = false, $timestamp = false, $user = null )Upload a file and record it in the DB
recordUpload2()Record a file upload in the upload log and the image table