DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authorstats

authorstats Plugin

Compatible with DokuWiki

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

plugin Plugin that outputs statistics about the wiki's authors.

Last updated on
2016-06-21
Provides
Syntax
Repository
Source

Similar to stats

Tagged with authors, report, statistics, users

Description

Plugin that outputs metrics about the wiki's authors. Simply save a page including the code <AUTHORSTATS #> (read the Syntax section) to generate a table containing the desired statistics.

Installation

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

NOTE: This plugin Requires PHP 5.3+ due using namespaces

Example of Usage

Saving a page including in the code “<AUTHORSTATS>” and “<AUTHORSTATS 16>”.
This will submit two tables. One with metrics since the beginning of the wiki and one with metrics for the last 16 months.

The generated tables as expected.

Current Year Contributions Graph

Syntax

Simple Description

<AUTHORSTATS #>

# is optional and could be any number of months in which you want to output metrics. If it is omitted, the page will output the metrics since the beginning of the wiki.

Current Year Contributions Graph

<AUTHORSTATS YEARGRAPH>

BNF Description

[authorstats_syntax] ::= '<AUTHORSTATS>'
                       | '<AUTHORSTATS [num]>'
                       | '<AUTHORSTATS YEARGRAPH>'
[num] ::= integer

Acknowledgements

Bugs and Issues

To inform us about a bug or even send me a patch please use GitHub's Issue tracking interface.

Don't display old author and contributions

If your wiki is old, authorstats may not show all contributions. In this case, delete authorstats.json and recreate with this content :

{
    "authors": {
    },
    "lastchange": 1262381936
}

Change 1262381936 by the timestamp of the creation of the wiki.

Discussion

  • Please anybody help! How can it be made the name of an auther to be a link to his userhomepage?
  • how can i display the fullname instead of the loginname of authers? thanks
  • feature requests:

1. SORTABLE It's works correctly you need install sortablejs plugin;

<sortable  1=alpha 2=numeric  3=numeric 4=numeric 5=numeric 6=numeric 7=numeric>
<AUTHORSTATS> 
</sortable>

2. <AUTHORSTATS YEARGRAPH #y> to display yeargraph of year #yr

plugin/authorstats.txt · Last modified: 2017-01-28 23:03 by alinea