X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=api.php;h=ea2f60aef2de0c455a58f40a3c872e9c23868102;hb=5edae663bc72d7070bd36863bcc014d2cc807f92;hp=92127474fc4f02936404ae437e5aa5961dbd859d;hpb=5efccbed2a8db2a2b210d6116bd608da01342030;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.