X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/8dedc3cef1a76f0f12e3335fae578fdb205e88f8..365e11783b741e459f4c1cb3595def5211442c2e:/doc/bugs/wrong_rendering_of_templatebody.mdwn diff --git a/doc/bugs/wrong_rendering_of_templatebody.mdwn b/doc/bugs/wrong_rendering_of_templatebody.mdwn index 51cf58a8a..1a9377b68 100644 --- a/doc/bugs/wrong_rendering_of_templatebody.mdwn +++ b/doc/bugs/wrong_rendering_of_templatebody.mdwn @@ -18,6 +18,13 @@ of my templates renders as the *rest* of the template page when used, instead of the body part. In other words, it renders exactly the part it should hide (the description) and ignores the body itself (which is inside \[[!templatebody]]). +> With a hint from [[kjs]] on [[templates/discussion]], I was able to reproduce +> this bug. It seems to have been caused by an optimization: please try applying +> [commit 5fd863b5](http://source.ikiwiki.branchable.com/?p=source.git;a=commitdiff;h=5fd863b5b05449669ec56c6798d836e3302386e2) +> to your Render.pm. A follow-up commit partially brings back the optimization +> (only for rebuilds). So I think this is [[done]]? (remove that link if +> not) --[[smcv]] + When I manually re-generate the wiki, it suddenly renders right. As soon as the page gets rebuilt automatically after some git push, it renders the wrong way. @@ -50,7 +57,14 @@ page gets rebuilt automatically after some git push, it renders the wrong way. >> the git push output, because rendering the wiki from command line doesn't have this >> problem. >> +>> One more thing, my setup uses the pingee plugin. When doing a git push, it browses to +>> the wiki page using wget with `?do=ping` parameter, and then ikiwiki responds by rebuilding +>> the necessary pages. +>> >> Thanks for the pointers. +>> +>> --[[fr33domlover]] + [[This|http://www.rel4tion.org/languages/haskell/]] is the page, and [[this|http://www.rel4tion.org/templates/wikitag/]] is a template it uses. Right