From c768f9a2e988a31f4e27923cc608edad0e19b7b4 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 14 Mar 2006 05:37:34 +0000 Subject: [PATCH] load/save index when rendering a page in cgi mode for svn-less wikis --- doc/bugs.mdwn | 2 -- ikiwiki | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/bugs.mdwn b/doc/bugs.mdwn index 3fbdadd45..c9b175453 100644 --- a/doc/bugs.mdwn +++ b/doc/bugs.mdwn @@ -20,5 +20,3 @@ replaced with a link to the [[CGI]]? * [[ikiwiki]] should go to the same place as [[index]] (on this wiki). * There's no way to escape a [[WikiLink]] when discussing one on a wiki. -* Seems to be losing track of just-created pages and not adding them to the - index. diff --git a/ikiwiki b/ikiwiki index 7e140bbec..7794113f5 100755 --- a/ikiwiki +++ b/ikiwiki @@ -1096,7 +1096,9 @@ sub cgi_editpage ($$) { #{{{ rcs_commit($message); } else { + loadindex(); refresh(); + saveindex(); } # The trailing question mark tries to avoid broken -- 2.32.0.93.g670b81a890