]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/contrib/postal/discussion.mdwn
Change Projects link to point to projects DB
[ikiwiki.git] / doc / plugins / contrib / postal / discussion.mdwn
1 It seems like the filter 'postal-accept.pl' I wrote doesn't refresh thoroughly enough.  When a comment is added  it calls
2
3          IkiWiki::add_depends($page,$comments_page);
4
5 And then after adding the actual comment, it ends with
6
7          IkiWiki::refresh();
8          IkiWiki::saveindex();
9
10 Sure enough, the page being commented on is refreshed, but not any inline pages (e.g. tags pages, blog top level) that contain it.
11 Is there a way to recursively refresh? Or should it work that way by default. I guess it is some part of the api that I don't understand, 
12 since I think not many people grub about in the internals of ikiwiki this way.
13 It would be nice to figure this out, doing a full rebuild every time I get a blog comment is not that fun.
14
15 [[DavidBremner]]
16
17 > Ikiwiki currently doesn't have support for transitive dependencies.
18 > This is discussed deep inside [[todo/tracking_bugs_with_dependencies]]
19 > and in [[todo/inlines_inheriting_links]]. 
20
21 > FYI, the [[plugins/comments]] plugin avoids this problem by only showing the
22 > comments on the page, and not on pages that inline it. --[[Joey]] 
23 >> Ok, thanks for the speedy response. I guess I should do the same thing.
24 >> [[DavidBremner]]