SpecialPreferences: Remove invalid <strong> tag in successbox
authorAVRS Aditya Sastry <ganeshaditya1@gmail.com>
Thu, 18 Apr 2013 13:04:11 +0000 (18:34 +0530)
committerAVRS Aditya Sastry <ganeshaditya1@gmail.com>
Fri, 3 May 2013 13:00:27 +0000 (18:30 +0530)
Using CSS font-weight instead.

Also removed all traces of #mw-pref-clear. They are redundant since the
preferences form already has class "visualClear".

Bug: 33438
Change-Id: If606203218ece5974a956a3d41d5db40f55b2d5c

includes/specials/SpecialPreferences.php
skins/common/oldshared.css
skins/common/shared.css
skins/modern/main.css

index a50e7c1..5fcf9ae 100644 (file)
@@ -52,7 +52,7 @@ class SpecialPreferences extends SpecialPage {
 
                if ( $this->getRequest()->getCheck( 'success' ) ) {
                        $out->wrapWikiMsg(
-                               "<div class=\"successbox\"><strong>\n$1\n</strong></div><div id=\"mw-pref-clear\"></div>",
+                               "<div class=\"successbox\">\n$1\n</div>",
                                'savedprefs'
                        );
                }
index 6dcdf6f..ec9e861 100644 (file)
@@ -161,9 +161,6 @@ img { border: none; }
 }
 
 /* preference page with js-genrated toc */
-#mw-pref-clear {
-       clear: both;
-}
 #preftoc {
        float: left;
        margin: 1em 1em 1em 1em;
index 6e1c94f..1ea9963 100644 (file)
@@ -546,6 +546,7 @@ table.collapsed tr.collapsable {
        float: left;
        margin-bottom: 2em;
        color: #000;
+       font-weight: bold;
 }
 .errorbox {
        border-color: red;
index f201209..7e7758a 100644 (file)
@@ -412,11 +412,6 @@ h1, h2, h3, h4, h5, h6 {
        text-decoration: none;
        color: white;
 }
-
-#mw-pref-clear {
-       clear: both;
-}
-
 #mw_content a.external,
 #mw_content a.external[href ^="gopher://"] {
        /* @embed */