2007-11-08 17:28:36 +01:00
|
|
|
[[tag wishlist]]
|
2007-11-08 17:57:43 +01:00
|
|
|
[[tag patch]]
|
2007-11-08 17:28:36 +01:00
|
|
|
|
2007-11-12 11:07:00 +01:00
|
|
|
In our team internal wiki, we wish to impose a policy that all edits must have a comment. Patch in [[debbug 450620]].
|
|
|
|
|
|
|
|
> 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,
|
2007-11-12 20:30:56 +01:00
|
|
|
> 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.
|
2007-11-13 21:43:54 +01:00
|
|
|
> BTW, it wuld probably be better to validate against a `comment_regexp`,
|
2007-11-12 20:30:56 +01:00
|
|
|
> so that when the evil admins notice that /.+/ is absurdly easy for users
|
|
|
|
> to get around (by using " "), they can tighten it down. --[[Joey]]
|
2007-11-28 13:42:38 +01:00
|
|
|
|
|
|
|
> Sorry for being dense, but I don't see a way to modify the template from within
|
|
|
|
> a plugin, without providing a whole new template for editform, which obviously
|
|
|
|
> isn't a workable solution. If the template was modified to allow overriding the
|
|
|
|
> portion of the message in question, then I agree that a plugin couuld do the rest.
|
2007-11-28 21:27:36 +01:00
|
|
|
> Thoughts appreciated :) --[[Dom]]
|
|
|
|
|
|
|
|
> Yes, modifying the template is ok. --[[Joey]]
|