GhostInTheMachine • Talk • All • Help • Misc • Modules • Other • Layout • Photos • Projects • Scripts • Tidying • TidyingSD • TODO • UBX • WIP • 2024-08-11 12:47:35 |
NoEditSummary | |
---|---|
Description | Warns if an edit is about to be saved with an empty edit summary |
Author(s) | GhostInTheMachine |
Status | Stable |
First released | 31 January 2021 |
Version | 1 |
Updated | 31 January 2021 |
Browsers | All |
Skins | All |
Source | NoEditSummary.js |
Purpose
editThe script adds a warning if the edit is about to be saved with an empty edit summary.
Use
editThis script just saves you from your worst self.
If the mouse pointer hovers over the Publish changes
button while the edit summary is still blank, then the edit summary input field is highlighted with a big red border.
Prerequisites
editNone.
Installing
editAdd the following line to your common.js file.
{{subst:Lusc|User:GhostInTheMachine/NoEditSummary.js'}}
Notes
editThe script was stolen from User:SD0001 following a discussion on the Village Pump back in October 2020.
This issue has surfaced in various forms many times. Just a few references:
Alternatives
edit- User:Alexis Jazz/warn-edit-summary — Only article space. The save button is red if the edit summary is not changed