MediaWiki
master
img_auth.php
Go to the documentation of this file.
1
<?php
44
use
MediaWiki\Context\RequestContext
;
45
use
MediaWiki\EntryPointEnvironment
;
46
use
MediaWiki\FileRepo\AuthenticatedFileEntryPoint
;
47
use
MediaWiki\MediaWikiServices
;
48
49
define(
'MW_NO_OUTPUT_COMPRESSION'
, 1 );
50
define(
'MW_ENTRY_POINT'
,
'img_auth'
);
51
require __DIR__ .
'/includes/WebStart.php'
;
52
53
(
new
AuthenticatedFileEntryPoint
(
54
RequestContext::getMain(),
55
new
EntryPointEnvironment
(),
56
MediaWikiServices::getInstance()
57
) )->
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\FileRepo\AuthenticatedFileEntryPoint
Definition
AuthenticatedFileEntryPoint.php:38
MediaWiki\MediaWikiServices
Service locator for MediaWiki core services.
Definition
MediaWikiServices.php:242
img_auth.php
Generated on Mon Dec 30 2024 14:22:40 for MediaWiki by
1.10.0