aboutsummaryrefslogtreecommitdiffstats
path: root/rest.php
diff options
context:
space:
mode:
Diffstat (limited to 'rest.php')
-rw-r--r--rest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/rest.php b/rest.php
index 3ac532e43db9..f647f91fe0e4 100644
--- a/rest.php
+++ b/rest.php
@@ -23,6 +23,9 @@
use MediaWiki\Rest\EntryPoint;
+define( 'MW_REST_API', true );
+define( 'MW_ENTRY_POINT', 'rest' );
+
require __DIR__ . '/includes/WebStart.php';
EntryPoint::main();