User:JSutherland (WMF)/confirmedit

confirmedit.js is a user script, written in JavaScript, which disables the submission of an edit until a box is ticked to confirm the edit should be made. This is especially useful for Wikimedia Foundation staff accounts, to prevent edits being made in a staff capacity that are intended to be made as a volunteer. The code for the script lives here.

Installation
Copy the below code to your vector.js file on the English Wikipedia, or your global.js on Meta to add it globally (these links automagically lead to yours):

You can also add it to your common.js page on any Wikimedia project. It is recommended you add it locally to projects you routinely edit as a volunteer rather than installing it globally, since it might get infuriating on wikis like meta-wiki.

Function
The tool adds a checkbox underneath the "edit summary" inputbox which must be checked before an edit can be made. If you attempt to save an edit before then (either with the "Save page" button or with a shortcut, such as the return key), nothing will happen unless that box is checked.