MediaWiki
1.34.4
|
Public Member Functions | |
__construct ( $doUpdates, LoggerInterface $logger, ILoadBalancer $loadBalancer) | |
import (ImportableOldRevision $importableRevision, $doUpdates=true) | |
Public Member Functions inherited from OldRevisionImporter | |
import (ImportableOldRevision $importableRevision) | |
Private Attributes | |
bool | $doUpdates |
ILoadBalancer | $loadBalancer |
LoggerInterface | $logger |
Definition at line 9 of file ImportableOldRevisionImporter.php.
ImportableOldRevisionImporter::__construct | ( | $doUpdates, | |
LoggerInterface | $logger, | ||
ILoadBalancer | $loadBalancer | ||
) |
bool | $doUpdates | |
LoggerInterface | $logger | |
ILoadBalancer | $loadBalancer |
Definition at line 31 of file ImportableOldRevisionImporter.php.
References $doUpdates, $loadBalancer, and $logger.
ImportableOldRevisionImporter::import | ( | ImportableOldRevision | $importableRevision, |
$doUpdates = true |
|||
) |
Definition at line 41 of file ImportableOldRevisionImporter.php.
References ChangeTags\addTags(), Title\clearCaches(), DB_MASTER, WikiPage\factory(), ImportableOldRevision\getComment(), Wikimedia\Rdbms\ILoadBalancer\getConnectionRef(), ImportableOldRevision\getContent(), ImportableOldRevision\getFormat(), ImportableOldRevision\getMinor(), ImportableOldRevision\getModel(), ImportableOldRevision\getSha1Base36(), ImportableOldRevision\getTags(), ImportableOldRevision\getTimestamp(), ImportableOldRevision\getTitle(), ImportableOldRevision\getUser(), ImportableOldRevision\getUserObj(), and User\newFromName().
|
private |
Definition at line 19 of file ImportableOldRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 24 of file ImportableOldRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 14 of file ImportableOldRevisionImporter.php.
Referenced by __construct().