]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/comments.mdwn
c571b8c567afe7076980caa5c3af80a722997942
[ikiwiki.git] / doc / todo / comments.mdwn
1 Known issues with the [[plugins/comments]] plugin:
2
3 * There is some common code cargo-culted from other plugins (notably inline and editpage) which
4   should probably be shared
5 * Previews always say "unknown IP address"
6 * Add `COMMENTOPENID`: the authenticated/verified user name, if and only if it was an OpenID
7 * The default template should have a (?) icon next to unauthenticated users (with the IP address
8   as title) and an OpenID icon next to OpenIDs
9 * Should the comments be visually set off more from the page above?
10   Rather than just a horizontal rule, I'm thinking put the comments
11   in a box like is used for inlined pages.
12 * Instead of just a link to add a comment, it could have a form to enter
13   the title, similar to the form for adding a new blog post.
14 * If a spammer posts a comment, it is either impossible or hard to clean
15   up via the web. Would be nice to have some kind of link on the comment
16   that allows trusted users to remove it (using the remove plugin of
17   course).
18 * One can use inline to set up a feed of all comments posted to any page.
19   Using template=comments_display they are displayed right. Only problem
20   is there is no indication in that template of what page each comment in the
21   feed is a comment on. So, if a comment is inlined into a different page,
22   I think it should show a link back to the page commented on.
23   (BTW, the rss feed in this situation seems ok; there the link element
24   points back to the parent page.
25 * It would be useful to have a pagespec that always matches all comments on 
26   pages matching a glob. Something like `comment(blog/*)`.
27   Perhaps postcomment could also be folded into this? Then the pagespec
28   would match both existing comments, as well as new comments that are
29   being posted.