MediaWiki REL1_37
|
Public Member Functions | |
__construct ( $doUpdates, LoggerInterface $logger, ILoadBalancer $loadBalancer, RevisionStore $revisionStore, SlotRoleRegistry $slotRoleRegistry, WikiPageFactory $wikiPageFactory=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 |
WikiPageFactory | $wikiPageFactory |
Definition at line 14 of file ImportableOldRevisionImporter.php.
ImportableOldRevisionImporter::__construct | ( | $doUpdates, | |
LoggerInterface | $logger, | ||
ILoadBalancer | $loadBalancer, | ||
RevisionStore | $revisionStore, | ||
SlotRoleRegistry | $slotRoleRegistry, | ||
WikiPageFactory | $wikiPageFactory = null |
||
) |
bool | $doUpdates | |
LoggerInterface | $logger | |
ILoadBalancer | $loadBalancer | |
RevisionStore | $revisionStore | |
SlotRoleRegistry | $slotRoleRegistry | |
WikiPageFactory | null | $wikiPageFactory |
Definition at line 54 of file ImportableOldRevisionImporter.php.
References $doUpdates, $loadBalancer, $logger, $revisionStore, $slotRoleRegistry, and $wikiPageFactory.
ImportableOldRevisionImporter::import | ( | ImportableOldRevision | $importableRevision, |
$doUpdates = true |
|||
) |
Definition at line 72 of file ImportableOldRevisionImporter.php.
References ChangeTags\addTags(), DB_PRIMARY, 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 24 of file ImportableOldRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 29 of file ImportableOldRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 19 of file ImportableOldRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 34 of file ImportableOldRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 39 of file ImportableOldRevisionImporter.php.
Referenced by __construct().
|
private |
Definition at line 44 of file ImportableOldRevisionImporter.php.
Referenced by __construct().