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:72
MediaWiki\Context\RequestContext
Group all the pieces relevant to the context of a request into one instance.
Definition
RequestContext.php:67
MediaWiki\EntryPointEnvironment
Utility class wrapping PHP runtime state.
Definition
EntryPointEnvironment.php:29
MediaWiki\FileRepo\AuthenticatedFileEntryPoint
Definition
AuthenticatedFileEntryPoint.php:36
MediaWiki\MediaWikiServices
Service locator for MediaWiki core services.
Definition
MediaWikiServices.php:240
img_auth.php
Generated on Mon Sep 9 2024 01:22:25 for MediaWiki by
1.10.0