From: Siebrand Mazeland Date: Tue, 22 Sep 2009 10:42:20 +0000 (+0000) Subject: Follow-up to r56746: prevent notices by adding global $wgJsMimeType X-Git-Tag: 1.31.0-rc.0~39583 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=705b1aaf04b84f9967bd2b1423cfba1a0e84b4ec;p=lhc%2Fweb%2Fwiklou.git Follow-up to r56746: prevent notices by adding global $wgJsMimeType --- 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() );