From 9736d0797aa5533c123ec10d8020145eefea9b45 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 12 Nov 2007 14:30:56 -0500 Subject: [PATCH] this needs to be done as a plugin --- ...Allow_web_edit_form_comment_field_to_be_mandatory.mdwn | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/todo/Allow_web_edit_form_comment_field_to_be_mandatory.mdwn b/doc/todo/Allow_web_edit_form_comment_field_to_be_mandatory.mdwn index 76f62b68a..40c0e79b8 100644 --- a/doc/todo/Allow_web_edit_form_comment_field_to_be_mandatory.mdwn +++ b/doc/todo/Allow_web_edit_form_comment_field_to_be_mandatory.mdwn @@ -5,4 +5,10 @@ In our team internal wiki, we wish to impose a policy that all edits must have a > Good idea! I also hate empty commit comments, but I know that it's also a matter > of human mentality. Of course, you can forbid users to commit empty comments, -> but then they can commit so worthless comments like "\*" or "\* blah". --[[Paweł|ptecza]] \ No newline at end of file +> but then they can commit so worthless comments like "\*" or "\* blah". --[[Paweł|ptecza]] + +> I don't feel this belongs in ikiwiki core, but would accept a plugin that +> does it. I think that can be done using a formbuilder_setup hook. +> BTW, it wmuld probably be better to validate against a comment_regexp, +> so that when the evil admins notice that /.+/ is absurdly easy for users +> to get around (by using " "), they can tighten it down. --[[Joey]] -- 2.32.0.93.g670b81a890