From d9d910f6765de6ba07508ab56a5a0f93edb4c8ad Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 6 May 2010 19:19:51 -0400 Subject: moved comments pending moderation * comments: Comments pending moderation are now stored in the srcdir alongside accepted comments, but with a `._comment_pending` extension. * This allows easier byhand moderation, as the "_pending" need only be stripped off and the comment be committed to version control. * The `comment_pending()` pagespec can be used to match such unmoderated comments, which makes it easy to add a feed of them, or a counter indicating how many there are. * Belatedly added a `comment()` pagespec. --- debian/NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debian/NEWS') diff --git a/debian/NEWS b/debian/NEWS index 4e0c7810b..b751f1478 100644 --- a/debian/NEWS +++ b/debian/NEWS @@ -1,5 +1,11 @@ ikiwiki (3.20100505) UNRELEASED; urgency=low + There is a new "comment()" pagespec, that can be used to match a comment + on a page. It is recommended it be used instead of the old + method of using a pagespec such as "internal(comment_*)" to match + things that looked like comments. The old pagespec will now also match + comments that are held for moderation; likely not what you want. + There is a significant change to the page.tmpl template in this version. If you have locally modified versions of that template, you will need to update it to contain the following in the HTML : -- cgit v1.2.3