Strict Standards: Declaration of action_plugin_captcha::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /membri/only4mods/lib/plugins/captcha/action.php on line 15

Strict Standards: Declaration of action_plugin_jquery::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /membri/only4mods/lib/plugins/jquery/action.php on line 60

Strict Standards: Declaration of action_plugin_codehighlight::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /membri/only4mods/lib/plugins/codehighlight/action.php on line 225

Strict Standards: Declaration of action_plugin_ipban::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /membri/only4mods/lib/plugins/ipban/action.php on line 60

Strict Standards: Declaration of action_plugin_wikistatistics::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /membri/only4mods/lib/plugins/wikistatistics/action.php on line 51
dokuwiki:statistics:en:start - Ema's plugins (WP, DW)

Unfortunately, some of the pages are now read-only, this because in the last few months some spammers decided to “contribute” to the wiki…
I'm trying to lock only the interested pages.

Please use the new index page

Please use the new index page at WikiStats.

locked for spam
Only registered users can edit

:!: Please check the discussion page for ongoing development and new coming features :!:

Sorry, due to repeated spam I blocked the editing of this page for non-registered user.

WikiStatistics

Probably is not so polite, but some time ago I found the stats plugin. Up to now it seems no more maintained by anyone. I like the aim of the plugin and now I'm trying to revitalize it.

This plugin displays various statistics on wiki contributions. Graphs are rendered with pChart library.

Up to now here are the available statistics :

  • Hall of Fame users and page size
  • number of pages
  • number of pages in a namespace
  • number of users
  • bar graph of the number of edits by day for a month
  • bar graph of the number of edits by month
  • graph page sizes

The latest version has been tested with DokuWiki 2009-12-25 and 2009-02-14.

Documentation and download for the version of this plugin with the old syntax is available here.

oh, I found this nice plugin for statistic related to page visits, it seems really good! I think it's complementary to that one I'm trying to develop developing with the fundamental contribution of Thomas (in fact most of the last features has been developed by him, THANK YOU!).

Syntax

The plugin syntax is {{wikistatistics>type=xxxx param1=value1 param2=value2}}.

Hall of Fame

Displays a table with the users sorted by number of edits done.

param required value description
type yes topcontrib
nbOfRows yes1) a number define the number of rows to display 2)
namecol no fullname displays fullname instead of login

note: il the full name is not available (i.e. if an external authentication system is used and it doesn't implement getUserCount) then the nick is used instead.

Examples

{{wikistatistics>type=topcontrib nbOfRows=10}}

{{wikistatistics>type=topcontrib nbOfRows=10 namecol=fullname}}

Number of pages

Dsplays the number of pages in the wiki.

param required value description
type yes pages
ns no namespace_value counts only pages in this namespace

Pages or namespaces can be excluded from the count with the parameters ws_excludedns and ws_excludedns_pattern on the configuration page.

Examples

{{wikistatistics>type=pages}}

{{wikistatistics>type=pages ns=page:subpage}} returns the number of pages in the namespace “page:subpage”.

Number of users

Displays the number of users.

param required value description
type yes pages
filter no active counts only active users
Examples

{{wikistatistics>type=users}}

{{wikistatistics>type=users filter=active}}

Edits history

Displays a bar graph of the number of edits.

param required value description
type yes histocontrib
mode yes monthbyday Graph of the number of edits for a month by day
lastmonthbyday Graph of the number of edits by day for the last month
bymonth Graph of the number of edits by month since the beginning of the wiki
period no date_value Month for the monthbyday mode. The format is mm/yyyy. By default, the current month.
width no width_in_pixel Width of the graph in pixel
height no height_in_pixel Height of the graph in pixel
absLabelAngle no angle_in_degre Angle of the abscisse's labels. Must be between 0 and 90.
Examples

{{wikistatistics>type=histocontrib mode=monthbyday}} displays a bar graph of the number of edits by day for the current month.

{{wikistatistics>type=histocontrib mode=monthbyday period=12/2008}} displays a bar graph of the number of edits by day for the month of december 2008.

{{wikistatistics>type=histocontrib mode=lastmonthbyday}} displays a bar graph of the number of edits by day for the last month.

{{wikistatistics>type=histocontrib mode=bymonth}} displays a bar graph of the number of edits by month since the beginning of the wiki.

{{wikistatistics>type=histocontrib mode=bymonth width=800 height=300}} displays the same graph with a width of 800 and a height of 300.

{{wikistatistics>type=histocontrib mode=bymonth absLabelAngle=45}} displays the same graph with abscisses's labels rotated of 45 degres.

Hall of Fame Page Sizes

Displays a table with the page sizes sorted by size.

param required value description
type yes hofpagessizes
nbOfRows yes a number define the number of rows to display 3)
Examples

{{wikistatistics>type=hofpagessizes nbOfRows=10}}

Other commands to be documented

{{wikistatistics>type=histocontrib mode=allevents}}
{{wikistatistics>type=topedit}}
{{wikistatistics>type=lessedit}}



Demo

Here you can see the plugin in action:
tests on this wiki

Download

Changelog

  • 2008/01/11
    • Started
  • 2008/07/22
  • 2008/12/13
    • enhancement: Printing full names instead of usernames in HOF. Now default behaviour is to print full names, in addition I added an option to allow print nicknames (~~rSTATS:topcontrib:n~~). (Thanks to Cayle/CjS for the code)
    • bugfix: removed hardcoded datadir and replaced with the value in configuration. (Thanks to anon for the code)
    • bugfix: if added two Hall of Fame on the same page now the counter is reset before output the second one leading to a correct number of pages
  • 2009/01/13
  • 2009/03/03
    • New syntax
    • New statistics : (thanks to Thomas)
      • bar graph of the number of edits by day for a month
      • bar graph of the nb of edits by month
      • number of users
  • 2009/03/14
    • New options on the graphs (thanks to Thomas)
      • width : width of the graph
      • height : height of the graph
      • absLabelAngle : angle of the abscisse labels (between 0 and 90)
    • New option on users count
      • filter=active : count only active users
  • 2009/05/04
    • Fixed a bug with array_multisort reported by Kiba
    • New feature: ”-1” in the Number of contributors in the HoF will render the complete list of all contributors
  • 2009/05/09
    • bugfix: Really fixed the bug with array_multisort reported by matmai
  • 2009/10/11
    • bugfix: incorrect rendering of “by month” graph (reported and fixed by Matthieu)
  • 2010/01/04
    • bugfix: full name not correctly displayed on HoF with non-plain auth system, now all authentication systems are supported + code cleanup (thanks to Matthias Grimm)
    • New stat: hall of fame of page size (thanks to Thomas)
    • other: number of rows in HoF now must be defined in the syntax
    • other: code cleanup and other small fixes
  • 2010/01/05
    • bugfix: Problems with date comparison when using histoContribByMonth (reported and fixed by Matthieu)
    • bugfix: few dots not removed during code cleanup causing error in image URLs (reported by Matthieu)
    • bugfix: Bad behavior of “toBeCounted” function returning always false when NO namespace defined (reported and fixed by Matthieu)
  • 2010/01/24
    • bugfix: typo in “toBeCounted” leading to always return true and count of course all pages
    • bugfix: page size of pie chart was not resizable so quickly implement it. (reported and fixed by Matthieu)
    • bugfix: :?: to be confirmed :?: resolution for conflict with charter plugin.
    • New Feat: change the look & feel so that the currently active dokuwiki theme is respected (colors, text sizes, table design, etc) (thanks to Matthias Grimm)
    • New Feat: make the charts themable by dokuwiki themes, too. (thanks to Matthias Grimm)
    • New Feat: replace the page names of the HoF for page sizes by links to that pages 4). (thanks to Matthias Grimm)
    • New Feat: kind of cache system, now if more that one statistic related to users and changes are inserted in the same page server load should be reduced
    • New lang: add german translation (thanks to Matthias Grimm)
    • other: changed PType from normal to block in order to fix XHTML for tables 5)
    • other: fix various typos in the english language file (thanks to Matthias Grimm)
    • other: improve CSS so the statistics look more friendly (thanks to Matthias Grimm)
    • other: Unite CSS for HoF and HoF for page sizes so both tables uses the same styles (thanks to Matthias Grimm)
    • other: removed some unused and not necessary ”<div>” tags.
  • 2010/05/23
    • bugfix: fixed cache-related bug returning php-error when page name contains special characters
    • bugfix: (hopefully) fixed problem with number of pages, users and so on breaking the line before and after
    • bugfix: in function histoContribMonthByDay error in defining file name
    • New Feat: Method to list all events - Creates, Edits, Deletes and Reverts (thanks to Frank M.G. Joergense) 6)
    • New Feat: most edited and less edited pages 7)
    • New Feat: graph area che be defined in the syntax

Development

Check the discussion page for details

Discussion

Please use the discussion page

1) starting from version 20100104
2) If set to ”-1” then the full list of contributors is created
3) If set to ”-1” then the list of all pages in the wiki is created
4) Depending on the wiki configuration those links might be replaced by the article headlines. This makes it easy to split up big articles. Just click on the link and do it. :-)
5) :!: number of pages and number of users will now move to new line, will be fixed in next release :!:
6) still missing french and german translations
7) hope it works… — Emanuele 2010/05/23 15:15

Tools personali