MediaWiki REL1_32
|
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. | |
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.
MediaWiki\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 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\$loggerProvider, MediaWiki\Revision\RevisionStoreFactory\$nameTables, and cache.
MediaWiki\Revision\RevisionStoreFactory::getRevisionStore | ( | $wikiId = false | ) |
bool | string | $wikiId | false for the current domain / wikid |
Definition at line 117 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().