GeoHazardWatch

Page Actions


Using CommentsPlugin

Comments

No comments yet.

displays reader comments on a page and provides a submission form for authenticated users.

Description

CommentsPlugin renders all comments left on the current page, followed by a form that lets logged-in users post new ones. Administrators see a delete button on each comment.

Comments are disabled when the CommentManager is not enabled in site configuration. The plugin renders nothing (empty string) in that case.

The plugin is automatically included in the default Template:PageTabs configuration in the Comments tab.

Syntax

[{CommentsPlugin}]
[{CommentsPlugin noheader='true'}]

Parameters

ParameterTypeDefaultDescription
noheaderbooleanfalseSuppress the "Comments" heading. Pass true when embedding inside a tab (e.g. Template:PageTabs).

Examples

[{CommentsPlugin}] renders as:

Comments

No comments yet.

Notes

  • Only authenticated users can submit comments. The submission form is hidden for guests.
  • Administrators see a delete link on each comment.
  • The plugin returns an empty string if the CommentManager is not enabled (ngdpbase.comments.enabled=false).
  • Comment timestamps are displayed in the server's local timezone.

No pages currently refer to this page.

No footnotes on this page.

No comments yet.