Movatterモバイル変換


[0]ホーム

URL:


MediaWiki master
load.php
Go to the documentation of this file.
1<?php
11useMediaWiki\Context\RequestContext;
12useMediaWiki\EntryPointEnvironment;
13useMediaWiki\MediaWikiServices;
14useMediaWiki\ResourceLoader\ResourceLoaderEntryPoint;
15
16// This endpoint is supposed to be independent of request cookies and other
17// details of the session. Enforce this constraint with respect to session use.
18define('MW_NO_SESSION', 1 );
19
20define('MW_ENTRY_POINT','load' );
21
22require __DIR__ .'/includes/WebStart.php';
23
24(newResourceLoaderEntryPoint(
25 RequestContext::getMain(),
26newEntryPointEnvironment(),
27 MediaWikiServices::getInstance()
28) )->run();
MediaWiki\Context\RequestContext
Group all the pieces relevant to the context of a request into one instance.
DefinitionRequestContext.php:53
MediaWiki\EntryPointEnvironment
Utility class wrapping PHP runtime state.
DefinitionEntryPointEnvironment.php:15
MediaWiki\MediaWikiServices
Service locator for MediaWiki core services.
DefinitionMediaWikiServices.php:256
MediaWiki\ResourceLoader\ResourceLoaderEntryPoint
Entry point implementation for ResourceLoader, which serves static CSS/JavaScript via MediaWiki\Resou...
DefinitionResourceLoaderEntryPoint.php:20

[8]ページ先頭

©2009-2025 Movatter.jp