MediaWiki
master
|
Public Member Functions | |
__construct (RequestContext $context, RequestInterface $request, WebResponse $webResponse, Router $router, CorsUtils $cors) | |
execute () | |
Static Public Member Functions | |
static | getMainRequest () |
static | getTextFormatters (MediaWikiServices $services) |
Get a TextFormatter array from MediaWikiServices. More... | |
static | main () |
Static Private Member Functions | |
static | createRouter (IContextSource $context, RequestInterface $request, ResponseFactory $responseFactory, CorsUtils $cors) |
Private Attributes | |
RequestContext | $context |
CorsUtils | $cors |
RequestInterface | $request |
Router | $router |
WebResponse | $webResponse |
Static Private Attributes | |
static RequestInterface | $mainRequest |
Definition at line 18 of file EntryPoint.php.
MediaWiki\Rest\EntryPoint::__construct | ( | RequestContext | $context, |
RequestInterface | $request, | ||
WebResponse | $webResponse, | ||
Router | $router, | ||
CorsUtils | $cors | ||
) |
Definition at line 151 of file EntryPoint.php.
References MediaWiki\Rest\EntryPoint\$context, MediaWiki\Rest\EntryPoint\$cors, MediaWiki\Rest\EntryPoint\$request, MediaWiki\Rest\EntryPoint\$router, and MediaWiki\Rest\EntryPoint\$webResponse.
|
staticprivate |
IContextSource | $context | |
RequestInterface | $request | |
ResponseFactory | $responseFactory | |
CorsUtils | $cors |
Definition at line 39 of file EntryPoint.php.
References MediaWiki\Rest\EntryPoint\$context, MediaWiki\Rest\EntryPoint\$cors, $IP, MediaWiki\Rest\EntryPoint\$request, RequestContext\getAuthority(), MediaWiki\MediaWikiServices\getInstance(), and ExtensionRegistry\getInstance().
Referenced by MediaWiki\Rest\EntryPoint\main().
MediaWiki\Rest\EntryPoint::execute | ( | ) |
Definition at line 161 of file EntryPoint.php.
References $line, and MediaWiki\preOutputCommit().
|
static |
Definition at line 85 of file EntryPoint.php.
References MediaWiki\Rest\EntryPoint\$mainRequest, and MediaWiki\MediaWikiServices\getInstance().
Referenced by MWLBFactory\initServerInfo(), and MediaWiki\Rest\EntryPoint\main().
|
static |
Get a TextFormatter array from MediaWikiServices.
MediaWikiServices | $services |
Definition at line 139 of file EntryPoint.php.
References $lang, MediaWiki\MediaWikiServices\getContentLanguage(), and MediaWiki\MediaWikiServices\getMessageFormatterFactory().
|
static |
Definition at line 95 of file EntryPoint.php.
References MediaWiki\Rest\EntryPoint\$context, MediaWiki\Rest\EntryPoint\$cors, MediaWiki\Rest\EntryPoint\$request, MediaWiki\Rest\EntryPoint\$router, $wgRequest, $wgTitle, MediaWiki\Rest\EntryPoint\createRouter(), MediaWiki\MediaWikiServices\getInstance(), RequestContext\getMain(), MediaWiki\Rest\EntryPoint\getMainRequest(), RequestContext\getUser(), Title\makeTitle(), NS_SPECIAL, and RequestContext\setTitle().
|
private |
Definition at line 26 of file EntryPoint.php.
Referenced by MediaWiki\Rest\EntryPoint\__construct(), MediaWiki\Rest\EntryPoint\createRouter(), and MediaWiki\Rest\EntryPoint\main().
|
private |
Definition at line 28 of file EntryPoint.php.
Referenced by MediaWiki\Rest\EntryPoint\__construct(), MediaWiki\Rest\EntryPoint\createRouter(), and MediaWiki\Rest\EntryPoint\main().
|
staticprivate |
Definition at line 30 of file EntryPoint.php.
Referenced by MediaWiki\Rest\EntryPoint\getMainRequest().
|
private |
Definition at line 20 of file EntryPoint.php.
Referenced by MediaWiki\Rest\EntryPoint\__construct(), MediaWiki\Rest\EntryPoint\createRouter(), and MediaWiki\Rest\EntryPoint\main().
|
private |
Definition at line 24 of file EntryPoint.php.
Referenced by MediaWiki\Rest\EntryPoint\__construct(), and MediaWiki\Rest\EntryPoint\main().
|
private |
Definition at line 22 of file EntryPoint.php.
Referenced by MediaWiki\Rest\EntryPoint\__construct().