DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authorstats

authorstats Plugin

Compatible with DokuWiki

  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" yes
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" yes

plugin Plugin that outputs statistics about the wiki's authors

Last updated on
2022-03-12
Provides
Syntax
Repository
Source
Requires
pagelist

Similar to statdisplay, 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

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

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-to-Date Contributions Graph

<AUTHORSTATS YEARGRAPH>

BNF Description

[authorstats_syntax] ::= '<AUTHORSTATS>'
                       | '<AUTHORSTATS [num]>'
                       | '<AUTHORSTATS YEARGRAPH>'
                       | '<AUTHORSTATS YEARGRAPH [num]>'
                       | '<AUTHORSTATS YEARGRAPH [num] [sort]>'
[num]  ::= integer
[sort] ::= 'asc'
         | 'ascending'
         | 'desc'
         | 'descending'
         | 'rev'
         | 'reverse'

Acknowledgements

Bugs and Issues

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

Discussion

1. SORTABLE For sorting you need to install sortablejs plugin and use it as follows:

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

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

<AUTHORSTATS YEARGRAPH>
<AUTHORSTATS YEARGRAPH 2>
<AUTHORSTATS YEARGRAPH 2 desc>

3. Admin panel menu

Question: What does the “Authorstats” menu in the admin panel do?

It says “To force the generation of the authorstats DB click on the button below”. What does that mean?

When should this be performed?

tx

4. User Configuration

If you want that, deleted Users not get anymore shown in the Statistics simply go to the Configuration Manager searh for the Section of the Plugin and uncheck the box where it Says Show deleted Users.

plugin/authorstats.txt · Last modified: 2022-08-11 13:19 by 62.246.112.58

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki