MediaWiki REL1_39
|
Public Member Functions | |
__construct ( $doUpdates, LoggerInterface $logger, ILoadBalancer $loadBalancer, RevisionStore $revisionStore, SlotRoleRegistry $slotRoleRegistry, WikiPageFactory $wikiPageFactory=null, PageUpdaterFactory $pageUpdaterFactory=null, UserFactory $userFactory=null) | |
import (ImportableOldRevision $importableRevision, $doUpdates=true) | |
Public Member Functions inherited from OldRevisionImporter | |
import (ImportableOldRevision $importableRevision) | |
Definition at line 16 of file ImportableOldRevisionImporter.php.
ImportableOldRevisionImporter::__construct | ( | $doUpdates, | |
LoggerInterface | $logger, | ||
ILoadBalancer | $loadBalancer, | ||
RevisionStore | $revisionStore, | ||
SlotRoleRegistry | $slotRoleRegistry, | ||
WikiPageFactory | $wikiPageFactory = null, | ||
PageUpdaterFactory | $pageUpdaterFactory = null, | ||
UserFactory | $userFactory = null ) |
bool | $doUpdates | |
LoggerInterface | $logger | |
ILoadBalancer | $loadBalancer | |
RevisionStore | $revisionStore | |
SlotRoleRegistry | $slotRoleRegistry | |
WikiPageFactory | null | $wikiPageFactory | |
PageUpdaterFactory | null | $pageUpdaterFactory | |
UserFactory | null | $userFactory |
Definition at line 64 of file ImportableOldRevisionImporter.php.
ImportableOldRevisionImporter::import | ( | ImportableOldRevision | $importableRevision, |
$doUpdates = true ) |
Definition at line 88 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(), and ImportableOldRevision\getUserObj().