diff options
author | Bartosz Dziewoński <matma.rex@gmail.com> | 2013-10-24 22:17:59 +0200 |
---|---|---|
committer | Bartosz Dziewoński <matma.rex@gmail.com> | 2013-10-24 22:17:59 +0200 |
commit | 779badc31caf65e39b69b2a33b9f18d77a6a3618 (patch) | |
tree | 04444f1222bba66f8fe93229b3a5fb77cc4a24cb /includes/SkinTemplate.php | |
parent | 035095eb2fc0ddd182c1b5f6d983c581eef126f2 (diff) | |
download | mediawikicore-779badc31caf65e39b69b2a33b9f18d77a6a3618.tar.gz mediawikicore-779badc31caf65e39b69b2a33b9f18d77a6a3618.zip |
SkinTemplate: Move debug HTML above bottomscripts
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
Diffstat (limited to 'includes/SkinTemplate.php')
-rw-r--r-- | includes/SkinTemplate.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index e5b8872c8aa5..1e7ce13d925c 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -1998,9 +1998,10 @@ abstract class BaseTemplate extends QuickTemplate { * 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 } } |