User:Equazcion/SafetyEdit


 * This script is only of use to those with the template editor user right, and to administrators.

Safety Edit adds a check box to template-protected pages during editing, which must be clicked before saving is enabled.


 * When the check box is clear (default), the save button is disabled.
 * Pressing "enter" from the edit summary line will also not save the page.
 * Placing a check in the box re-enables both of the above.

What's all this then?
Template protection is present primarily on templates where edits are to be implemented with extra care and consideration due to their massive transclusion rates. For those with the ability to edit such pages (template editors and administrators), this script provides a layer of safety when preparing edits to these pages, allowing you to tweak code and experiment with previews, with assurance that you won't accidentally save anything before you're ready.

Installation
To use this script: Copy the line below, then  [ click here] , paste the line, and hit the save button.

Option for administrators: Add the following line to enable this safety feature on sysop-protected (fully protected) pages: