From: Bartosz DziewoƄski Date: Thu, 24 Oct 2013 20:17:59 +0000 (+0200) Subject: SkinTemplate: Move debug HTML above bottomscripts X-Git-Tag: 1.31.0-rc.0~18323^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/voir.php?a=commitdiff_plain;h=779badc31caf65e39b69b2a33b9f18d77a6a3618;p=lhc%2Fweb%2Fwiklou.git 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 --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index e5b8872c8a..1e7ce13d92 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() ); +