MediaWiki master
load.php
Go to the documentation of this file.
1<?php
15
16// This endpoint is supposed to be independent of request cookies and other
17// details of the session. Enforce this constraint with respect to session use.
18define( 'MW_NO_SESSION', 1 );
19
20define( 'MW_ENTRY_POINT', 'load' );
21
22require __DIR__ . '/includes/WebStart.php';
23
25 RequestContext::getMain(),
27 MediaWikiServices::getInstance()
28) )->run();
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.
Entry point implementation for ResourceLoader, which serves static CSS/JavaScript via MediaWiki\Resou...