Comments

Comments allow for a conversation about a page's contents. Comments was implemented for Hayes (1.8.1) (spec).

Usage

Comments may be made at the bottom of every page by registered users. Comments will appear exactly as typed (line breaks, special characters, etc.). There is no support for HTML in comments. Commenters may delete or edit their own comments (edit shows a message of the edited time), while administrators may only delete comments.

Display

To prevent comment information overload, Deki Wiki limits the number of comments to display at once. Comments are displayed in chronological order to make following the flow of conversation simpler. A user, at any time, can get the whole comment list by clicking the "View All" link if the number of comments displayed is less than the total amount.

Since a common practice in responding to comments is to prefix a comment with ("@commentid" or "@commenter"), we've chosen to show "deleted" comments for continuity of comment #s in the UI (RoyK: A configurable flag to suppress this behavior is in discussion)

Configuration

Number of comments to display

You can set the number of comments that Deki Wiki initially loads by adding this line to LocalSettings.php: 

$wgCommentCount = 25; //shows 25 comments

Disabling comments

In LocalSettings.php set:

$wgCommentCount = 0;

Your skin may still show some components of comments; modify the template files accordingly.

Alternatively, a less clean way to disable disable commenting is by pulling the comment skinning tag out of the main template file.

/skins/ace/Ace.php

Find and remove:

<?php $this->html('comments'); ?>

All the strings in Deki Wiki are configurable in /resources/resources.txt. For the deleted comment, the localization key is:
commentdeleted

You can extend the localization by adding your new commentdeleted localization key to

/resources/resources.en-us.txt

(it will be a  blank file). Try adding this line:

 commentdeleted=Comment #$1 was deleted.

You can likewise set this to an empty string, but the display will still show an extra line.

  

Tag page
Viewing 4 of 4 comments: view all
"A configurable flag to suppress this behavior is in discussion" - entry is marked as private --> "Access Denied."
Posted 00:55, 16 Aug 2007
You have to be logged in to Mantis to see any bugs there. Use your OpenGarden.org account.
Posted 10:39, 16 Aug 2007
How do I configure the wiki to automatically send me (admin) an email when a user has posted a comment?
Posted 20:53, 14 Apr 2008
Is there a way to move comments from one page to another?
Posted 21:04, 6 Nov 2008
Viewing 4 of 4 comments: view all
You must login to post a comment.
Powered by MindTouch Deki v.8.08.2