User:Equazcion/CustomSummaryPresets
Appearance
This gadget is broken as of July 2017. A working version is at User:Enterprisey/CustomSummaryPresets. |
- This is the documentation page for the CustomSummaryPresets.js user script.
CustomSummaryPresets adds a menu of edit summary presets to your edit page, while allowing you to specify what the choices are. The menu appears below the edit summary line on nearly all edit pages.
- This is a modification of the gadget for adding an edit summary preset menu. While the original gadget adds its own edit summary presets, this script lets you define your own.
- This script may cause a conflict if you have the aforementioned gadget enabled (it is not enabled by default).
Usage
[edit]To use this script: Copy the code below, then click here, and paste the code.
importScript('User:Equazcion/CustomSummaryPresets.js'); //Linkback: [[User:Equazcion/CustomSummaryPresets.js]]
var customsum1 = "My first custom edit summary";
var customsum2 = "My second custom edit summary";
- Edit the quoted text to set your edit summary presets.
- Add additional
customsum3
,customsum4
, etc. lines to define more presets. You can have up to 20 in total.
Credit
[edit]- Original gadget by User:ErrantX and User:MC10.
- Customization functionality by User:Equazcion.