X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=api.php;h=ea2f60aef2de0c455a58f40a3c872e9c23868102;hb=a7f26eb3b7d2e83c81d58c4469479b49cf8bd6e9;hp=92127474fc4f02936404ae437e5aa5961dbd859d;hpb=fbcb3d5f980a9be0611424764d6f18e749e4c1c9;p=lhc%2Fweb%2Fwiklou.git diff --git a/api.php b/api.php index 92127474fc..ea2f60aef2 100644 --- a/api.php +++ b/api.php @@ -61,7 +61,7 @@ if ( !$wgEnableAPI ) { // Set a dummy $wgTitle, because $wgTitle == null breaks various things // In a perfect world this wouldn't be necessary -$wgTitle = Title::makeTitle( NS_MAIN, 'API' ); +$wgTitle = Title::makeTitle( NS_SPECIAL, 'Badtitle/dummy title for API calls set in api.php' ); // RequestContext will read from $wgTitle, but it will also whine about it. // In a perfect world this wouldn't be necessary either.