]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/Default_text_for_new_pages.mdwn
looking closer, the existing %knownfeeds won't work
[ikiwiki.git] / doc / todo / Default_text_for_new_pages.mdwn
index c5168f49c8c2e3cedecc18c71a7c9367efc93b54..4a17bbf8bb1f276db6f1db1639968955d2dca5aa 100644 (file)
@@ -80,3 +80,25 @@ Inline below is a [[patch]] that implements this:
      <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]]
+
+>> Go ahead and make the edit, ikiwiki's source is arranged such that edits
+>> on this wiki to files that form the underlay will affect the underlay.
+>> (Clearly I won't be adding duplicate functionality.)
+>> --[[Joey]]
+
+>>> Edit made.  [[done]] -- [[Will]]