Extension:Metrica
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
Release status: unmaintained |
|
|---|---|
| Implementation | Special page |
| Description | Caches aware statistics collection framework |
| Author(s) | Vedmakatalk |
| Latest version | 0.1 |
| MediaWiki | 1.25+ |
| Database changes | Yes |
|
$wgMetricaExcludeSpecials |
|
|
metrica |
|
| Licence | MIT License |
| Download | GitHub:
Note: |
| Example | Screenshot |
Metrica is caches-compatible statistics collection extension for Mediawiki. It allows to collect number of page views (and page edits) even when your Mediawiki is hardly cached ( opcache, squid, file-cache, etc ), because metrics are sent from client to server ( like Google Analytics ).
Installation
[edit]- Download and place the file(s) in a directory called
Metricain yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'Metrica' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parameters
[edit]You can enable or disable metrics collection for special pages by changing $wgMetricaExcludeSpecials variable. By default special pages are excluded from tracking.
User rights
[edit]Only users with metrica right are allowed to visit Special:Metrica page. By default only sysops granted with this permission.
