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.
* @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>";
}
/**
.editsection {
float: right;
margin-left: 5px;
- margin-top:-1.2em;
}
/**
/* work around the horizontal scrollbars */
#column-content { margin-left: 0; }
-/* Edit section links */
-.editsection {
- margin-top: 0;
-}
-
background: url(external.png) center right no-repeat;
padding-right: 13px;
}
-/* Edit section links */
-.editsection {
- margin-top: 0;
-}
-