MediaWiki REL1_31
|
Public Member Functions | |
__construct ( $enableUploads, LoggerInterface $logger) | |
downloadSource (ImportableUploadRevision $wikiRevision) | |
import (ImportableUploadRevision $importableRevision) | |
Private Member Functions | |
newNotOkStatus () | |
Private Attributes | |
bool | $enableUploads |
LoggerInterface | $logger |
Definition at line 8 of file ImportableUploadRevisionImporter.php.
ImportableUploadRevisionImporter::__construct | ( | $enableUploads, | |
LoggerInterface | $logger ) |
bool | $enableUploads | |
LoggerInterface | $logger |
Definition at line 24 of file ImportableUploadRevisionImporter.php.
References $enableUploads, and $logger.
ImportableUploadRevisionImporter::downloadSource | ( | ImportableUploadRevision | $wikiRevision | ) |
ImportableUploadRevision | $wikiRevision |
Definition at line 127 of file ImportableUploadRevisionImporter.php.
References Http\get(), and wfTempDir().
Referenced by import().
ImportableUploadRevisionImporter::import | ( | ImportableUploadRevision | $importableUploadRevision | ) |
ImportableUploadRevision | $importableUploadRevision |
Implements UploadRevisionImporter.
Definition at line 41 of file ImportableUploadRevisionImporter.php.
References $source, downloadSource(), OldLocalFile\newFromArchiveName(), User\newFromName(), newNotOkStatus(), RepoGroup\singleton(), and wfLocalFile().
|
private |
Definition at line 35 of file ImportableUploadRevisionImporter.php.
Referenced by import().
|
private |
Definition at line 18 of file ImportableUploadRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 13 of file ImportableUploadRevisionImporter.php.
Referenced by __construct().