From: Roan Kattouw Date: Tue, 5 May 2009 13:22:50 +0000 (+0000) Subject: Followup to r50132: rename API define constant to MW_API, per comment on CR X-Git-Tag: 1.31.0-rc.0~41873 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=798795e82558049cb1ecf83f56ae618ee8f75892;p=lhc%2Fweb%2Fwiklou.git Followup to r50132: rename API define constant to MW_API, per comment on CR --- 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