From 537b4573810747423ec1fa77ae0ad1674fbdd270 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 19 Aug 2005 00:41:03 +0000 Subject: [PATCH] headscripts variable --- includes/SkinTemplate.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index a3d8073f46..55edcd8aed 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -225,6 +225,7 @@ class SkinTemplate extends Skin { $tpl->setRef( 'jsmimetype', $wgJsMimeType ); $tpl->setRef( 'charset', $wgOutputEncoding ); $tpl->set( 'headlinks', $out->getHeadLinks() ); + $tpl->setRef('headscripts', $out->getScript() ); $tpl->setRef( 'wgScript', $wgScript ); $tpl->setRef( 'skinname', $this->skinname ); $tpl->setRef( 'stylename', $this->stylename ); -- 2.20.1