MediaWiki REL1_35
|
Public Member Functions | |
__construct ( $doUpdates, LoggerInterface $logger, ILoadBalancer $loadBalancer, RevisionStore $revisionStore, SlotRoleRegistry $slotRoleRegistry=null) | |
import (ImportableOldRevision $importableRevision, $doUpdates=true) | |
Public Member Functions inherited from OldRevisionImporter | |
import (ImportableOldRevision $importableRevision) | |
Private Attributes | |
bool | $doUpdates |
ILoadBalancer | $loadBalancer |
LoggerInterface | $logger |
RevisionStore | $revisionStore |
SlotRoleRegistry | $slotRoleRegistry |
Definition at line 12 of file ImportableOldRevisionImporter.php.
ImportableOldRevisionImporter::__construct | ( | $doUpdates, | |
LoggerInterface | $logger, | ||
ILoadBalancer | $loadBalancer, | ||
RevisionStore | $revisionStore, | ||
SlotRoleRegistry | $slotRoleRegistry = null |
||
) |
bool | $doUpdates | |
LoggerInterface | $logger | |
ILoadBalancer | $loadBalancer | |
RevisionStore | $revisionStore | |
SlotRoleRegistry | null | $slotRoleRegistry |
Definition at line 46 of file ImportableOldRevisionImporter.php.
References $doUpdates, $loadBalancer, $logger, $revisionStore, and $slotRoleRegistry.
ImportableOldRevisionImporter::import | ( | ImportableOldRevision | $importableRevision, |
$doUpdates = true |
|||
) |
Definition at line 64 of file ImportableOldRevisionImporter.php.
References ChangeTags\addTags(), DB_MASTER, ImportableOldRevision\getComment(), ImportableOldRevision\getContent(), ImportableOldRevision\getMinor(), ImportableOldRevision\getSha1Base36(), ImportableOldRevision\getSlot(), ImportableOldRevision\getSlotRoles(), ImportableOldRevision\getTags(), ImportableOldRevision\getTimestamp(), ImportableOldRevision\getTitle(), ImportableOldRevision\getUser(), ImportableOldRevision\getUserObj(), User\newFromAnyId(), and User\newFromName().
|
private |
Definition at line 22 of file ImportableOldRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 27 of file ImportableOldRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 17 of file ImportableOldRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 32 of file ImportableOldRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 37 of file ImportableOldRevisionImporter.php.
Referenced by __construct().