isExpensive get default value
[lhc/web/wiklou.git] / includes / Skin.php
index 7686523..bc46059 100644 (file)
@@ -170,14 +170,14 @@ class Skin {
                global $wgOut, $wgStylePath, $wgLang, $wgUser, $wgRequest, $wgTitle;
                $sheet = $this->getStylesheet();
                $action = $wgRequest->getText('action');
-               $s = "@import url(\"$wgStylePath/$sheet\");\n";
-               if($wgLang->isRTL()) $s .= "@import url(\"$wgStylePath/common_rtl.css\");\n";
+               $s = "@import \"$wgStylePath/$sheet\";\n";
+               if($wgLang->isRTL()) $s .= "@import \"$wgStylePath/common_rtl.css\";\n";
                if( $wgUser->getID() != 0 ) { # logged in       
                        if($wgTitle->isCssSubpage() and $action == 'submit' and  $wgTitle->userCanEditCssJsSubpage()) {
                                $s .= $wgRequest->getText('wpTextbox1');
                        } else {
                                $userpage = $wgLang->getNsText( Namespace::getUser() ) . ":" . $wgUser->getName();
-                               $s.= '@import url("'.$this->makeUrl($userpage.'/'.$this->getSkinName(), 'action=raw&ctype=text/css').'");'."\n";
+                               $s.= '@import "'.$this->makeUrl($userpage.'/'.$this->getSkinName(), 'action=raw&ctype=text/css').'";'."\n";
                        }
                }
                $s .= $this->doGetUserStyles();
@@ -402,7 +402,7 @@ class Skin {
                if($wgUseCategoryBrowser) {
                        $s .= '<br/><hr/>';
                        $catstack = array();
-                       $s.= $wgTitle->getAllParentCategories(&$catstack);
+                       $s.= $wgTitle->getAllParentCategories($catstack);
                }
                
                return $s;
@@ -2591,7 +2591,7 @@ class Skin {
                # try min-width & co when somebody gets a chance
                $hideline = ' <script type="text/javascript">showTocToggle("' . addslashes( wfMsg('showtoc') ) . '","' . addslashes( wfMsg('hidetoc') ) . '")</script>';
                return
-               '<table border="0" id="toc"><tr><td align="center">'."\n".
+               '<table border="0" id="toc"><tr id="toctitle"><td align="center">'."\n".
                '<b>'.wfMsg('toc').'</b>' .
                $hideline .
                '</td></tr><tr id="tocinside"><td>'."\n".