X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=api.php;h=f9f6175cb72ebe6328be4707beb72c53fb754237;hp=0fb674b9ebe9706c746de36067fedc849f465cf5;hb=b7ce7aacb0fb6803d9135f465e9cf6b48912883e;hpb=7c9f1a122712362b5840aee0325e36b249cb79db diff --git a/api.php b/api.php index 0fb674b9eb..f9f6175cb7 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';