MediaWiki
master
load.php
Go to the documentation of this file.
1
<?php
25
use
MediaWiki\Context\RequestContext
;
26
use
MediaWiki\EntryPointEnvironment
;
27
use
MediaWiki\MediaWikiServices
;
28
use
MediaWiki\ResourceLoader\ResourceLoaderEntryPoint
;
29
30
// This endpoint is supposed to be independent of request cookies and other
31
// details of the session. Enforce this constraint with respect to session use.
32
define(
'MW_NO_SESSION'
, 1 );
33
34
define(
'MW_ENTRY_POINT'
,
'load'
);
35
36
require __DIR__ .
'/includes/WebStart.php'
;
37
38
(
new
ResourceLoaderEntryPoint
(
39
RequestContext::getMain(),
40
new
EntryPointEnvironment
(),
41
MediaWikiServices::getInstance()
42
) )->
run
();
run
run()
Run the job.
Definition
UploadJobTrait.php:73
MediaWiki\Context\RequestContext
Group all the pieces relevant to the context of a request into one instance.
Definition
RequestContext.php:68
MediaWiki\EntryPointEnvironment
Utility class wrapping PHP runtime state.
Definition
EntryPointEnvironment.php:29
MediaWiki\MediaWikiServices
Service locator for MediaWiki core services.
Definition
MediaWikiServices.php:242
MediaWiki\ResourceLoader\ResourceLoaderEntryPoint
Entry point implementation for ResourceLoader, which serves static CSS/JavaScript via MediaWiki\Resou...
Definition
ResourceLoaderEntryPoint.php:34
load.php
Generated on Thu Nov 21 2024 10:27:11 for MediaWiki by
1.10.0