User:GhostInTheMachine/SDsummary

Purpose
This script adds buttons that set a "standard" Short description edit summary.

Use
The buttons are added below the Short description Helper. They will set the text in the summary input field.

The buttons do nothing until the SDhelper gadget displays the Short description input box.

Currently, the script contains the text added by the buttons.

Prerequisites
The script probably only works on Real Vector. I have not tried it on other skins or on Evil Vector.

Installing
Add the following line to your common.js file.

Add the following line for elsewhere mw.loader.load( '/w/index.php?title=User:GhostInTheMachine/SDsummary.js&action=raw&ctype=text/javascript' ); // Backlink: User:GhostInTheMachine/SDsummary.js

Possible improvements

 * Add some nicer CSS
 * Hook into the SDhelper edit button, so that the SDsummary buttons are only created when the edit input field is created
 * Only display the buttons when the SD edit input field is being displayed
 * Split the boilerplate text out of the script and allow them to be configured per user
 * Pull them from a user sub-page
 * Store them in the user config and provide a way to edit them and to add more