]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/inline_page_not_updated_on_removal.mdwn
ugh, this is a tricky one..
[ikiwiki.git] / doc / bugs / inline_page_not_updated_on_removal.mdwn
1 If a page inlines some other page (such as this page by the bugs page), 
2 and the page is removed (such as by this page being linked to bugs/done),
3 the inlining page is not updated to remove it.
4
5 This only happens if the page is removed from the inlined globlist due to
6 a tag changing; the problem is that once the tag is changed, ikiwiki does
7 not know that the page used to match before.
8
9 To fix, seems I would need to record the actual list of pages that are
10 currently included on an inline page, and do a comparison to see if any
11 have changed. At first I thought, why not just add them to the dependencies
12 explicitly, but that fails because the dependencies globlist fails to match
13 when a negated expression like "!tag(bugs/done)" is matched.