From: Chad Horohoe Date: Mon, 22 Sep 2014 22:24:52 +0000 (-0700) Subject: Begin logging RequestContexts relying on global title X-Git-Tag: 1.31.0-rc.0~13883^2 X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=6fc2e60319c7316f124a843bbd5d06e3898ad401 Begin logging RequestContexts relying on global title Change-Id: I72c5c3fb75c9ceff02390c91b3735f2da90845de --- diff --git a/includes/context/RequestContext.php b/includes/context/RequestContext.php index ede10fe93c..db57371189 100644 --- a/includes/context/RequestContext.php +++ b/includes/context/RequestContext.php @@ -140,6 +140,7 @@ class RequestContext implements IContextSource { if ( $this->title === null ) { global $wgTitle; # fallback to $wg till we can improve this $this->title = $wgTitle; + wfDebugLog( 'GlobalTitleFail', __METHOD__ . ' called by ' . wfGetCaller() . 'with no title set.' ); } return $this->title;