This is an old revision of the document!
Table of Contents
top Plugin
Compatible with DokuWiki
Hrun
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to accscounter
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]}}
It includes two 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}}
Development
Change Log
- Merge pull request #19 from cosmocode/feed (2020-11-25 11:50)
- Apply ACL checks in feed (2020-11-24 20:44)
- Use default page info in feed (2020-11-24 20:43)
- Update test requirements (2020-11-24 15:41)
- Update Travis CI config (2020-11-24 15:35)
- Make top pages available via DokuWiki's feed (2020-11-24 15:03)
- PSR-2 code reformatting (2020-11-24 13:17)
- Merge pull request #11 from arourke/patch-1 (2017-03-24 19:13)
Known Bugs and Issues
Please report bugs and issues at: https://github.com/cosmocode/dokuwiki-plugin-top/issues