Intercepting Comments on Wiki Content

Use

To examine comments on wiki pages before they appear in the wiki spaces, you can define interceptors. An interceptor is a special type of filter that can accept, change, or reject incoming comments.

Interceptors defined for the root space apply to the wiki content in all sub-spaces. If interceptors are also defined at the sub-space level, the system applies the global interceptors first, then the interceptors at the sub-space level.

The following default interceptors are available for wiki content:

Interceptor

Description

Message Governor

Limits the number of comments posted within a given timeframe. This prevents spam and flooding.

Keyword

Performs an action whenever a keyword is found.

Moderation Controller

List of users that always or never require moderation. You can exclude trusted users from moderation.

Gateway Privacy Manager

Allows you to hide or remove names and e-mail addresses from comments imported through gateways.

IP Address

Performs various actions based on the IP address from which a comment is posted. For example, it prevents troublemakers - IP addresses - from posting messages.

Ban User

Prevents specified users from posting comments.

Procedure

  1. From the wiki administration console, choose Start of the navigation pathSpaces Next navigation step SettingsEnd of the navigation path .

  2. In the navigation pane, choose Interceptors .

  3. On the header of the Interceptors screen, choose Change Space .

  4. To set global interceptors, select the main space; to set interceptors for a sub-space, select the respective sub-space.

Install Interceptors

The Available Interceptors box lists the interceptors that are available in the system. Installing an interceptor means activating it.

  1. In the Install Interceptor section, select an interceptor from the list.

    An asterisk (*) next to an interceptor indicates that it has already been installed at least once. Most interceptors can be installed more than once to be used with specific settings.

  2. Choose Install .

Manage Installed Interceptors

If at least one interceptor is installed, the system displays the Current Interceptors list. You can use the functions described below to manage these interceptors.

  • To edit the properties of an interceptor, choose next to its name. Set the property values and save your changes.

  • To delete (deactivate) an interceptor, remove it from the list by choosing next to its name.

  • If two or more interceptors are installed, you can set the order of the interceptors by moving the interceptors up ( ) or down ( ) in the list.

Add a Custom Interceptor

You can add your own interceptors and third-party interceptors to the wiki application for later use.

  1. Make sure that the new interceptor is a valid Java class and resides in the default Java class path of your application server.

  2. In the Add Interceptor Class section, enter the fully qualified name of the interceptor class.

  3. Choose Add Interceptor .