Ratings Plugin

Version 19.1 by Thomas Mortagne on 2011/10/27 19:24

starA plugin to handle ratings of wiki documents
TypePlugin
Category
Developed by

Ludovic Dubost\| Jerome Velociter

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Description

This plugin can be used together with the Ratings Application

Configuration

Supported parameters :

xwiki.cfg parameter key (XWiki.XWikiPreferences field name)DescriptionAccepted valuesDefault value
xwiki.ratings.ratingsmanagerThe fully qualified name of the class to be used as rating managercom.xpn.xwiki.plugin.ratings.internal.DefaultRatingsManager
xwiki.ratings.averagerating.stored (ratings_averagerating_stored)Is the average rating stored in a XWiki object ?0 or 10
xwiki.ratings.reputation (ratings_reputation)Is user reputation feature activated ?0 or 10
xwiki.ratings.reputation.stored (ratings_reputation_stored)Is user reputation stored in a XWiki object ?0 or 10
xwiki.ratings.reputation.defaultmethod (ratings_reputation_defaultmethod)name of the methods used for calculating a user reputation. In the user profile, one object per calculation method will be stored, each one referencing the name of the method used.Coma-separated list of methodsaverage
xwiki.ratings.reputation.classnameThe default algorithm class to use for calculating user reputationThe fully qualified name of the class to be used as reputation algorithmcom.xpn.xwiki.plugin.ratings.internal.DefaultReputationAlgorythm
xwiki.ratings.reputation.groovypage (ratings_reputation_groovypage)The fullname of a document that contains an implementation of a reputation calculation algorithm written in groovyNone
xwiki.ratings.separatepagemanager.spacename (ratings_separatepagemanager_spacename)The name of the space to use to store ratings documents/objects when using the sepearate-page ratings managerThe name of the space to be usedNone (uses the same spaces as the page being rated)
xwiki.ratings.separatepagemanager.hasratingsforeachspace (ratings_separatepagemanager_hasratingsforeachspace)Should the separate page ratings manager use a space for each of the rated space?0 or 10

API

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.56 (Debian) Server at www.xwiki.org Port 80</address>
</body></html>

Prerequisites & Installation Instructions

For this plugin replace:

  • <plugin package> by com.xpn.xwiki.plugin.ratings.RatingsPlugin
  • <plugin name> by ratings

Get Connected