This plugin allows to enter a short summary of changes made to a topic for a new revision.
This summary can be displayed e.g. in a history page of the topic or on the WebChanges page
of a web. Changes may also be marked as "minor" by using the "Quiet save" button.
Since in TWiki it is possible to make several changes within the edit lock time (normally
60 minutes) which are accumulated in only one new revision, it is also possible to
have several comments for one revision.
Furthermore, adding or updating an attachment may also trigger an automatic comment
for the current revision. This behaviour can be switched on or off with the help
of the preference variable ATTACHMENT_COMMENTS (see below).
Set SHORTDESCRIPTION = Allows a short summary of changes to be entered for a new revision.
Debug plugin: (See output in data/debug.txt)
Set DEBUG = 0
List also new or updated attachments:
Set ATTACHMENT_COMMENTS = 1
Store comments as RCS log message (not recommended yet)
Set USE_RCS = 0
Plugin Installation Instructions
Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.
Download the ZIP file from the Plugin web (see below)
Unzip RevCommentPlugin.zip in your twiki installation directory. Content:
This distribution contains a topic which can replace an existing one. This file has a WC ("with comments") in the name. You should backup your old file and rename this file:
If HistoryPlugin is installed, the template oopshistory.tmpl from this plugin is automatically expanded with revision comments once this plugin is installed
If you are using other skins than the pattern or classical skin, you have to enter a textfield to templates/edit.skin.tmpl and templates/preview.skin.tmpl : Enter the line <input class="twikiEditComment" type="text" size="%EDITBOXWIDTH%" style="%EDITBOXSTYLE%" name="comment"> to the template, between the <form> and </form> tags.