From: Leon Weber Date: Sat, 15 Dec 2007 16:28:38 +0000 (+0000) Subject: * (bug 11555) Make editsection links come after section seadlines. This has no visibl... X-Git-Tag: 1.31.0-rc.0~50415 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=1aad4161c7a3b1e43143f1650ab755cc6891b041;p=lhc%2Fweb%2Fwiklou.git * (bug 11555) Make editsection links come after section seadlines. This has no visible effect to graphical browsers, but fixes the issue that headlines look like "[edit] Headline" in text browsers. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index a4fc040dc5..bfde93bbf4 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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: diff --git a/includes/Linker.php b/includes/Linker.php index 17e988b4db..6f55e0e325 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1225,7 +1225,7 @@ class Linker { * @return string HTML headline */ public function makeHeadline( $level, $attribs, $anchor, $text, $link ) { - return "$text"; + return "$text$link "; } /** diff --git a/skins/common/shared.css b/skins/common/shared.css index 61f68395f0..f16d418260 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -23,6 +23,7 @@ div#mw-js-message { .editsection { float: right; margin-left: 5px; + margin-top:-1.2em; } /** diff --git a/skins/monobook/KHTMLFixes.css b/skins/monobook/KHTMLFixes.css index 97fba0c42a..ad72f9df88 100644 --- a/skins/monobook/KHTMLFixes.css +++ b/skins/monobook/KHTMLFixes.css @@ -1,3 +1,9 @@ /* KHTML fix stylesheet */ /* work around the horizontal scrollbars */ #column-content { margin-left: 0; } + +/* Edit section links */ +.editsection { + margin-top: 0; +} + diff --git a/skins/monobook/Opera7Fixes.css b/skins/monobook/Opera7Fixes.css index 446ea44cdb..9ad74f7e11 100644 --- a/skins/monobook/Opera7Fixes.css +++ b/skins/monobook/Opera7Fixes.css @@ -9,3 +9,8 @@ background: url(external.png) center right no-repeat; padding-right: 13px; } +/* Edit section links */ +.editsection { + margin-top: 0; +} +