/** * Record a file upload in the upload log and the image table * @deprecated use upload() */ function recordUpload($oldver, $desc, $license = '', $copyStatus = '', $source = '', $watch = false, $timestamp = false) { $pageText = UploadForm::getInitialPageText($desc, $license, $copyStatus, $source); if (!$this->recordUpload2($oldver, $desc, $pageText)) { return false; } if ($watch) { global $wgUser; $wgUser->addWatch($this->getTitle()); } return true; }