r114182 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114181‎ | r114182 | r114183 >
Date:20:52, 19 March 2012
Author:ialex
Status:ok
Tags:
Comment:
Make the first line of debug log more consitent between CLI and web call by putting the method and the URL directly on the first line
Modified paths:
  • /trunk/phase3/includes/Setup.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Setup.php
@@ -421,7 +421,7 @@
422422 # Can't stub this one, it sets up $_GET and $_REQUEST in its constructor
423423 $wgRequest = new WebRequest;
424424
425 - $debug = "\n\nStart request\n{$_SERVER['REQUEST_METHOD']} {$wgRequest->getRequestURL()}\n";
 425+ $debug = "\n\nStart request {$_SERVER['REQUEST_METHOD']} {$wgRequest->getRequestURL()}\n";
426426
427427 if ( $wgDebugPrintHttpHeaders ) {
428428 $debug .= "HTTP HEADERS:\n";

Status & tagging log