revert r93264 : breaks ton of parser tests.
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 27 Jul 2011 19:20:06 +0000 (19:20 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 27 Jul 2011 19:20:06 +0000 (19:20 +0000)
Please update the parser tests and reapply.

includes/Linker.php
skins/common/shared.css
skins/modern/main.css
skins/monobook/main.css
skins/vector/screen.css

index 9a4e6fe..880edd3 100644 (file)
@@ -1456,10 +1456,10 @@ class Linker {
        static function tocList( $toc, $lang = false ) {
                $title = wfMsgExt( 'toc', array( 'language' => $lang, 'escape' ) );
                return
-                  '<div id="toc" class="toc">'
+                  '<table id="toc" class="toc"><tr><td>'
                 . '<div id="toctitle"><h2>' . $title . "</h2></div>\n"
                 . $toc
-                . "</ul>\n</div>\n";
+                . "</ul>\n</td></tr></table>\n";
        }
 
        /**
index 6b72d09..39f7cd3 100644 (file)
@@ -791,14 +791,4 @@ div.floatright, table.floatright, div.floatleft, table.floatleft {
 }
 
 /* bug 12205 */
-#mw-credits a { 
-       unicode-bidi: embed;
-}
-
-/* Standard toc */
-#toc {
-       display: inline-block;
-       /* IE6+7 workaround */
-       zoom: 1;
-       display: inline !ie;
-}
\ No newline at end of file
+#mw-credits a { unicode-bidi: embed; }
\ No newline at end of file
index 001ad8f..d1dc5c0 100644 (file)
@@ -561,6 +561,11 @@ img.thumbborder {
        border: solid 1px #bbb;
 }
 
+#toc tr, #toc td {
+       margin: 0;
+       padding: 0;
+}
+
 #toctitle {
        border-bottom: solid 1px #3c78b5;
        background-color: #ddd;
@@ -587,7 +592,7 @@ img.thumbborder {
        list-style-type: none;
        list-style-image: none;
        margin: 0 1em;
-       padding: 0;
+       padding-left: 0;
        text-align: left;
 }
 
index 6ab45d9..886c47b 100644 (file)
@@ -356,7 +356,8 @@ table.small {
 .toc ul {
        list-style-type: none;
        list-style-image: none;
-       padding: 0 .4em;
+       margin-left: 0;
+       padding-left: 0;
        text-align: left;
 }
 #toc ul ul,
index d4698f0..4ecf426 100644 (file)
@@ -883,7 +883,8 @@ select {
 .toc ul {
        list-style-type: none;
        list-style-image: none;
-       padding: 0 .4em;
+       margin-left: 0;
+       padding-left: 0;
        text-align: left;
 }
 #toc ul ul,