dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
465ddbc
)
Begin logging RequestContexts relying on global title
author
Chad Horohoe
<chadh@wikimedia.org>
Mon, 22 Sep 2014 22:24:52 +0000
(15:24 -0700)
committer
Chad Horohoe
<chadh@wikimedia.org>
Mon, 22 Sep 2014 22:25:19 +0000
(15:25 -0700)
Change-Id: I72c5c3fb75c9ceff02390c91b3735f2da90845de
includes/context/RequestContext.php
patch
|
blob
|
history
diff --git
a/includes/context/RequestContext.php
b/includes/context/RequestContext.php
index
ede10fe
..
db57371
100644
(file)
--- 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;