1 The `comment` directive is supplied by the
2 [[!iki plugins/comments desc=comments]] plugin. There should
3 be one comment directive in each source file with extension
4 `._comment` or `._comment_pending`, and the directive should not
5 appear anywhere else. Comments are normally created via the web,
6 in which case ikiwiki automatically creates a suitable
9 Wiki administrators can also commit comment files to the version
10 control system directly: they should be named starting with
11 the *comments\_pagename* config option (usually `comment_`)
12 and ending with `._comment`, for instance `comment_42._comment`.
16 \[[!comment format=mdwn
19 date="2009-06-02T19:05:01Z"
27 The only required parameter is `content`, the others just add or override
28 metadata for the comment. Many parameters are shortcuts for [[meta]]
31 * `content` - Text to display for the comment.
32 Note that [[directives|ikiwiki/directive]]
33 may not be allowed, depending on the configuration
34 of the comment plugin.
35 * `format` - Specifies the markup used for the content.
36 * `subject` - Subject for the comment.
37 * `date` - Date the comment was posted. Can be entered in
38 nearly any format, since it's parsed by [[!cpan TimeDate]]
39 * `username` - Used to record the username (or OpenID)
40 of a logged in commenter.
41 * `nickname` - Name to display for a logged in commenter.
42 (Optional; used for OpenIDs.)
43 * `ip` - Can be used to record the IP address of a commenter,
44 if they posted anonymously.
45 * `claimedauthor` - Records the name that the user entered,
46 if anonymous commenters are allowed to enter their (unverified)
49 [[!meta robots="noindex, follow"]]