Add comments to wiki pages
Notice: This plugin does not necessarily meet coding standards or functions correctly in all use cases.
The AddCommentMacro allows for easy addition of comments to a page, in a standard format. Each comment is added in the following form:
==== Comment by <user> on <date> ==== <comment-body>
The comment body supports normal Trac WikiFormatting.
Comments are added after the first line that starts with [[AddComment]].
Since changeset  the AddCommentMacro can fulfil the role of an append only Wiki page. By passing the argument appendonly to the macro, comments can be appended to the page even when the user does not have permission to modify the page. This is potentially unsafe, but can be useful.
If you have any issues, create a new ticket.
Download all versions as a zip file.
There is also a version on PyPi.
Dependencies: You need to install MacroPostPlugin first, or the 'Preview' and 'Submit' buttons won't work.
$> easy_install https://trac-hacks.org/svn/macropostplugin/0.11 ... $> easy_install https://trac-hacks.org/svn/addcommentmacro/0.11 ... Done.
Add the following to your trac.ini file:
[components] macropost.web_ui.macropostmodule = enabled addcomment.* = enabled
Alternatively, use the WebAdmin interface to enable both plugins.
- 8746 by osimons on 2010-09-10 16:25:48
AddCommentMacro: New name for anonymous was not picked up. Fixes #4710. Thanks for the patch!
- 8745 by osimons on 2010-09-10 16:12:32
AddCommentMacro: Not raise an error for permission issue. Render the form with all fields disabled instead. Closes #4959.
- 3887 by osimons on 2008-06-23 12:58:56
- Wiki page preview got us a double set of editing toolbars. Fixed.
- Also adding some extra logging and deleting the redirect marker in search of possible issue with redirect (that I can't replicate).