DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:top

Top Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes

plugin show the top most visited pages

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

Tagged with statistics

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/Usage

Show the top ten visted pages of all time:

{{top}}

Show the top ten visted pages of all time in the english namespace (if the translation plugin is installed):

{{top|lang=en}}

Show the top ten visted pages since (and including) January 2014:

{{top|month=201401}}

Show the top ten visted pages since (and including) January 2014 in the english namespace (if the translation plugin is installed):

{{top|month=201401,lang=en}}

Syntax

Inserting the tag {{top}} will create a list of the top ten most visited pages.

{{top[|[lang=$langprefix[,]][month=$startmonth[,]][tag=ol[,]][score=true]}}

It includes four options.

lang

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

{{top|lang=$langprefix}}

month

You can specify the month from which the number of visits is computed with the month option. The Format for the month is YYYYMM.

{{top|month=$startmonth}}

list items

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

{{top|tag=ol}}

score

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

{{top|score=true}}

or for example as a numbered list

{{top|tag=ol,score=true}}

Development

Change Log

Known Bugs and Issues

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