MediaWiki
master
thumb.php
Go to the documentation of this file.
1
<?php
27
use
MediaWiki\Context\RequestContext
;
28
use
MediaWiki\EntryPointEnvironment
;
29
use
MediaWiki\FileRepo\ThumbnailEntryPoint
;
30
use
MediaWiki\MediaWikiServices
;
31
32
define(
'MW_NO_OUTPUT_COMPRESSION'
, 1 );
33
define(
'MW_ENTRY_POINT'
,
'thumb'
);
34
35
require __DIR__ .
'/includes/WebStart.php'
;
36
37
(
new
ThumbnailEntryPoint
(
38
RequestContext::getMain(),
39
new
EntryPointEnvironment
(),
40
MediaWikiServices::getInstance()
41
) )->
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\ThumbnailEntryPoint
Definition
ThumbnailEntryPoint.php:55
MediaWiki\MediaWikiServices
Service locator for MediaWiki core services.
Definition
MediaWikiServices.php:242
thumb.php
Generated on Thu Dec 5 2024 09:26:10 for MediaWiki by
1.10.0