}
}
- return match_glob($page, "$glob/*", internal => 1, @_);
+ return match_glob($page, "$glob/*", internal => 1, @_) &&
+ ! match_glob($page, "$glob/*/*", internal => 1, @_);
}
sub match_comment_pending ($$;@) {
return IkiWiki::FailReason->new("$page is not a pending comment");
}
- return match_glob($page, "$glob/*", internal => 1, @_);
+ return match_glob($page, "$glob/*", internal => 1, @_) &&
+ ! match_glob($page, "$glob/*/*", internal => 1, @_);
}
1
+ikiwiki (3.20110226) UNRELEASED; urgency=low
+
+ * comment: Don't show comments of subpages on parent pages.
+ (Fixes bug introduced in version 3.20100505.)
+
+ -- Joey Hess <joeyh@debian.org> Sun, 27 Feb 2011 18:14:05 -0400
+
ikiwiki (3.20110225) unstable; urgency=low
* editpage: Avoid inheriting internal page types.
> --[[Joey]]
>> The repo can be cloned now. There was a problem with permissions. --[[wentasah]]
+
+>>> I see the bug now. Probably most configs hide it by setting
+>>> `comments_pagespec` more tightly. It was introduced by
+>>> d9d910f6765de6ba07508ab56a5a0f93edb4c8ad, and/or later
+>>> changes to actually use the `comments()` PageSpec.
+>>> Fixed in git! [[done]] --[[Joey]]