MediaWiki
master
thumb_handler.php
Go to the documentation of this file.
1
<?php
33
use
MediaWiki\Context\RequestContext
;
34
use
MediaWiki\EntryPointEnvironment
;
35
use
MediaWiki\FileRepo\Thumbnail404EntryPoint
;
36
use
MediaWiki\MediaWikiServices
;
37
38
define(
'MW_NO_OUTPUT_COMPRESSION'
, 1 );
39
define(
'MW_ENTRY_POINT'
,
'thumb_handler'
);
40
41
require __DIR__ .
'/includes/WebStart.php'
;
42
43
(
new
Thumbnail404EntryPoint
(
44
RequestContext::getMain(),
45
new
EntryPointEnvironment
(),
46
MediaWikiServices::getInstance()
47
) )->
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\Thumbnail404EntryPoint
Definition
Thumbnail404EntryPoint.php:33
MediaWiki\MediaWikiServices
Service locator for MediaWiki core services.
Definition
MediaWikiServices.php:242
thumb_handler.php
Generated on Sat Dec 14 2024 01:28:07 for MediaWiki by
1.10.0