comments: Save comments as a file with one big [[!comment]] directive.
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Wed, 10 Dec 2008 23:53:04 +0000 (23:53 +0000)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Thu, 11 Dec 2008 21:14:05 +0000 (21:14 +0000)
commit9af0f04df3a9c589d63a4f8d95af06098f0474db
tree3e56919485923c9193285301329f684a7491e410
parent6a986a8a0bd20e82e128ce7e0aa9587437ae8325
comments: Save comments as a file with one big [[!comment]] directive.

This delays all comment formatting until the last possible time, allows
us to set metadata without worrying that commenters may be able to evade
it, and means that changes to how a comment is saved can be handled
gracefully. It also gives us somewhere to put the commenter's username
or IP address for later reference.
IkiWiki/Plugin/comments.pm
templates/comments_comment.tmpl [deleted file]