MediaWiki REL1_34
|
Factory service for RevisionStore instances. More...
Public Member Functions | |
__construct (ILBFactory $dbLoadBalancerFactory, BlobStoreFactory $blobStoreFactory, NameTableStoreFactory $nameTables, SlotRoleRegistry $slotRoleRegistry, WANObjectCache $cache, CommentStore $commentStore, ActorMigration $actorMigration, $migrationStage, LoggerInterface $logger, $contentHandlerUseDB) | |
getRevisionStore ( $dbDomain=false) | |
Private Attributes | |
ActorMigration | $actorMigration |
BlobStoreFactory | $blobStoreFactory |
WANObjectCache | $cache |
CommentStore | $commentStore |
bool | $contentHandlerUseDB |
ILBFactory | $dbLoadBalancerFactory |
LoggerInterface | $logger |
int | $mcrMigrationStage |
One of the MIGRATION_* constants. | |
NameTableStoreFactory | $nameTables |
SlotRoleRegistry | $slotRoleRegistry |
Factory service for RevisionStore instances.
This allows RevisionStores to be created for cross-wiki access.
Definition at line 49 of file RevisionStoreFactory.php.
MediaWiki\Revision\RevisionStoreFactory::__construct | ( | ILBFactory | $dbLoadBalancerFactory, |
BlobStoreFactory | $blobStoreFactory, | ||
NameTableStoreFactory | $nameTables, | ||
SlotRoleRegistry | $slotRoleRegistry, | ||
WANObjectCache | $cache, | ||
CommentStore | $commentStore, | ||
ActorMigration | $actorMigration, | ||
$migrationStage, | |||
LoggerInterface | $logger, | ||
$contentHandlerUseDB | |||
) |
ILBFactory | $dbLoadBalancerFactory | |
BlobStoreFactory | $blobStoreFactory | |
NameTableStoreFactory | $nameTables | |
SlotRoleRegistry | $slotRoleRegistry | |
WANObjectCache | $cache | |
CommentStore | $commentStore | |
ActorMigration | $actorMigration | |
int | $migrationStage | |
LoggerInterface | $logger | |
bool | $contentHandlerUseDB | see $wgContentHandlerUseDB . Must be the same for all wikis in the cluster. Will go away after MCR migration. |
Definition at line 91 of file RevisionStoreFactory.php.
References MediaWiki\Revision\RevisionStoreFactory\$actorMigration, MediaWiki\Revision\RevisionStoreFactory\$blobStoreFactory, MediaWiki\Revision\RevisionStoreFactory\$cache, MediaWiki\Revision\RevisionStoreFactory\$commentStore, MediaWiki\Revision\RevisionStoreFactory\$contentHandlerUseDB, MediaWiki\Revision\RevisionStoreFactory\$dbLoadBalancerFactory, MediaWiki\Revision\RevisionStoreFactory\$logger, MediaWiki\Revision\RevisionStoreFactory\$nameTables, and MediaWiki\Revision\RevisionStoreFactory\$slotRoleRegistry.
MediaWiki\Revision\RevisionStoreFactory::getRevisionStore | ( | $dbDomain = false | ) |
bool | string | $dbDomain | DB domain of the relevant wiki or false for the current one |
Definition at line 123 of file RevisionStoreFactory.php.
|
private |
Definition at line 63 of file RevisionStoreFactory.php.
Referenced by MediaWiki\Revision\RevisionStoreFactory\__construct().
|
private |
Definition at line 52 of file RevisionStoreFactory.php.
Referenced by MediaWiki\Revision\RevisionStoreFactory\__construct().
|
private |
Definition at line 56 of file RevisionStoreFactory.php.
Referenced by MediaWiki\Revision\RevisionStoreFactory\__construct().
|
private |
Definition at line 61 of file RevisionStoreFactory.php.
Referenced by MediaWiki\Revision\RevisionStoreFactory\__construct().
|
private |
Definition at line 70 of file RevisionStoreFactory.php.
Referenced by MediaWiki\Revision\RevisionStoreFactory\__construct().
|
private |
Definition at line 54 of file RevisionStoreFactory.php.
Referenced by MediaWiki\Revision\RevisionStoreFactory\__construct().
|
private |
Definition at line 58 of file RevisionStoreFactory.php.
Referenced by MediaWiki\Revision\RevisionStoreFactory\__construct().
|
private |
One of the MIGRATION_* constants.
Definition at line 65 of file RevisionStoreFactory.php.
|
private |
Definition at line 73 of file RevisionStoreFactory.php.
Referenced by MediaWiki\Revision\RevisionStoreFactory\__construct().
|
private |
Definition at line 76 of file RevisionStoreFactory.php.
Referenced by MediaWiki\Revision\RevisionStoreFactory\__construct().