The Heading editor allows for simple one-click editing of section titles w/o having to open the edit form for either the whole page or the section. You can change the section title on the fly and then keep on reading the article.

Usage

Copy the following to your common.js:

((subst:iusc|User:The Evil IP address/hdedit.js))

The script has been tested for the Vector, Monobook, Modern, and Cologne Blue skins.

To use it, make a left-mouse click on a section and within seconds an input box w/ the formatting of the section title will appear. Change it, press "Save" or press "Cancel" if you don't need to make any changes. The script supports the following formatting in section titles:

Preferences

It's possible to customize what triggers the opening of the edit form. Possibilities are a single click, a double click, a click with the right mouse button, and any combination of these.

By default, the editform opens on a single click. If you want to change this, use the following code instead in your common.js.

Note that window.hdedit_prefs has to come before the code ((subst:iusc|User:The Evil IP address/hdedit.js)), or the preference won't be loaded in time!

Double-click
window.hdedit_prefs = {
    'eventToActivate': 'dblclick' // activate hdedit on double click
};
((subst:iusc|User:The Evil IP address/hdedit.js))
Right mouse click
window.hdedit_prefs = {
    'eventToActivate': 'contextmenu' // activate hdedit on right mouse click
};
((subst:iusc|User:The Evil IP address/hdedit.js))
a combination of them
window.hdedit_prefs = {
    'eventToActivate': 'contextmenu dblclick' // activate hdedit on double click and right mouse click
};
((subst:iusc|User:The Evil IP address/hdedit.js))

To do

Bugs/Feedback

This script is a work in progress. If you have encountered any bug while using it, or you have any suggestions on how to make it better, please let me know on my talk page. Thank you.