jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I72c5c3fb75c9ceff02390c91b3735f2da90845de
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits