From: joey Date: Tue, 14 Mar 2006 05:37:34 +0000 (+0000) Subject: load/save index when rendering a page in cgi mode for svn-less wikis X-Git-Tag: 1.0~366 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c768f9a2e988a31f4e27923cc608edad0e19b7b4;p=ikiwiki.git load/save index when rendering a page in cgi mode for svn-less wikis --- 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