Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7456654
rest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
508 B
Referenced Files
None
Subscribers
None
rest.php
View Options
<?php
/**
* This is the entry point for the REST API.
*
* @license GPL-2.0-or-later
* @file
*/
use
MediaWiki\Context\RequestContext
;
use
MediaWiki\EntryPointEnvironment
;
use
MediaWiki\MediaWikiServices
;
use
MediaWiki\Rest\EntryPoint
;
define
(
'MW_REST_API'
,
true
);
define
(
'MW_ENTRY_POINT'
,
'rest'
);
require
__DIR__
.
'/includes/WebStart.php'
;
(
new
EntryPoint
(
EntryPoint
::
getMainRequest
(),
RequestContext
::
getMain
(),
new
EntryPointEnvironment
(),
MediaWikiServices
::
getInstance
()
)
)->
run
();
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 00:35 (2 d, 13 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7a/e6/7221c7316e25c01c4690d3c0d5c5
Default Alt Text
rest.php (508 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment