From 705b1aaf04b84f9967bd2b1423cfba1a0e84b4ec Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 22 Sep 2009 10:42:20 +0000 Subject: [PATCH] Follow-up to r56746: prevent notices by adding global $wgJsMimeType --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 95c49a9bdc..204163acfb 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1787,7 +1787,7 @@ class OutputPage { * also adds userjs to the end if enabled: */ function getHeadScripts() { - global $wgUser; + global $wgUser, $wgJsMimeType; $sk = $wgUser->getSkin(); $vars = Skin::makeGlobalVariablesScript( $sk->getSkinName() ); -- 2.20.1