Revert 28517 for now. Puts non-standards-compliant code in shared.css to work around...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 18 Dec 2007 16:39:57 +0000 (16:39 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 18 Dec 2007 16:39:57 +0000 (16:39 +0000)
Furthermore, it's not clear to me why 1.2em was chosen, and it doesn't always seem to work.  See <http://encyclopedia.tw/wiki/%E8%AC%9B%E5%80%92%E7%B7%9A> for a page (non-Wikimedia, non-English) where the edit links are noticeably too high due, apparently, to this.

See also bug 12340, caused by this.

includes/Linker.php
skins/common/shared.css
skins/monobook/KHTMLFixes.css
skins/monobook/Opera7Fixes.css

index 6f55e0e..17e988b 100644 (file)
@@ -1225,7 +1225,7 @@ class Linker {
         * @return string HTML headline
         */
        public function makeHeadline( $level, $attribs, $anchor, $text, $link ) {
-               return "<a name=\"$anchor\"></a><h$level$attribs<span class=\"mw-headline\">$text</span>$link </h$level>";
+               return "<a name=\"$anchor\"></a><h$level$attribs$link <span class=\"mw-headline\">$text</span></h$level>";
        }
 
        /**
index f16d418..61f6839 100644 (file)
@@ -23,7 +23,6 @@ div#mw-js-message {
 .editsection {
        float: right;
        margin-left: 5px;
-       margin-top:-1.2em;
 }
 
 /**
index ad72f9d..afa3568 100644 (file)
@@ -2,8 +2,3 @@
 /* work around the horizontal scrollbars */
 #column-content { margin-left: 0; }
 
-/* Edit section links */
-.editsection {
-       margin-top: 0;
-}
-
index 9ad74f7..446ea44 100644 (file)
@@ -9,8 +9,3 @@
        background: url(external.png) center right no-repeat;
        padding-right: 13px;
 }
-/* Edit section links */
-.editsection {
-       margin-top: 0;
-}
-