(bug 3205) Stop right floats from stacking horizontally in non-Monobook skins (also...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 13 Oct 2006 06:56:47 +0000 (06:56 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 13 Oct 2006 06:56:47 +0000 (06:56 +0000)
RELEASE-NOTES
includes/Skin.php
skins/CologneBlue.php
skins/MonoBook.php
skins/common/cologneblue.css
skins/common/common.css
skins/common/commonPrint.css
skins/common/common_rtl.css
skins/common/nostalgia.css
skins/common/wikistandard.css

index b2a7a74..2df592a 100644 (file)
@@ -42,7 +42,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 6918) Stopped borders and backgrounds from showing through floated
   tables in Monobook
 * (bug 6868) Un-hardcode section edit link style
-
+* (bug 3205) Stop right floats from stacking horizontally in non-Monobook skins
 
 == Languages updated ==
 
index ffbe27c..04464f7 100644 (file)
@@ -139,7 +139,7 @@ class Skin extends Linker {
 
        /** @return string path to the skin stylesheet */
        function getStylesheet() {
-               return 'common/wikistandard.css?1';
+               return 'common/wikistandard.css?2';
        }
 
        /** @return string skin name */
@@ -364,7 +364,7 @@ class Skin extends Linker {
                $sheet = $this->getStylesheet();
                $action = $wgRequest->getText('action');
                $s = "@import \"$wgStylePath/$sheet\";\n";
-               if($wgContLang->isRTL()) $s .= "@import \"$wgStylePath/common/common_rtl.css\";\n";
+               if($wgContLang->isRTL()) $s .= "@import \"$wgStylePath/common/common_rtl.css?1\";\n";
 
                $query = "usemsgcache=yes&action=raw&ctype=text/css&smaxage=$wgSquidMaxage";
                $s .= '@import "' . self::makeNSUrl( 'Common.css', $query, NS_MEDIAWIKI ) . "\";\n" .
index 7f1fb40..8cc8a92 100644 (file)
@@ -18,7 +18,7 @@ if( !defined( 'MEDIAWIKI' ) )
 class SkinCologneBlue extends Skin {
 
        function getStylesheet() {
-               return "common/cologneblue.css?3";
+               return "common/cologneblue.css?4";
        }
        function getSkinName() {
                return "cologneblue";
index c1df046..92c88c9 100644 (file)
@@ -57,7 +57,7 @@ class MonoBookTemplate extends QuickTemplate {
                <?php $this->html('headlinks') ?>
                <title><?php $this->text('pagetitle') ?></title>
                <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/main.css?10"; /*]]>*/</style>
-               <link rel="stylesheet" type="text/css" <?php if(empty($this->data['printable']) ) { ?>media="print"<?php } ?> href="<?php $this->text('stylepath') ?>/common/commonPrint.css" />
+               <link rel="stylesheet" type="text/css" <?php if(empty($this->data['printable']) ) { ?>media="print"<?php } ?> href="<?php $this->text('stylepath') ?>/common/commonPrint.css?1" />
                <!--[if lt IE 5.5000]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE50Fixes.css";</style><![endif]-->
                <!--[if IE 5.5000]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE55Fixes.css";</style><![endif]-->
                <!--[if IE 6]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE60Fixes.css";</style><![endif]-->
index 33c12ab..0c0b21d 100644 (file)
@@ -1,4 +1,4 @@
-@import url("common.css?2");
+@import url("common.css?3");
 
 body { margin: 0px; padding: 0px; color: black; }
 #specialform { display: inline; }
index 57619f0..1e143ad 100644 (file)
@@ -58,6 +58,7 @@ div.thumbcaption {
 }
 div.tright {
     float: right;
+    clear: right;
     margin-left:0.5em;
 }
 div.tleft {
index 7dcb570..e23c50b 100644 (file)
@@ -67,6 +67,7 @@ div.thumb div div.thumbcaption {
 div.magnify { display: none; }
 div.tright {
     float: right;
+    clear: right;
     border-width: 0.5em 0 0.8em 1.4em;
 }
 div.tleft {
index a5ba2d7..5a7bf05 100644 (file)
@@ -16,4 +16,10 @@ fieldset.operaprefsection {
 div.editsection {
        float: left;
        margin-right: 5px;
+}
+div.tright {
+       clear: none;
+}
+div.tleft {
+       clear: left;
 }
\ No newline at end of file
index cc427bc..da0f252 100644 (file)
@@ -1,4 +1,4 @@
-@import url("common.css?1");
+@import url("common.css?3");
 body {
        /* Background color is set separately on page type */
        color: black;
index f55582b..dd39eba 100644 (file)
@@ -1,4 +1,4 @@
-@import url("common.css?1");
+@import url("common.css?3");
 
 #article { padding: 4px; }
 #content { margin: 0; padding: 0; }