DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:rating

This is an old revision of the document!


Rating Plugin

Compatible with DokuWiki

Hrun

plugin Allows rating a page

Last updated on
2016-01-13
Provides
Syntax, Action
Repository
Source
Requires
sqlite

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with rate, rating, vote

A CosmoCode Plugin

Installation

:!: External requirements: This plugin requires the following additional components that must be installed separately:

Install the plugin using the Extension Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Syntax

FIXME Instructions on how to insert this plugin into template missing.

Inserting the tag {{rating}} will create a list of the ten best rated pages.

{{rating}}
{{rating|startdate=2014-07-01}}
{{rating|lang=en}}
{{rating|startdate=2014-07-01,lang=en}}

lang

If you have the translation plugin installed you can filter the pages by language:

{{rating|lang=$langprefix}}

startdate

You can specify the starting-date from which the rating is computed. The Format for is YYYY-MM-DD.

{{rating|startdate=$startdate}}

list items

By default the list uses bullet points, which can be changed to a numbered list by adding the tag=ol option:

{{rating|tag=ol}}

score

You can show the score of each item by adding the score=true option:

{{rating|score=true}}

Development

Change Log

Known Bugs and Issues

plugin/rating.1452681701.txt.gz · Last modified: 2016-01-13 11:41 by andi