API: Make usage of the parser cache in action=parse actually work; was broken since...
[lhc/web/wiklou.git] / api.php
diff --git a/api.php b/api.php
index 2f1d1a3..e031dfa 100644 (file)
--- 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