MediaWiki
1.33.1
|
Public Member Functions | |
__construct ( $doUpdates, LoggerInterface $logger, LoadBalancer $loadBalancer) | |
import (ImportableOldRevision $importableRevision, $doUpdates=true) | |
Public Member Functions inherited from OldRevisionImporter | |
import (ImportableOldRevision $importableRevision) | |
Private Attributes | |
bool | $doUpdates |
LoadBalancer | $loadBalancer |
LoggerInterface | $logger |
Definition at line 9 of file ImportableOldRevisionImporter.php.
ImportableOldRevisionImporter::__construct | ( | $doUpdates, | |
LoggerInterface | $logger, | ||
LoadBalancer | $loadBalancer | ||
) |
bool | $doUpdates | |
LoggerInterface | $logger | |
LoadBalancer | $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 $user, Title\clearCaches(), DB_MASTER, WikiPage\factory(), false, ImportableOldRevision\getComment(), Wikimedia\Rdbms\LoadBalancer\getConnectionRef(), ImportableOldRevision\getContent(), ImportableOldRevision\getFormat(), ImportableOldRevision\getMinor(), ImportableOldRevision\getModel(), ImportableOldRevision\getSha1Base36(), ImportableOldRevision\getTimestamp(), ImportableOldRevision\getTitle(), ImportableOldRevision\getUser(), ImportableOldRevision\getUserObj(), Revision\insertOn(), User\newFromName(), and User.
|
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().