Extension:SiteMetrics

From Linux Web Expert

MediaWiki extensions manual
SiteMetrics
Release status: stable
File:SiteMetrics.png
Implementation Special page
Description Displays statistics about social tools for privileged users
Author(s) Aaron Wright, David Pean, Jack Phoenix
Latest version 1.6.0 (2019-12-31)
MediaWiki 1.39+
License GNU General Public License 2.0 or later
Download
see below
metricsview
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the SiteMetrics extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

SiteMetrics extension adds a new special page, Special:SiteMetrics, for viewing statistics regarding the usage of social tools . This special page is a restricted one. the user must have metricsview user right in order to access it. By default, administrators and staff are granted this right.

SiteMetrics uses Google Charts' API to display the graphs.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/SiteMetrics</tvar>|Download]] and move the extracted <tvar name=name>SiteMetrics</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SiteMetrics
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'SiteMetrics' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>