]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/Default_text_for_new_pages.mdwn
Response and question
[git.ikiwiki.info.git] / doc / todo / Default_text_for_new_pages.mdwn
index c5168f49c8c2e3cedecc18c71a7c9367efc93b54..17feddf7e8c0795d4a0819d55f4087514f73ed3e 100644 (file)
@@ -80,3 +80,18 @@ Inline below is a [[patch]] that implements this:
      <input type="hidden" name="subpage" value="1" />
      <TMPL_VAR POSTFORMTEXT>
      <input name="title" size="40" />
      <input type="hidden" name="subpage" value="1" />
      <TMPL_VAR POSTFORMTEXT>
      <input name="title" size="40" />
+
+---
+
+Perhaps I'm misunderstanding something, but can't you use already existing
+in-house means instead of this patch; use a procedure as I do in the Hurd wiki?
+<http://www.bddebian.com/~wiki/config_edittemplate/> with one template:
+<http://www.bddebian.com/~wiki/config_edittemplate/regular_page/>.
+-- [[tschwinge]]
+
+> You are entirely correct.  I thought I'd seen it somewhere, but then couldn't
+> find it when I came to use it.  If the patch isn't applied (and I can see arguments
+> on both sides of that debate), then at least a pointer to
+> [[ikiwiki/directive/edittemplate]] should be added to [[ikiwiki/directive/inline]]
+> (and I'd make that change myself, but the edit needs to happen in the underlay,
+> not in the online docs).  -- [[Will]]