Compatible with DokuWiki
Similar to accscounter
External requirements: This plugin requires the following additional components that must be installed separately:
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
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}}
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.
If you have the translation plugin installed you can filter the pages by language:
{{top|lang=$langprefix}}
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}}
By default the list uses bullet points, which can be changed to a numbered list by adding the tag=ol
option:
{{top|tag=ol}}
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}}
Check plugin»top»show_only_public
setting; if enabled, but you have no publicly-accessible pages in your wiki, you will see nothing. This is expected behaviour.
Please report bugs and issues at: https://github.com/cosmocode/dokuwiki-plugin-top/issues