From 8c464281940af1ca17c41ee28bd7566d7a4e4ac7 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Wed, 9 Jun 2004 19:19:08 +0000 Subject: [PATCH] don't include generated stylesheet --- includes/Skin.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 20d5a99aad..7686523e92 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -174,10 +174,8 @@ class Skin { if($wgLang->isRTL()) $s .= "@import url(\"$wgStylePath/common_rtl.css\");\n"; if( $wgUser->getID() != 0 ) { # logged in if($wgTitle->isCssSubpage() and $action == 'submit' and $wgTitle->userCanEditCssJsSubpage()) { - $s .= '@import url('.$this->makeUrl('-','action=raw&gen=css&smaxage=0&maxage=0').');'."\n"; $s .= $wgRequest->getText('wpTextbox1'); } else { - $s .= '@import url('.$this->makeUrl('-','action=raw&gen=css&smaxage=0&maxage=0').');'."\n"; $userpage = $wgLang->getNsText( Namespace::getUser() ) . ":" . $wgUser->getName(); $s.= '@import url("'.$this->makeUrl($userpage.'/'.$this->getSkinName(), 'action=raw&ctype=text/css').'");'."\n"; } -- 2.20.1