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