dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b8e292
)
Followup to r50132: rename API define constant to MW_API, per comment on CR
author
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 5 May 2009 13:22:50 +0000
(13:22 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 5 May 2009 13:22:50 +0000
(13:22 +0000)
api.php
patch
|
blob
|
history
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