sechead2edit DokuWiki Extension

An extension for DokuWiki to relocate section edit buttons to the header of that section.

This cleans up extra space between the bottom of a section and top of the next section, as well makes it easier to use the ToC, go to a particular section, and have the Edit button readily available – especially for sections of longer length.

None of the Edit node’s HTML is changed, all classes already applied remain, no new ones are added. The only additional adjustment is to adjust the mouseover/mouseout events to correctly add the section_highlight class to the parent section.

Location, styling of Edit Section by default.
Location of Edit button with secedit2head