|Version 54 (modified by 7 years ago) (diff),|
Add comments to wiki pages
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>
Comments are added after the first line that starts with
Since  the AddCommentMacro can fulfill 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.
Easy Install instructions for installing latest versions of the macro:
$> easy_install http://trac-hacks.org/svn/macropostplugin/0.10 ... $> easy_install http://trac-hacks.org/svn/addcommentmacro/0.10 ... Done.
Trac 0.11.x and 0.12.x
$> easy_install http://trac-hacks.org/svn/macropostplugin/0.11 ... $> easy_install http://trac-hacks.org/svn/addcommentmacro/0.11 ... Done.
Don't forget to add:
macropost.web_ui.macropostmodule = enabled addcomment.* = enabled
to the [components] section of trac.ini, or use the WebAdmin interface to enable both plug-ins
- AddCommentMacro for 0.8
- AddCommentMacro for 0.9
- AddCommentMacro for 0.10
- AddCommentMacro for 0.11 and 0.12
Download all versions as a [download:addcommentmacro zip file].
You need to install MacroPostPlugin first, or the 'preview' and 'submit' buttons won't work.