MediaWiki master
|
Service locator for MediaWiki core services. More...
Inherits ServiceContainer.
Static Public Member Functions | |
static | allowGlobalInstance () |
Allows a global service container instance to exist. | |
static | allowGlobalInstanceAfterUnitTests () |
static | disableStorageBackend () |
Disables all storage layer services. | |
static | disallowGlobalInstanceInUnitTests () |
static | failIfResetNotAllowed ( $method) |
Convenience method that throws an exception unless it is called during a phase in which resetting of global services is allowed. | |
static | forceGlobalInstance (self $services) |
Replaces the global MediaWikiServices instance. | |
static | getInstance () |
Returns the global default instance of the top level service locator. | |
static | hasInstance () |
Returns true if an instance has already been initialized. | |
static | resetChildProcessServices () |
Resets any services that may have become stale after a child processö returns from after pcntl_fork(). | |
static | resetGlobalInstance (?Config $bootstrapConfig=null, $mode='reset') |
Creates a new instance of MediaWikiServices and sets it as the global default instance. | |
Service locator for MediaWiki core services.
Refer to includes/ServiceWiring.php for the default implementations.
Definition at line 242 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::__construct | ( | Config | $config | ) |
Config | $config | The Config object to be registered as the 'BootstrapConfig' service. This has to contain at least the information needed to set up the 'ConfigFactory' service. |
Definition at line 683 of file MediaWikiServices.php.
|
static |
Allows a global service container instance to exist.
This should be called only after configuration settings have been read and extensions have been registered. Any change made to configuration after this method has been called may be ineffective or even harmful.
Definition at line 272 of file MediaWikiServices.php.
|
static |
Definition at line 296 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::disableStorage | ( | ) |
Disables all storage layer services.
After calling this, any attempt to access the storage layer will result in an error. Use resetGlobalInstance() with $mode=reload to restore normal operation.
Definition at line 531 of file MediaWikiServices.php.
References LocalisationCache\disableBackend().
|
static |
Disables all storage layer services.
After calling this, any attempt to access the storage layer will result in an error.
Definition at line 511 of file MediaWikiServices.php.
|
static |
Definition at line 286 of file MediaWikiServices.php.
|
static |
Convenience method that throws an exception unless it is called during a phase in which resetting of global services is allowed.
In general, services should not be reset individually, since that may introduce inconsistencies.
This method will throw an exception if:
This method is intended to be used to safeguard against accidentally resetting global service instances that are not yet managed by MediaWikiServices. It is defined here in the MediaWikiServices services class to have a central place for managing service bootstrapping and resetting.
string | $method | the name of the caller method, as given by METHOD. |
Definition at line 667 of file MediaWikiServices.php.
|
static |
Replaces the global MediaWikiServices instance.
self | $services | The new MediaWikiServices object. |
Definition at line 371 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getActionFactory | ( | ) |
Definition at line 697 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getActorMigration | ( | ) |
Definition at line 704 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getActorNormalization | ( | ) |
Definition at line 711 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getActorStore | ( | ) |
Definition at line 718 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getActorStoreFactory | ( | ) |
Definition at line 725 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getArchivedRevisionLookup | ( | ) |
Definition at line 732 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getAuthManager | ( | ) |
Definition at line 739 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getAutoblockExemptionList | ( | ) |
Definition at line 746 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBacklinkCacheFactory | ( | ) |
Definition at line 753 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBadFileLookup | ( | ) |
Definition at line 760 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBlobStore | ( | ) |
Definition at line 767 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBlobStoreFactory | ( | ) |
Definition at line 774 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBlockActionInfo | ( | ) |
Definition at line 781 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBlockErrorFormatter | ( | ) |
Definition at line 789 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBlockManager | ( | ) |
Definition at line 797 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBlockPermissionCheckerFactory | ( | ) |
Definition at line 804 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBlockRestrictionStore | ( | ) |
Definition at line 811 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBlockRestrictionStoreFactory | ( | ) |
Definition at line 818 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBlockUserFactory | ( | ) |
Definition at line 825 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBlockUtils | ( | ) |
Definition at line 832 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBlockUtilsFactory | ( | ) |
Definition at line 839 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBootstrapConfig | ( | ) |
Returns the Config object containing the bootstrap configuration.
Bootstrap configuration would typically include database credentials and other information that may be needed before the ConfigFactory service can be instantiated.
Definition at line 855 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getBotPasswordStore | ( | ) |
Definition at line 862 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getCentralIdLookup | ( | ) |
Definition at line 869 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getCentralIdLookupFactory | ( | ) |
Definition at line 876 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getChangeTagDefStore | ( | ) |
Definition at line 883 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getChangeTagsStore | ( | ) |
Definition at line 890 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getChronologyProtector | ( | ) |
Definition at line 897 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getCollationFactory | ( | ) |
Definition at line 904 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getCommentFormatter | ( | ) |
Definition at line 911 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getCommentParserFactory | ( | ) |
Definition at line 918 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getCommentStore | ( | ) |
Definition at line 925 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getConfigFactory | ( | ) |
Definition at line 932 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getConfigRepository | ( | ) |
MediaWiki\MediaWikiServices::getConfigSchema | ( | ) |
Definition at line 948 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getConfiguredReadOnlyMode | ( | ) |
Definition at line 956 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getConnectionProvider | ( | ) |
Definition at line 963 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getContentHandlerFactory | ( | ) |
Definition at line 970 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getContentLanguage | ( | ) |
Definition at line 977 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getContentLanguageCode | ( | ) |
Definition at line 984 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getContentModelChangeFactory | ( | ) |
Definition at line 991 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getContentModelStore | ( | ) |
Definition at line 998 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getContentRenderer | ( | ) |
Definition at line 1005 of file MediaWikiServices.php.
Referenced by MediaWiki\EditPage\EditPage\doPreviewParse().
MediaWiki\MediaWikiServices::getContentTransformer | ( | ) |
Definition at line 1012 of file MediaWikiServices.php.
Referenced by MediaWiki\EditPage\EditPage\doPreviewParse(), and MediaWiki\EditPage\EditPage\showDiff().
MediaWiki\MediaWikiServices::getCriticalSectionProvider | ( | ) |
Definition at line 1019 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getDatabaseBlockStore | ( | ) |
Definition at line 1026 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getDatabaseBlockStoreFactory | ( | ) |
Definition at line 1033 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getDatabaseFactory | ( | ) |
Definition at line 1040 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getDateFormatterFactory | ( | ) |
Definition at line 1047 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getDBLoadBalancer | ( | ) |
Definition at line 1055 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getDBLoadBalancerFactory | ( | ) |
getConnectionProvider()
instead. Definition at line 1063 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getDBLoadBalancerFactoryConfigBuilder | ( | ) |
Definition at line 1070 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getDefaultOutputPipeline | ( | ) |
Definition at line 1078 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getDeletePageFactory | ( | ) |
Definition at line 1085 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getDomainEventDispatcher | ( | ) |
MediaWiki\MediaWikiServices::getDomainEventSource | ( | ) |
MediaWiki\MediaWikiServices::getEmailer | ( | ) |
Definition at line 1108 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getEmailUserFactory | ( | ) |
Definition at line 1115 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getEventRelayerGroup | ( | ) |
Definition at line 1122 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getExtensionRegistry | ( | ) |
Definition at line 1129 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getExternalStoreAccess | ( | ) |
Definition at line 1136 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getExternalStoreFactory | ( | ) |
Definition at line 1143 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getFileBackendGroup | ( | ) |
Definition at line 1150 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getFormatterFactory | ( | ) |
Definition at line 1157 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getGenderCache | ( | ) |
Definition at line 1164 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getGlobalIdGenerator | ( | ) |
Definition at line 1171 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getGrantsInfo | ( | ) |
Definition at line 1178 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getGrantsLocalization | ( | ) |
Definition at line 1185 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getGroupPermissionsLookup | ( | ) |
Definition at line 1192 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getHideUserUtils | ( | ) |
MediaWiki\MediaWikiServices::getHookContainer | ( | ) |
Definition at line 1207 of file MediaWikiServices.php.
Referenced by MediaWiki\EditPage\EditPage\getCopyrightWarning().
MediaWiki\MediaWikiServices::getHtmlCacheUpdater | ( | ) |
Definition at line 1214 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getHtmlTransformFactory | ( | ) |
Definition at line 1221 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getHttpRequestFactory | ( | ) |
Definition at line 1228 of file MediaWikiServices.php.
|
static |
Returns the global default instance of the top level service locator.
The default instance is initialized using the service instantiator functions defined in ServiceWiring.php.
Definition at line 325 of file MediaWikiServices.php.
References wfDeprecatedMsg().
Referenced by MediaWiki\Language\Language\__construct(), MediaWiki\Api\ApiMain\__construct(), MediaWiki\Site\MediaWikiPageNameNormalizer\__construct(), MediaWiki\Parser\MagicWord\__construct(), MediaWiki\Pager\LogPager\__construct(), MediaWiki\SpecialPage\SpecialRedirectWithAction\__construct(), MediaWiki\SpecialPage\ChangesListSpecialPage\__construct(), MediaWiki\Parser\MagicWordArray\__construct(), MediaWiki\RenameUser\RenameuserSQL\__construct(), MediaWiki\Session\SessionManager\__construct(), MediaWiki\HTMLForm\Field\HTMLSelectLanguageField\__construct(), MediaWiki\HTMLForm\Field\HTMLTimezoneField\__construct(), MediaWiki\Auth\ThrottlePreAuthenticationProvider\__construct(), MediaWiki\ResourceLoader\ForeignResourceManager\__construct(), MediaWiki\Utils\GitInfo\__construct(), MediaWiki\Installer\CliInstaller\__construct(), MediaWiki\Html\TemplateParser\__construct(), MediaWiki\Feed\FeedItem\__construct(), MediaWiki\Cache\FileCacheBase\__construct(), MediaWiki\Auth\Throttler\__construct(), MediaWiki\Specials\SpecialAllPages\__construct(), MediaWiki\__construct(), MediaWiki\Pager\IndexPager\__construct(), MediaWiki\Cache\GenderCache\__construct(), MediaWiki\Specials\SpecialPreferences\__construct(), MediaWiki\Specials\SpecialUpload\__construct(), MediaWiki\Specials\SpecialUserRights\__construct(), MediaWiki\Specials\SpecialRecentChanges\__construct(), MediaWiki\Specials\SpecialEditWatchlist\__construct(), MediaWiki\Api\ApiPageSet\__construct(), MediaWiki\Api\ApiAuthManagerHelper\__construct(), MediaWiki\Api\ApiModuleManager\__construct(), MediaWiki\Api\ApiOptions\__construct(), MediaWiki\Api\ApiEditPage\__construct(), MediaWiki\Api\ApiQueryImageInfo\__construct(), MediaWiki\Api\ApiQueryRevisionsBase\__construct(), MediaWiki\Api\ApiErrorFormatter_BackCompat\__construct(), MediaWiki\EditPage\EditPage\__construct(), MediaWiki\Page\ProtectionForm\__construct(), MediaWiki\Actions\FileDeleteAction\__construct(), MediaWiki\ResourceLoader\ResourceLoader\__construct(), MediaWiki\Pager\HistoryPager\__construct(), MediaWiki\Pager\ContribsPager\__construct(), MediaWiki\Category\CategoryViewer\__construct(), MediaWiki\Deferred\LinksUpdate\LinksUpdate\__construct(), MediaWiki\ResourceLoader\MessageBlobStore\__construct(), MediaWiki\RevisionList\RevisionItem\__construct(), MediaWiki\Preferences\DefaultPreferencesFactory\__construct(), MediaWiki\Session\SessionBackend\__construct(), MediaWiki\Session\PHPSessionHandler\__construct(), MediaWiki\Deferred\JobQueueEnqueueUpdate\__construct(), MediaWiki\PoolCounter\PoolCounterWork\__construct(), MediaWiki\User\User\__get(), MediaWiki\User\User\__set(), MediaWiki\Category\CategoryViewer\addSubcategoryObject(), MediaWiki\User\ExternalUserNames\applyPrefix(), MediaWiki\SiteStats\SiteStatsInit\articles(), MediaWiki\SpecialPage\ChangesListSpecialPage\buildQuery(), MediaWiki\EditPage\TextboxBuilder\buildTextboxAttribs(), MediaWiki\Deferred\SiteStatsUpdate\cacheUpdate(), MediaWiki\Specials\SpecialPageLanguage\changePageLanguage(), MediaWiki\User\User\checkAndSetTouched(), MediaWiki\Api\ApiMain\checkAsserts(), MediaWiki\Feed\FeedUtils\checkFeedOutput(), MediaWiki\User\User\checkPasswordValidity(), MediaWiki\Api\ApiMain\checkReadOnly(), MediaWiki\SpecialPage\SpecialPage\checkReadOnly(), MediaWiki\Specials\SpecialWatchlist\checkStructuredFilterUiEnabled(), MediaWiki\User\User\clearInstanceCache(), MediaWiki\Api\ApiFormatBase\closePrinter(), MediaWiki\SpecialPage\ChangesListSpecialPage\considerActionsForDefaultSavedQuery(), MediaWiki\Output\StreamFile\contentTypeFromPath(), MediaWiki\Content\AbstractContent\convert(), MediaWiki\Block\DatabaseBlock\delete(), MediaWiki\Content\TextContent\diff(), MediaWiki\Installer\Installer\dirIsExecutable(), MediaWiki\Installer\Installer\disableStorage(), MediaWiki\Parser\CoreParserFunctions\displaytitle(), MediaWiki\Block\DatabaseBlock\doAutoblock(), MediaWiki\Deferred\LinksUpdate\LinksDeletionUpdate\doIncrementalUpdate(), MediaWiki\SpecialPage\ChangesListSpecialPage\doMainQuery(), MediaWiki\RevisionList\RevisionList\doQuery(), MediaWiki\Deferred\CdnCacheUpdate\doUpdate(), MediaWiki\Deferred\SiteStatsUpdate\doUpdate(), MediaWiki\Deferred\UserEditCountUpdate\doUpdate(), MediaWiki\Language\MessageCacheUpdate\doUpdate(), MediaWiki\Search\SearchUpdate\doUpdate(), MediaWiki\Parser\LinkHolderArray\doVariants(), MediaWiki\PoolCounter\PoolWorkArticleViewCurrent\doWork(), MediaWiki\PoolCounter\PoolWorkArticleViewOld\doWork(), MediaWiki\EditPage\EditPage\edit(), MediaWiki\Xml\Xml\elementClean(), MediaWiki\Installer\Installer\envCheckUploadsServerResponse(), MediaWiki\Specials\SpecialMIMESearch\execute(), MediaWiki\SpecialPage\ChangesListSpecialPage\execute(), MediaWiki\SpecialPage\LoginSignupSpecialPage\execute(), MediaWiki\Specials\SpecialExpandTemplates\execute(), MediaWiki\Api\ApiQuery\execute(), MediaWiki\Installer\WebInstallerLanguage\execute(), MediaWiki\Api\ApiQueryBase\executeGenderCacheFromResultWrapper(), MediaWiki\ResourceLoader\FileModule\extractBasePaths(), MediaWiki\User\CentralId\CentralIdLookup\factory(), MediaWiki\Content\CssContentHandler\fillParserOutput(), MediaWiki\Content\JavaScriptContentHandler\fillParserOutput(), MediaWiki\Content\TextContentHandler\fillParserOutput(), MediaWiki\User\User\findUsersByGroup(), MediaWiki\Parser\CoreParserFunctions\formatDate(), MediaWiki\Feed\FeedUtils\formatDiff(), MediaWiki\Feed\FeedUtils\formatDiffRow(), MediaWiki\Feed\FeedUtils\formatDiffRow2(), MediaWiki\Api\ApiResult\formatExpiry(), MediaWiki\Parser\CoreParserFunctions\formatRaw(), MediaWiki\Parser\CoreParserFunctions\gender(), MediaWiki\FileRepo\ThumbnailEntryPoint\generateThumbnail(), MediaWiki\Deferred\LinksUpdate\LinksTableGroup\get(), MediaWiki\Installer\WebInstaller\getAcceptLanguage(), MediaWiki\Content\ContentHandler\getAllContentFormats(), MediaWiki\Api\ApiFeedContributions\getAllowedParams(), MediaWiki\SpecialPage\SpecialPage\getAuthManager(), MediaWiki\User\User\getCacheKey(), MediaWiki\WikiMap\WikiMap\getCanonicalServerInfoForAllWikis(), MediaWiki\Api\ApiQueryUserInfo\getCentralUserInfo(), MediaWiki\Context\RequestContext\getConfig(), MediaWiki\ResourceLoader\WikiModule\getContent(), MediaWiki\Content\ContentHandler\getContentModels(), MediaWiki\ResourceLoader\WikiModule\getContentObj(), MediaWiki\Request\FauxRequest\getCookie(), MediaWiki\Installer\WebInstallerOutput\getCSS(), MediaWiki\Pager\AllMessagesTablePager\getCustomisedStatuses(), MediaWiki\Content\FileContentHandler\getDataForSearchIndex(), MediaWiki\Api\ApiBase\getDB(), MediaWiki\ResourceLoader\WikiModule\getDB(), MediaWiki\SpecialPage\QueryPage\getDBLoadBalancer(), MediaWiki\Content\ContentHandler\getDefaultModelFor(), MediaWiki\Specials\SpecialVersion\getExtensionTypes(), MediaWiki\SpecialPage\LoginSignupSpecialPage\getFieldDefinitions(), MediaWiki\Auth\UserDataAuthenticationRequest\getFieldInfo(), MediaWiki\Api\ApiFormatBase\getFilename(), MediaWiki\ResourceLoader\Module\getFlip(), MediaWiki\Content\ContentHandler\getForContent(), MediaWiki\Content\ContentHandler\getForModelID(), MediaWiki\Api\ApiHelp\getHelp(), MediaWiki\Api\ApiBase\getHookContainer(), MediaWiki\RevisionList\RevisionItem\getHTML(), MediaWiki\Linker\Linker\getImageLinkMTOParams(), MediaWiki\Api\ApiQueryImageInfo\getInfo(), MediaWiki\Specials\SpecialUpload\getInitialPageText(), MediaWiki\HTMLForm\Field\HTMLTextAreaField\getInputCodex(), MediaWiki\HTMLForm\Field\HTMLTextAreaField\getInputHTML(), MediaWiki\HTMLForm\Field\HTMLTextAreaField\getInputOOUI(), MediaWiki\Parser\DateFormatter\getInstance(), MediaWiki\Linker\Linker\getInvalidTitleDescription(), MediaWiki\Feed\FeedItem\getLanguage(), MediaWiki\SpecialPage\PageQueryPage\getLanguageConverter(), MediaWiki\Installer\WebInstallerLanguage\getLanguageSelector(), MediaWiki\RCFeed\IRCColourfulRCFeedFormatter\getLine(), MediaWiki\RCFeed\MachineReadableRCFeedFormatter\getLine(), MediaWiki\SpecialPage\QueryPage\getLinkBatchFactory(), MediaWiki\RevisionList\RevisionItemBase\getLinkRenderer(), MediaWiki\Utils\MWTimestamp\getLocalInstance(), MediaWiki\Specials\SpecialLog\getLogTypesOnUser(), MediaWiki\Rest\EntryPoint\getMainRequest(), MediaWiki\Cache\FileCacheBase\getMissesRecent(), MediaWiki\Request\WebRequestUpload\getName(), MediaWiki\Api\ApiOpenSearch\getOpenSearchTemplate(), MediaWiki\Content\CodeContentHandler\getPageLanguage(), MediaWiki\Content\ContentHandler\getPageLanguage(), MediaWiki\SpecialPage\QueryPage\getPages(), MediaWiki\ResourceLoader\UserModule\getPages(), MediaWiki\ResourceLoader\UserStylesModule\getPages(), MediaWiki\Content\CodeContentHandler\getPageViewLanguage(), MediaWiki\Content\ContentHandler\getPageViewLanguage(), MediaWiki\Request\WebRequest\getPathInfo(), MediaWiki\Password\UserPasswordPolicy\getPoliciesForUser(), MediaWiki\ExternalLinks\LinkFilter\getProtocolPrefix(), MediaWiki\Session\SessionManager\getProviders(), MediaWiki\ExternalLinks\LinkFilter\getQueryConditions(), MediaWiki\Block\DatabaseBlock\getQueryInfo(), MediaWiki\Pager\LogPager\getQueryInfo(), MediaWiki\Pager\ContributionsPager\getQueryInfo(), MediaWiki\Pager\MergeHistoryPager\getQueryInfo(), MediaWiki\Block\DatabaseBlock\getRangeCond(), MediaWiki\SpecialPage\ChangesListSpecialPage\getRcFiltersConfigSummary(), MediaWiki\SpecialPage\ChangesListSpecialPage\getRcFiltersConfigVars(), MediaWiki\Utils\MWTimestamp\getRelativeTimestamp(), MediaWiki\Skin\SkinComponentUtils\getReturnToParam(), MediaWiki\Api\ApiRsd\getRsdApiList(), MediaWiki\SpecialPage\SpecialPage\getSafeTitleFor(), MediaWiki\ResourceLoader\UserOptionsModule\getScript(), MediaWiki\Content\WikitextContent\getSection(), MediaWiki\Cache\LinkCache\getSelectFields(), MediaWiki\Specials\SpecialEmailUser\getTarget(), MediaWiki\Html\TemplateParser\getTemplate(), MediaWiki\EditPage\TextboxBuilder\getTextboxProtectionCSSClasses(), MediaWiki\Content\TextContent\getTextForSummary(), MediaWiki\Api\ApiBase\getTitleOrPageId(), MediaWiki\SpecialPage\SpecialPage\getTitleValueFor(), MediaWiki\Api\ApiQueryTokens\getTokenTypeSalts(), MediaWiki\Linker\Linker\getUploadUrl(), MediaWiki\Session\UserInfo\getUser(), MediaWiki\User\ExternalUserNames\getUserLinkTitle(), MediaWiki\Api\ApiBase\getWatchlistUser(), MediaWiki\Context\DerivativeContext\getWikiPage(), MediaWiki\Context\RequestContext\getWikiPage(), MediaWiki\Output\OutputHandler\handle(), MediaWiki\LinkedData\PageDataRequestHandler\handleRequest(), MediaWiki\Parser\CoreTagHooks\html(), MediaWiki\Html\Html\htmlHeader(), MediaWiki\LinkedData\PageDataRequestHandler\httpContentNegotiation(), MediaWiki\Feed\ChannelFeed\httpHeaders(), MediaWiki\SpecialPage\ChangesListSpecialPage\includeRcFiltersApp(), MediaWiki\Cache\FileCacheBase\incrMissesRecent(), MediaWiki\Block\DatabaseBlock\insert(), MediaWiki\Parser\LinkHolderArray\isBig(), MediaWiki\Content\TextContent\isCountable(), MediaWiki\Content\WikitextContent\isCountable(), MediaWiki\Block\DatabaseBlock\isExemptedFromAutoblocks(), MediaWiki\User\User\isPingLimitable(), MediaWiki\SpecialPage\SpecialPage\isRestricted(), MediaWiki\SiteStats\SiteStats\jobs(), MediaWiki\Parser\CoreParserFunctions\language(), MediaWiki\Xml\Xml\languageSelector(), MediaWiki\Linker\Linker\link(), MediaWiki\Html\Html\linkedScript(), MediaWiki\Revision\ArchivedRevisionLookup\listRevisions(), MediaWiki\User\User\load(), MediaWiki\SpecialPage\LoginSignupSpecialPage\load(), MediaWiki\SiteStats\SiteStats\loadAndLazyInit(), MediaWiki\HTMLForm\Field\HTMLUsersMultiselectField\loadDataFromRequest(), MediaWiki\User\User\loadFromCache(), MediaWiki\User\User\loadFromDatabase(), MediaWiki\User\User\loadFromRow(), MediaWiki\Session\SessionManager\logPotentialSessionLeakage(), MediaWiki\Api\ApiMain\logRequest(), MediaWiki\SpecialPage\LoginSignupSpecialPage\mainLoginForm(), MediaWiki\Linker\Linker\makeBrokenImageLinkObj(), MediaWiki\Content\ContentHandler\makeContent(), MediaWiki\Linker\Linker\makeExternalImage(), MediaWiki\Linker\Linker\makeExternalLink(), MediaWiki\WikiMap\WikiMap\makeForeignLink(), MediaWiki\Linker\Linker\makeImageLink(), MediaWiki\ExternalLinks\LinkFilter\makeIndexes(), MediaWiki\SpecialPage\LoginSignupSpecialPage\makeLanguageSelectorLink(), MediaWiki\ExternalLinks\LinkFilter\makeLikeArray(), MediaWiki\Linker\Linker\makeMediaLinkFile(), MediaWiki\Linker\Linker\makeMediaLinkObj(), MediaWiki\Linker\Linker\makeSelfLinkObj(), MediaWiki\Linker\Linker\makeThumbLink2(), MediaWiki\Api\ApiMain\modifyHelp(), MediaWiki\Html\Html\namespaceSelectorOptions(), MediaWiki\Site\Site\newForType(), MediaWiki\User\User\newFromActorId(), MediaWiki\User\User\newFromAnyId(), MediaWiki\User\User\newFromConfirmationCode(), MediaWiki\Block\DatabaseBlock\newFromID(), MediaWiki\User\User\newFromId(), MediaWiki\Session\UserInfo\newFromId(), MediaWiki\User\User\newFromIdentity(), MediaWiki\User\UserArray\newFromIDs(), MediaWiki\User\User\newFromName(), MediaWiki\Session\UserInfo\newFromName(), MediaWiki\User\UserArray\newFromNames(), MediaWiki\User\UserArray\newFromResult(), MediaWiki\Block\DatabaseBlock\newFromRow(), MediaWiki\User\ActorMigration\newMigration(), MediaWiki\User\ActorMigration\newMigrationForImport(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequest\newRandom(), MediaWiki\SpecialPage\SpecialPage\newSearchPage(), MediaWiki\User\User\newSystemUser(), MediaWiki\CommentStore\CommentStoreComment\newUnsavedComment(), MediaWiki\Request\WebRequest\normalizeUnicode(), MediaWiki\SiteStats\SiteStats\numberingroup(), MediaWiki\Utils\MWTimestamp\offsetForUser(), MediaWiki\Feed\AtomFeed\outItem(), MediaWiki\Parser\CoreParserFunctions\pagesincategory(), MediaWiki\SiteStats\SiteStats\pagesInNs(), MediaWiki\Installer\Installer\parse(), MediaWiki\Api\ApiQueryBase\parsePrefixedTitlePart(), MediaWiki\Installer\DatabaseUpdater\patchPath(), MediaWiki\Maintenance\ForkController\prepareEnvironment(), MediaWiki\ExternalLinks\LinkFilter\prepareProtocols(), MediaWiki\Linker\Linker\processResponsiveImages(), MediaWiki\Parser\CoreParserFunctions\protectionexpiry(), MediaWiki\Parser\CoreParserFunctions\protectionlevel(), MediaWiki\User\User\purge(), MediaWiki\Deferred\CdnCacheUpdate\purge(), MediaWiki\Installer\DatabaseUpdater\purgeCache(), MediaWiki\Deferred\LinksUpdate\LinksUpdate\queueRecursiveJobs(), MediaWiki\Deferred\LinksUpdate\LinksUpdate\queueRecursiveJobsForTable(), MediaWiki\ResourceLoader\MessageBlobStore\recacheMessageBlob(), MediaWiki\SiteStats\SiteStatsInit\refresh(), MediaWiki\SpecialPage\ChangesListSpecialPage\registerFilters(), MediaWiki\Search\SearchWidgets\BasicSearchResultSetWidget\render(), MediaWiki\PoolCounter\PoolWorkArticleView\renderRevision(), MediaWiki\Parser\LinkHolderArray\replaceInternal(), MediaWiki\Content\WikitextContent\replaceSection(), MediaWiki\Api\ApiImportReporter\reportPage(), MediaWiki\ExternalLinks\LinkFilter\reverseIndexes(), MediaWiki\Watchlist\ClearUserWatchlistJob\run(), MediaWiki\Watchlist\ClearWatchlistNotificationsJob\run(), MediaWiki\Watchlist\WatchlistExpiryJob\run(), MediaWiki\Request\WebResponse\setCookie(), MediaWiki\Request\FauxRequest\setCookies(), MediaWiki\Installer\DatabaseUpdater\setFileAccess(), MediaWiki\Site\Site\setLanguageCode(), MediaWiki\Api\ApiMain\setRequestExpectations(), MediaWiki\Installer\WebInstaller\setupLanguage(), MediaWiki\Cache\UserCache\singleton(), MediaWiki\Installer\MysqlSettingsForm\submit(), MediaWiki\Installer\WebInstallerName\submit(), MediaWiki\Api\ApiMain\substituteResultWithError(), MediaWiki\Parser\MWTidy\tidy(), MediaWiki\Block\DatabaseBlock\update(), MediaWiki\Search\SearchUpdate\updateText(), MediaWiki\Block\DatabaseBlock\updateTimestamp(), MediaWiki\Watchlist\ActivityUpdateJob\updateWatchlistNotification(), MediaWiki\SpecialPage\SpecialPage\userCanExecute(), MediaWiki\Linker\Linker\userLink(), MediaWiki\HTMLForm\Field\HTMLNamespacesMultiselectField\validate(), MediaWiki\HTMLForm\Field\HTMLRestrictionsField\validate(), MediaWiki\HTMLForm\Field\HTMLTitleTextField\validate(), MediaWiki\HTMLForm\Field\HTMLUserTextField\validate(), MediaWiki\User\User\whoIs(), and MediaWiki\User\User\whoIsReal().
MediaWiki\MediaWikiServices::getInterwikiLookup | ( | ) |
Definition at line 1235 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getIntroMessageBuilder | ( | ) |
Definition at line 1242 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getJobFactory | ( | ) |
Definition at line 1249 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getJobQueueGroup | ( | ) |
Definition at line 1256 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getJobQueueGroupFactory | ( | ) |
Definition at line 1263 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getJobRunner | ( | ) |
Definition at line 1270 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getJsonCodec | ( | ) |
Definition at line 1277 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLanguageConverterFactory | ( | ) |
Definition at line 1284 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLanguageFactory | ( | ) |
Definition at line 1291 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLanguageFallback | ( | ) |
Definition at line 1298 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLanguageNameUtils | ( | ) |
Definition at line 1305 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLinkBatchFactory | ( | ) |
Definition at line 1312 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLinkCache | ( | ) |
Definition at line 1319 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLinkRenderer | ( | ) |
LinkRenderer instance that can be used if no custom options are needed.
Definition at line 1329 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLinkRendererFactory | ( | ) |
Definition at line 1336 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLinksMigration | ( | ) |
Definition at line 1343 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLinkTargetLookup | ( | ) |
Definition at line 1350 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLintErrorChecker | ( | ) |
Definition at line 1357 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLocalisationCache | ( | ) |
Definition at line 1364 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLocalServerObjectCache | ( | ) |
Returns the main server-local cache, yielding EmptyBagOStuff if there is none.
In web request mode, the cache should at least be shared among web workers. In CLI mode, the cache should at least be shared among processes run by the same user.
Definition at line 1376 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLockManagerGroupFactory | ( | ) |
Definition at line 1383 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getLogFormatterFactory | ( | ) |
Definition at line 1390 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getMagicWordFactory | ( | ) |
Definition at line 1397 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getMainConfig | ( | ) |
Returns the Config object that provides configuration for MediaWiki core.
This may or may not be the same object that is returned by getBootstrapConfig().
Definition at line 1407 of file MediaWikiServices.php.
Referenced by MediaWiki\EditPage\EditPage\getCopyrightWarning().
MediaWiki\MediaWikiServices::getMainObjectStash | ( | ) |
Returns the main object stash, yielding EmptyBagOStuff if there is none.
The stash should be shared among all datacenters
Definition at line 1418 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getMainWANObjectCache | ( | ) |
Returns the main WAN cache, yielding EmptyBagOStuff if there is none.
The cache should relay any purge operations to all datacenters
Definition at line 1429 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getMediaHandlerFactory | ( | ) |
Definition at line 1436 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getMergeHistoryFactory | ( | ) |
Definition at line 1443 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getMessageCache | ( | ) |
Definition at line 1450 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getMessageFormatterFactory | ( | ) |
Definition at line 1457 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getMicroStash | ( | ) |
Definition at line 1466 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getMimeAnalyzer | ( | ) |
Definition at line 1473 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getMovePageFactory | ( | ) |
Definition at line 1480 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getNamespaceInfo | ( | ) |
Definition at line 1487 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getNameTableStoreFactory | ( | ) |
Definition at line 1494 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getObjectCacheFactory | ( | ) |
MediaWiki\MediaWikiServices::getObjectFactory | ( | ) |
ObjectFactory is intended for instantiating "handlers" from declarative definitions, such as Action API modules, special pages, or REST API handlers.
Definition at line 1512 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getOldRevisionImporter | ( | ) |
Definition at line 1519 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPageEditStash | ( | ) |
Definition at line 1526 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPageProps | ( | ) |
Definition at line 1533 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPageRestHelperFactory | ( | ) |
Definition at line 1540 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPageStore | ( | ) |
Definition at line 1547 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPageStoreFactory | ( | ) |
Definition at line 1554 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPageUpdaterFactory | ( | ) |
Definition at line 1561 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getParser | ( | ) |
Get the main Parser instance.
This is unsafe when the caller is not in a top-level context, because re-entering the parser will throw an exception.
ParserFactory::create
.Definition at line 1578 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getParserCache | ( | ) |
Definition at line 1585 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getParserCacheFactory | ( | ) |
Definition at line 1592 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getParserFactory | ( | ) |
Definition at line 1599 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getParserOutputAccess | ( | ) |
Definition at line 1606 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getParsoidDataAccess | ( | ) |
MediaWiki\MediaWikiServices::getParsoidOutputStash | ( | ) |
Definition at line 1622 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getParsoidPageConfigFactory | ( | ) |
MediaWiki\MediaWikiServices::getParsoidParserFactory | ( | ) |
MediaWiki\MediaWikiServices::getParsoidSiteConfig | ( | ) |
MediaWiki\MediaWikiServices::getPasswordFactory | ( | ) |
Definition at line 1653 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPasswordReset | ( | ) |
Definition at line 1660 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPerDbNameStatsdDataFactory | ( | ) |
Definition at line 1667 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPermissionManager | ( | ) |
Definition at line 1674 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPingback | ( | ) |
MediaWiki\MediaWikiServices::getPoolCounterFactory | ( | ) |
Definition at line 1689 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPreferencesFactory | ( | ) |
Definition at line 1696 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getPreloadedContentBuilder | ( | ) |
Definition at line 1703 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getProxyLookup | ( | ) |
Definition at line 1710 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRateLimiter | ( | ) |
Definition at line 1717 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getReadOnlyMode | ( | ) |
Definition at line 1724 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRedirectLookup | ( | ) |
Definition at line 1731 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRedirectStore | ( | ) |
Definition at line 1738 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRepoGroup | ( | ) |
Definition at line 1745 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getResourceLoader | ( | ) |
Definition at line 1752 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRestrictionStore | ( | ) |
Definition at line 1759 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRevertedTagUpdateManager | ( | ) |
Definition at line 1766 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRevisionFactory | ( | ) |
Definition at line 1773 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRevisionLookup | ( | ) |
Definition at line 1780 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRevisionRenderer | ( | ) |
Definition at line 1787 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRevisionStore | ( | ) |
Definition at line 1794 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRevisionStoreFactory | ( | ) |
Definition at line 1801 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRollbackPageFactory | ( | ) |
Definition at line 1808 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getRowCommentFormatter | ( | ) |
Definition at line 1815 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getSearchEngineConfig | ( | ) |
Definition at line 1830 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getSearchEngineFactory | ( | ) |
Definition at line 1837 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getSearchResultThumbnailProvider | ( | ) |
Definition at line 1844 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getService | ( | $name | ) |
Definition at line 351 of file MediaWikiServices.php.
References wfDeprecatedMsg().
MediaWiki\MediaWikiServices::getShellboxClientFactory | ( | ) |
Definition at line 1851 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getShellCommandFactory | ( | ) |
Definition at line 1858 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getSignatureValidatorFactory | ( | ) |
Definition at line 1865 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getSiteLookup | ( | ) |
Definition at line 1872 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getSiteStore | ( | ) |
Definition at line 1879 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getSkinFactory | ( | ) |
Definition at line 1886 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getSlotRoleRegistry | ( | ) |
Definition at line 1893 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getSlotRoleStore | ( | ) |
Definition at line 1900 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getSpamChecker | ( | ) |
Definition at line 1907 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getSpecialPageFactory | ( | ) |
Definition at line 1914 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getStatsdDataFactory | ( | ) |
Definition at line 1921 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getStatsFactory | ( | ) |
Definition at line 1928 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getTalkPageNotificationManager | ( | ) |
Definition at line 1935 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getTempFSFileFactory | ( | ) |
Definition at line 1942 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getTempUserConfig | ( | ) |
Definition at line 1949 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getTempUserCreator | ( | ) |
Definition at line 1956 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getTidy | ( | ) |
Definition at line 1963 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getTitleFactory | ( | ) |
Definition at line 1970 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getTitleFormatter | ( | ) |
Definition at line 1977 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getTitleMatcher | ( | ) |
Definition at line 1984 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getTitleParser | ( | ) |
Definition at line 1991 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getTracer | ( | ) |
Definition at line 1995 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getTrackingCategories | ( | ) |
Definition at line 2002 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUnblockUserFactory | ( | ) |
Definition at line 2009 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUndeletePageFactory | ( | ) |
Definition at line 2016 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUploadRevisionImporter | ( | ) |
Definition at line 2023 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUrlUtils | ( | ) |
Definition at line 2030 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserCache | ( | ) |
Definition at line 2038 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserEditTracker | ( | ) |
Definition at line 2045 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserFactory | ( | ) |
Definition at line 2052 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserGroupManager | ( | ) |
Definition at line 2059 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserGroupManagerFactory | ( | ) |
Definition at line 2066 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserIdentityLookup | ( | ) |
Definition at line 2073 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserIdentityUtils | ( | ) |
Definition at line 2080 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserNamePrefixSearch | ( | ) |
Definition at line 2087 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserNameUtils | ( | ) |
Definition at line 2094 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserOptionsLookup | ( | ) |
Definition at line 2101 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserOptionsManager | ( | ) |
Definition at line 2108 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getUserRegistrationLookup | ( | ) |
Definition at line 2115 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getWatchedItemQueryService | ( | ) |
Definition at line 2122 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getWatchedItemStore | ( | ) |
Definition at line 2129 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getWatchlistManager | ( | ) |
Definition at line 2136 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getWikiExporterFactory | ( | ) |
Definition at line 2143 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getWikiImporterFactory | ( | ) |
Definition at line 2150 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getWikiPageFactory | ( | ) |
Definition at line 2157 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getWikiRevisionOldRevisionImporter | ( | ) |
Definition at line 2164 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getWikiRevisionOldRevisionImporterNoUpdates | ( | ) |
Definition at line 2171 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getWikiRevisionUploadImporter | ( | ) |
Definition at line 2178 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::getWRStatsFactory | ( | ) |
Definition at line 2185 of file MediaWikiServices.php.
|
static |
Returns true if an instance has already been initialized.
This can be used to avoid accessing services if it's not safe, such as in unit tests or early setup.
Definition at line 307 of file MediaWikiServices.php.
Referenced by MediaWiki\Html\TemplateParser\getTemplate().
MediaWiki\MediaWikiServices::isStorageDisabled | ( | ) |
Returns true if disableStorage() has been called on this MediaWikiServices instance.
Definition at line 589 of file MediaWikiServices.php.
MediaWiki\MediaWikiServices::newSearchEngine | ( | ) |
Definition at line 1822 of file MediaWikiServices.php.
|
static |
Resets any services that may have become stale after a child processö returns from after pcntl_fork().
It's also safe, but generally unnecessary, to call this method from the parent process.
Definition at line 605 of file MediaWikiServices.php.
Referenced by MediaWiki\Maintenance\ForkController\prepareEnvironment().
|
static |
Creates a new instance of MediaWikiServices and sets it as the global default instance.
getInstance() will return a different MediaWikiServices object after every call to resetGlobalInstance().
Config | null | $bootstrapConfig | The Config object to be registered as the 'BootstrapConfig' service. This has to contain at least the information needed to set up the 'ConfigFactory' service. If not given, the bootstrap config of the old instance of MediaWikiServices will be re-used. If there was no previous instance, a new GlobalVarConfig object will be used to bootstrap the services. |
string | $mode | May be one of:
|
Definition at line 420 of file MediaWikiServices.php.
References $runner.
Referenced by MediaWiki\Installer\Installer\disableStorage().
MediaWiki\MediaWikiServices::resetServiceForTesting | ( | $name, | |
$destroy = true ) |
Resets the given service for testing purposes.
string | $name | |
bool | $destroy | Whether the service instance should be destroyed if it exists. When set to false, any existing service instance will effectively be detached from the container. |
Definition at line 634 of file MediaWikiServices.php.