https://bugzilla.wikimedia.org/show_bug.cgi?id=156
Bruno De Fraine <bruno-...@defraine.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruno-...@defraine.net --- Comment #61 from Bruno De Fraine <bruno-...@defraine.net> 2011-05-18 11:04:13 UTC --- If you want to enable this for your own MediaWiki installation, there is still some leftover code in Parser.php that makes it quite easy: Index: includes/parser/Parser.php =================================================================== --- includes/parser/Parser.php (revision 87502) +++ includes/parser/Parser.php (working copy) @@ -3809,13 +3809,14 @@ $i = 0; foreach( $blocks as $block ) { - if( $showEditLink && $headlineCount > 0 && $i == 0 && $block !== "\n" ) { + if( $showEditLink && $headlineCount > 0 && $i == 0 && $block !== "" ) { # This is the [edit] link that appears for the top block of text when # section editing is enabled # Disabled because it broke block formatting # For example, a bullet point in the top line # $full .= $sk->editSectionLink(0); + $full .= $sk->editSectionLink($this->mTitle, 0, "Intro") . "\n"; } $full .= $block; if( $enoughToc && !$i && $isMain && !$this->mForceTocPosition ) { -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l