aboutsummaryrefslogtreecommitdiffstats
path: root/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'api.php')
-rw-r--r--api.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/api.php b/api.php
index 0fb674b9ebe9..f9f6175cb72e 100644
--- a/api.php
+++ b/api.php
@@ -31,6 +31,7 @@ use MediaWiki\Logger\LegacyLogger;
// So extensions (and other code) can check whether they're running in API mode
define( 'MW_API', true );
+define( 'MW_ENTRY_POINT', 'api' );
require __DIR__ . '/includes/WebStart.php';