Call MWDebug::getHTMLDebugLog() directly

Bug: T256927
Change-Id: If4c7f66198e65546ebc15401d345fbf990cb9eb2
This commit is contained in:
Ammar Abdulhamid 2020-07-03 10:39:37 +01:00
parent cface50471
commit 436d959304

View file

@ -119,8 +119,8 @@ class SkinVector extends SkinTemplate {
// Result of OutputPage::addHTML calls
'html-bodycontent' => $this->wrapHTML( $title, $out->mBodytext ),
'html-dataAfterContent' => $this->afterContentHook(),
// From MWDebug::getHTMLDebugLog (when $wgShowDebug is enabled)
'html-debuglog' => $this->generateDebugHTML(),
// When $wgShowDebug is enabled
'html-debuglog' => MWDebug::getHTMLDebugLog(),
];
}