MediaWiki
master
rest.php
Go to the documentation of this file.
1
<?php
2
24
use
MediaWiki\EntryPointEnvironment
;
25
use
MediaWiki\MediaWikiServices
;
26
use
MediaWiki\Rest\EntryPoint
;
27
28
define(
'MW_REST_API'
,
true
);
29
define(
'MW_ENTRY_POINT'
,
'rest'
);
30
31
require __DIR__ .
'/includes/WebStart.php'
;
32
33
(
new
EntryPoint
(
34
EntryPoint::getMainRequest(),
35
RequestContext::getMain(),
36
new
EntryPointEnvironment
(),
37
MediaWikiServices::getInstance()
38
) )->
run
();
run
run()
Run the job.
Definition
UploadJobTrait.php:72
MediaWiki\EntryPointEnvironment
Utility class wrapping PHP runtime state.
Definition
EntryPointEnvironment.php:29
MediaWiki\MediaWikiServices
Service locator for MediaWiki core services.
Definition
MediaWikiServices.php:239
MediaWiki\Rest\EntryPoint
Definition
EntryPoint.php:25
rest.php
Generated on Mon May 6 2024 15:26:40 for MediaWiki by
1.10.0