MediaWiki
1.34.0
|
Public Member Functions | |
__construct (RequestContext $context, RequestInterface $request, WebResponse $webResponse, Router $router) | |
execute () | |
Static Public Member Functions | |
static | getTextFormatters (MediaWikiServices $services) |
Get a TextFormatter array from MediaWikiServices. More... | |
static | main () |
Private Attributes | |
RequestContext | $context |
RequestInterface | $request |
Router | $router |
WebResponse | $webResponse |
Definition at line 15 of file EntryPoint.php.
MediaWiki\Rest\EntryPoint::__construct | ( | RequestContext | $context, |
RequestInterface | $request, | ||
WebResponse | $webResponse, | ||
Router | $router | ||
) |
Definition at line 105 of file EntryPoint.php.
References MediaWiki\Rest\EntryPoint\$context, MediaWiki\Rest\EntryPoint\$request, MediaWiki\Rest\EntryPoint\$router, and MediaWiki\Rest\EntryPoint\$webResponse.
MediaWiki\Rest\EntryPoint::execute | ( | ) |
Definition at line 114 of file EntryPoint.php.
References $line, $response, and MediaWiki\preOutputCommit().
|
static |
Get a TextFormatter array from MediaWikiServices.
MediaWikiServices | $services |
Definition at line 92 of file EntryPoint.php.
References $lang, MediaWiki\MediaWikiServices\getMainConfig(), and MediaWiki\MediaWikiServices\getMessageFormatterFactory().
|
static |
Definition at line 25 of file EntryPoint.php.
References MediaWiki\Rest\EntryPoint\$context, $IP, MediaWiki\Rest\EntryPoint\$request, MediaWiki\Rest\EntryPoint\$router, $wgRequest, $wgTitle, MediaWiki\Rest\Router\execute(), ExtensionRegistry\getInstance(), MediaWiki\MediaWikiServices\getInstance(), RequestContext\getMain(), RequestContext\getUser(), Title\makeTitle(), NS_SPECIAL, RequestContext\setTitle(), and wfHttpError().
|
private |
Definition at line 23 of file EntryPoint.php.
Referenced by MediaWiki\Rest\EntryPoint\__construct(), and MediaWiki\Rest\EntryPoint\main().
|
private |
Definition at line 17 of file EntryPoint.php.
Referenced by MediaWiki\Rest\EntryPoint\__construct(), and MediaWiki\Rest\EntryPoint\main().
|
private |
Definition at line 21 of file EntryPoint.php.
Referenced by MediaWiki\Rest\EntryPoint\__construct(), and MediaWiki\Rest\EntryPoint\main().
|
private |
Definition at line 19 of file EntryPoint.php.
Referenced by MediaWiki\Rest\EntryPoint\__construct().