44 'JobTypesExcludedFromDefaultQueue',
81 $this->instances = [];
96 if ( $domain === false ) {
97 $domain = WikiMap::getCurrentWikiDbDomain()->getId();
100 if ( !isset( $this->instances[$domain] ) ) {
103 $wikiId = WikiMap::getWikiIdFromDbDomain( $domain );
105 !WikiMap::isCurrentWikiDbDomain( $domain ) &&
106 !in_array( $wikiId, $this->options->get(
'LocalDatabases' ) )
108 $invalidDomain =
true;
110 $invalidDomain =
false;
117 $this->options->get(
'JobClasses' ),
118 $this->options->get(
'JobTypeConf' ),
119 $this->options->get(
'JobTypesExcludedFromDefaultQueue' ),
120 $this->statsdDataFactory,
122 $this->globalIdGenerator
126 return $this->instances[$domain];
if(ini_get('mbstring.func_overload')) if(!defined('MW_ENTRY_POINT'))
Pre-config setup: Before loading LocalSettings.php.
Class to handle enqueueing of background jobs.
Multi-datacenter aware caching interface.
Helper tools for dealing with other locally-hosted wikis.
MediaWiki adaptation of StatsdDataFactory that provides buffering functionality.