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();
if($wgUseCategoryBrowser) {
$s .= '<br/><hr/>';
$catstack = array();
- $s.= $wgTitle->getAllParentCategories(&$catstack);
+ $s.= $wgTitle->getAllParentCategories($catstack);
}
return $s;
# 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".