DescriptionRequiring an edit comment helps to prevent people forgetting to fill in an edit message and helps to let new users know about the comment feature.
This option is not meant as a way to really force people to fill in a useful comment, since there will always people who just fill in "..." or something like that to bypass this check.
Implementation of feature request: http://moinmo.in/FeatureRequests/OptionToRequireEditComment
The first patch set adds the require_comment option, the second patch set makes sure that the editor is shown again when any save error occurs.
The patches have been tested using the text and GUI editors. None of the commandline editing tools (account homepage, maint globaledit) use action/edit.py (but PageEditor directly) so they should not be affected by this patch.
The pytest testsuite does not show any problems with these patches.
Patch Set 1 #Patch Set 2 : Reshow the editor on SaveError #Patch Set 3 : Reshow the editor on SaveError (v2, simplified and works for new pages now) #
Total comments: 2
Patch Set 4 : Rename option to comment_required and fix description #MessagesTotal messages: 4
|