* (bug 11555) Make editsection links come after section seadlines. This has no visibl...
authorLeon Weber <leon@users.mediawiki.org>
Sat, 15 Dec 2007 16:28:38 +0000 (16:28 +0000)
committerLeon Weber <leon@users.mediawiki.org>
Sat, 15 Dec 2007 16:28:38 +0000 (16:28 +0000)
  but fixes the issue that headlines look like "[edit] Headline" in text browsers.

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

index a4fc040..bfde93b 100644 (file)
@@ -1246,7 +1246,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '102';
+$wgStyleVersion = '103';
 
 
 # Server-side caching:
index 17e988b..6f55e0e 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$link <span class=\"mw-headline\">$text</span></h$level>";
+               return "<a name=\"$anchor\"></a><h$level$attribs<span class=\"mw-headline\">$text</span>$link </h$level>";
        }
 
        /**
index 61f6839..f16d418 100644 (file)
@@ -23,6 +23,7 @@ div#mw-js-message {
 .editsection {
        float: right;
        margin-left: 5px;
+       margin-top:-1.2em;
 }
 
 /**
index 97fba0c..ad72f9d 100644 (file)
@@ -1,3 +1,9 @@
 /* KHTML fix stylesheet */
 /* work around the horizontal scrollbars */
 #column-content { margin-left: 0; }
+
+/* Edit section links */
+.editsection {
+       margin-top: 0;
+}
+
index 446ea44..9ad74f7 100644 (file)
@@ -9,3 +9,8 @@
        background: url(external.png) center right no-repeat;
        padding-right: 13px;
 }
+/* Edit section links */
+.editsection {
+       margin-top: 0;
+}
+