MediaWiki  master
ImportableOldRevisionImporter Class Reference
Inheritance diagram for ImportableOldRevisionImporter:
Collaboration diagram for ImportableOldRevisionImporter:

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)
 

Private Attributes

bool $doUpdates
 
ILoadBalancer $loadBalancer
 
LoggerInterface $logger
 
PageUpdaterFactory $pageUpdaterFactory
 
RevisionStore $revisionStore
 
SlotRoleRegistry $slotRoleRegistry
 
UserFactory $userFactory
 
WikiPageFactory $wikiPageFactory
 

Detailed Description

Since
1.31

Definition at line 16 of file ImportableOldRevisionImporter.php.

Constructor & Destructor Documentation

◆ __construct()

ImportableOldRevisionImporter::__construct (   $doUpdates,
LoggerInterface  $logger,
ILoadBalancer  $loadBalancer,
RevisionStore  $revisionStore,
SlotRoleRegistry  $slotRoleRegistry,
WikiPageFactory  $wikiPageFactory = null,
PageUpdaterFactory  $pageUpdaterFactory = null,
UserFactory  $userFactory = null 
)
Parameters
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.

References $doUpdates, $loadBalancer, $logger, $pageUpdaterFactory, $revisionStore, $slotRoleRegistry, $userFactory, and $wikiPageFactory.

Member Function Documentation

◆ import()

Member Data Documentation

◆ $doUpdates

bool ImportableOldRevisionImporter::$doUpdates
private

Definition at line 26 of file ImportableOldRevisionImporter.php.

Referenced by __construct().

◆ $loadBalancer

ILoadBalancer ImportableOldRevisionImporter::$loadBalancer
private

Definition at line 31 of file ImportableOldRevisionImporter.php.

Referenced by __construct().

◆ $logger

LoggerInterface ImportableOldRevisionImporter::$logger
private

Definition at line 21 of file ImportableOldRevisionImporter.php.

Referenced by __construct().

◆ $pageUpdaterFactory

PageUpdaterFactory ImportableOldRevisionImporter::$pageUpdaterFactory
private

Definition at line 49 of file ImportableOldRevisionImporter.php.

Referenced by __construct().

◆ $revisionStore

RevisionStore ImportableOldRevisionImporter::$revisionStore
private

Definition at line 36 of file ImportableOldRevisionImporter.php.

Referenced by __construct().

◆ $slotRoleRegistry

SlotRoleRegistry ImportableOldRevisionImporter::$slotRoleRegistry
private

Definition at line 41 of file ImportableOldRevisionImporter.php.

Referenced by __construct().

◆ $userFactory

UserFactory ImportableOldRevisionImporter::$userFactory
private

Definition at line 52 of file ImportableOldRevisionImporter.php.

Referenced by __construct().

◆ $wikiPageFactory

WikiPageFactory ImportableOldRevisionImporter::$wikiPageFactory
private

Definition at line 46 of file ImportableOldRevisionImporter.php.

Referenced by __construct().


The documentation for this class was generated from the following file: