Table of Contents
authorstats Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" yes
- 2020-07-29 "Hogfather" yes
Similar to statdisplay, stats
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
- George Chatzisofroniou (aka. sophron) who is the original author!!!
- Gerrit Uitslag (aka. Klap-in) for his bug reports and feedback.
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.