From 536f98c7600397143c5f233a34c429111b97ec00 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Fri, 3 Apr 2015 01:33:38 -0700 Subject: Kill Dwimmerlaik Seriously, the ops team spent some time trying to find that page during an outage, while in fact it's an obscure Tolkien reference - better be clear. Also, set the other dummy titles to something very clearly explaining what's going on and where. Change-Id: I6f33a2ea5030f22a258830a33f7bcefa7f0acd85 --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api.php') diff --git a/api.php b/api.php index 7788a36c2f95..dbd377dea171 100644 --- a/api.php +++ b/api.php @@ -59,7 +59,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. -- cgit v1.2.3