Manual:MediaWikiServices.php

Available since MediaWiki 1.27, MediaWikiServices.php offers an important central class for Service Location and Dependency Injection (DI). Many of MediaWiki's core services are called from here.

Examples of public methods:


 * getInstance - get a reference to a service container
 * getService
 * getAuthManager - see also
 * getBlobStore - see also
 * getCentralIdLookup- see also
 * getCollationFactory
 * getConfigSchema
 * getContentHandlerFactory - see also
 * getContentHandler - see also
 * getContentLanguage
 * getNamespaceInfo - see also
 * getParser - see also
 * getParserFactory - seel also
 * getRepoGroup - see also
 * getWikiPageFactory - see also