From: Kunal Mehta Date: Mon, 15 Dec 2014 18:32:38 +0000 (-0800) Subject: MessageCache: Improve GlobalTitleFail log message X-Git-Tag: 1.31.0-rc.0~12956 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=25c5bd41b97706b0dfdc3ffa1f0878b1bb7f4d92;p=lhc%2Fweb%2Fwiklou.git MessageCache: Improve GlobalTitleFail log message Same as 18d952dbcb6c7 Change-Id: Iabb1eb7481026cfdf0610b0125d5b577febcc0f4 --- diff --git a/includes/cache/MessageCache.php b/includes/cache/MessageCache.php index 532236e589..2f6a1b1668 100644 --- a/includes/cache/MessageCache.php +++ b/includes/cache/MessageCache.php @@ -1059,7 +1059,7 @@ class MessageCache { wfProfileIn( __METHOD__ ); if ( !$title || !$title instanceof Title ) { global $wgTitle; - wfDebugLog( 'GlobalTitleFail', __METHOD__ . ' called by ' . wfGetAllCallers() . ' with no title set.' ); + wfDebugLog( 'GlobalTitleFail', __METHOD__ . ' called by ' . wfGetAllCallers( 5 ) . ' with no title set.' ); $title = $wgTitle; } // Sometimes $wgTitle isn't set either...