]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Fix a bug that prevented matching deleted comments, and so did not update pages that...
authorJoey Hess <joey@kitenet.net>
Tue, 18 May 2010 17:28:35 +0000 (13:28 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 18 May 2010 17:32:28 +0000 (13:32 -0400)
Problem is that by the time rendering calls render_dependent, %pagesources
has had deleted files removed from it. So match_comment's lookup of
files in there to see if they had the _comment extension failed.

I had to introduce a hash that temporarily holds filenames of deleted pages
to fix this.

Note that unlike comment(), internal() had avoided this pitfall by being
defined to match both internal and non-internal pages.


No differences found