19// So extensions (and other code) can check whether they're running in API mode 20define(
'MW_API',
true );
21define(
'MW_ENTRY_POINT',
'api' );
23require __DIR__ .
'/includes/WebStart.php';
25// Construct entry point object and call doRun() to handle the request. 27 RequestContext::getMain(),
29 MediaWikiServices::getInstance()
Implementation of the API entry point, for web browser navigations, usually via an Action or SpecialP...
Group all the pieces relevant to the context of a request into one instance.
Utility class wrapping PHP runtime state.
Service locator for MediaWiki core services.