Extension:Metrica

Category:Unmaintained extensions#Metrica Category:Extensions without a compatibility policyCategory:MIT licensed extensions
MediaWiki extensions manual
Metrica
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Special page Category:Special page extensions
Description Caches aware statistics collection framework
Author(s) Vedmakatalk
Latest version 0.1
MediaWiki 1.25+Category:Extensions with manual MediaWiki version
Database changes Yes
Tables metrica
License MIT License
Download Category:Extensions in GitHub version control
Example Screenshot
$wgMetricaExcludeSpecials
Category:All extensionsCategory:Extensions not in ExtensionJson

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

  • Download and place the file(s) in a directory called Metrica in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Metrica' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

You can enable or disable metrics collection for special pages by changing $wgMetricaExcludeSpecials variable. By default special pages are excluded from tracking.

User rights

Only users with metrica right are allowed to visit Special:Metrica page. By default only sysops granted with this permission.

Category:All extensions Category:BeforePageDisplay extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions which add rights Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:LoadExtensionSchemaUpdates extensions Category:MIT licensed extensions Category:ResourceLoaderGetConfigVars extensions Category:Special page extensions Category:Unmaintained extensions