mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-01 02:37:05 +00:00
Call MWDebug::getHTMLDebugLog() directly
Bug: T256927 Change-Id: If4c7f66198e65546ebc15401d345fbf990cb9eb2
This commit is contained in:
parent
cface50471
commit
436d959304
|
@ -119,8 +119,8 @@ class SkinVector extends SkinTemplate {
|
||||||
// Result of OutputPage::addHTML calls
|
// Result of OutputPage::addHTML calls
|
||||||
'html-bodycontent' => $this->wrapHTML( $title, $out->mBodytext ),
|
'html-bodycontent' => $this->wrapHTML( $title, $out->mBodytext ),
|
||||||
'html-dataAfterContent' => $this->afterContentHook(),
|
'html-dataAfterContent' => $this->afterContentHook(),
|
||||||
// From MWDebug::getHTMLDebugLog (when $wgShowDebug is enabled)
|
// When $wgShowDebug is enabled
|
||||||
'html-debuglog' => $this->generateDebugHTML(),
|
'html-debuglog' => MWDebug::getHTMLDebugLog(),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue