Requests for comment/Clickable section anchors

This is a request for comment regarding clickable section anchors (16691).

Background
Currently, by using wikimarkup such as == Hello ==, it's possible to create an HTML header (in this case, an &lt;h2&gt;). This header can be referenced by an HTML id (in this case, the id would be "Hello" and the anchor would be "#Hello"). Currently, besides the table of contents box (if it's present on the page), there's no way to easily retrieve/re-use this anchor.

Considerations

 * The hover state is dying due to iPads, etc.
 * What's dying is these simple minded approaches. Always optimise for the appropiate platform and take best practices into account. There is nothing wrong with hover. For accessibility a focus and click event should be attached as well (which automatically makes it work on touch devices) and one can further optimise for touch devices by supporting it with a click-and-hold, drag, press/click, swipe or whatever makes sense. --Krinkle (talk) 02:42, 20 January 2013 (UTC)
 * The [edit] link may be replaced by an icon or be moved to the other side.
 * RTL and LTR must be considered in any implementation.
 * Some headers on wikis contain links to other pages or urls.

Option 1
Another [bracket] element for the anchor link.

 &#91;#&#93; edit Header

 &#91;#&#93; edit Header

Option 2
Toggle visibility of a clickable symbol (paragraph: ¶, link symbol, ..) in the content margin when hovering a heading.

Seen on:
 * Python documentation
 * GitHub repo readme

 ¶ edit Header

 edit Header  ¶

Option 3
Just make the header a link? This would be trivial to implement, presumably.

 edit Header