From 779badc31caf65e39b69b2a33b9f18d77a6a3618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Thu, 24 Oct 2013 22:17:59 +0200 Subject: 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 --- includes/SkinTemplate.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/SkinTemplate.php') 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() { ?> +getSkin()->getContext() ); ?> html( 'bottomscripts' ); /* JS call to runBodyOnloadHook */ ?> html( 'reporttime' ) ?> -getSkin()->getContext() ); +