Extension:StatisticsLog

StatisticsLog extension enables a very accurate usage monitoring inside your MediaWiki by providing a new Special page - Special:StatisticsLog. This enables you to view individual user page hits, by user or by page.

Installation

 * 1) Get the code and create the files accordingly.
 * 2) Create a new folder in your extensions directory. Name it StatisticsLog.
 * 3) Add  to the bottom of LocalSettings.php.
 * 4) Installation can now be verified through Special:Version of your wiki.

Parameters
This extension adds these global parameters:
 * $wgExcludedNameSpaces - Defines excluded Namespaces from your statistics (array). Default values are none (all namespaces are monitored)
 * $wgHistoryYears - Defines how many years back to show you statistics. Default value is 5.

For example, to exclude the "MediaWiki" namespace define  right after   in your LocalSettings.php

API's
This extension also provides direct URL request through the GET method. To achieve that simply point your browser to the address of the special page with the desired parameters. For example:

http:// / /index.php?title=Special:Statistics_log&username=WikiSysop &startdate_year=2010&enddate_year=2011&enddate_month=2&getstat=true