X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/f9f38ae31c239ce2f44ea0ed2984295aac09ead3..c5343fb5bc8963131e56856a6191719bc0c3717a:/IkiWiki/CGI.pm diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 155010a97..788d0487e 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -596,6 +596,10 @@ sub cgi_editpage ($$) { #{{{ # may have been committed while the post-commit hook was # disabled. require IkiWiki::Render; + # Reload index, since the first time it's loaded is before + # the wiki is locked, and things may have changed in the + # meantime. + loadindex(); refresh(); saveindex();