]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/Allow_web_edit_form_comment_field_to_be_mandatory.mdwn
web commit by tschwinge: Thanks!, and a bug report.
[ikiwiki.git] / doc / todo / Allow_web_edit_form_comment_field_to_be_mandatory.mdwn
index 40c0e79b84dbe2b0fc27160e341a4904632f8b1c..2439cd65faa1929a2dc27727e826c96be1681259 100644 (file)
@@ -9,6 +9,14 @@ In our team internal wiki, we wish to impose a policy that all edits must have a
 
 > 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,
+> BTW, it wuld 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]]
+
+> 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.
+> Thoughts appreciated :) --[[Dom]]
+
+> Yes, modifying the template is ok. --[[Joey]]