mediawiki.debug module, which is loaded at the bottom if
$wgDebugToolbar == true, depends on debug HTML (which sets some
mw.config stuffs with an inline script) being already present.
Bug: 56120
Change-Id: I5570fb4421e8e182fcf5e02754bf9ba6450be346
* body and html tags.
*/
function printTrail() { ?>
+<?php echo MWDebug::getDebugHTML( $this->getSkin()->getContext() ); ?>
<?php $this->html( 'bottomscripts' ); /* JS call to runBodyOnloadHook */ ?>
<?php $this->html( 'reporttime' ) ?>
-<?php echo MWDebug::getDebugHTML( $this->getSkin()->getContext() );
+<?php
}
}