Extension:Metrics

This extension displays metrics that have been predefined. Basically, we needed the ability to keep track of daily statistics about our wiki, and we wanted as much flexibility as possible.

The special page displays all of the metric names, and allows you to select one (or more) of them, as well as a date range, and then displays the output in a sortable table.

Installation

 * 1) Create a directory called   in your extensions directory
 * 2) Download the following files into the Metrics directory:
 * 3) SpecialMetrics.php
 * 4) SpecialMetrics.i18n.php
 * 5) Create the table to hold the metrics data:

Creating your metrics
The simplest way to create your metrics is to create a SQL file like the following in your extensions/Metrics directory. We call ours.

Then you simply need to execute your SQL on a periodic basis. We use crontab to run the file

To Do

 * I'd like to add graphing support

Sites using this extension
Please add your site (and a link if it is public) to the list! Thanks!
 * Key National Finance WiKey (internal intranet)