From 798795e82558049cb1ecf83f56ae618ee8f75892 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Tue, 5 May 2009 13:22:50 +0000 Subject: [PATCH] Followup to r50132: rename API define constant to MW_API, per comment on CR --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 2f1d1a3112..e031dfac7e 100644 --- a/api.php +++ b/api.php @@ -70,7 +70,7 @@ if (!$wgEnableAPI) { } // So extensions can check whether they're running in API mode -define('API', true); +define('MW_API', true); // Set a dummy $wgTitle, because $wgTitle == null breaks various things // In a perfect world this wouldn't be necessary -- 2.20.1