Begin logging RequestContexts relying on global title
Change-Id: I72c5c3fb75c9ceff02390c91b3735f2da90845de
This commit is contained in:
parent
465ddbc41f
commit
6fc2e60319
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue