Extension:ContributionReporting

This extension provides a special page which builds reports for contributions to the WikiMedia Foundation. Data is relative to either a specific range of dates or the current fiscal year. This extension also depends on (and is part of) ContributionReporting. If ContributionStatistics is included manually, instead of automatically by ContributionReporting, the MediaWiki database will be used - which functionality is for testing only.

Ranges
By appending /range/start_date:end_date to the end of the page url, such as Special:ContributionStatistics/range/2008-11-03:2009-07-01 you can generate statistics for a given range of dates. The end date is optional, and if not set the effective end date will become the end of the current fiscal year.

Installation
'''This extension depends on access to a CiviCRM database, namely the public_reporting table. Without access to that table, this extension will not work.'''

require_once ( "$IP/extensions/ContributionStatistics/ContributionStatistics.php" );
 * Copy the ContributionStatistics folder into your extensions directory.
 * Add the following line to the bottom of LocalSettings.php

Configuration
The following parameters can be set by defining values for the following variables in your LocalSettings.php file.