Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/162149

Change subject: Begin logging RequestContexts relying on global title
......................................................................

Begin logging RequestContexts relying on global title

Change-Id: I72c5c3fb75c9ceff02390c91b3735f2da90845de
---
M includes/context/RequestContext.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/49/162149/1

diff --git a/includes/context/RequestContext.php 
b/includes/context/RequestContext.php
index ede10fe..db57371 100644
--- a/includes/context/RequestContext.php
+++ b/includes/context/RequestContext.php
@@ -140,6 +140,7 @@
                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;

-- 
To view, visit https://gerrit.wikimedia.org/r/162149
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I72c5c3fb75c9ceff02390c91b3735f2da90845de
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to