fix for r52864: PHP Strict Standards: Declaration of SkinStandard::getHeadScripts...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 8 Jul 2009 17:09:41 +0000 (17:09 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 8 Jul 2009 17:09:41 +0000 (17:09 +0000)
skins/Standard.php

index 5923e16..5845dcc 100644 (file)
@@ -18,10 +18,10 @@ class SkinStandard extends Skin {
        /**
         *
         */
-       function getHeadScripts( $allowUserJs ) {
+       function getHeadScripts( $allowUserJs, $extraHtml = '' ) {
                global $wgStylePath, $wgJsMimeType, $wgStyleVersion;
 
-               $s = parent::getHeadScripts( $allowUserJs );
+               $s = parent::getHeadScripts( $allowUserJs, $extraHtml );
                if ( 3 == $this->qbSetting() ) { # Floating left
                        $s .= "<script language='javascript' type='$wgJsMimeType' " .
                          "src='{$wgStylePath}/common/sticky.js?$wgStyleVersion'></script>\n";