Monthly Stats

From Perforce Workshop
Jump to: navigation, search


Contents

About This Project

The Monthly Stats MediaWiki extension adds a new special page, Special:MonthlyStats, that contains charts showing month-by-month contribution statistics.

If the $wgP4EXEC, $wgP4PORT, $wgP4WEBURL, etc variables are defined (as for the Perforce MediaWiki extension), the same information will be shown for Perforce changelist submissions.

Notes

  • The charts are drawn by the Google Chart API. The server doesn't need to have any special software installed to make this work, since the images are served up by Google, but users will need to be able to connect to google.com.
  • Per-user information will be displayed in the bar charts if it's possible to fit it into a URL of less than 2048 characters. If not, the bar chart will just show the totals for all users.
  • The default timespan shown on the bar chart is one year. Any span from one to ten years can be shown by adding the number of years to the page URL, e.g. Special:MonthlyStats/2.

License

Copyright (C) 2009 Sam Stafford

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Recent Changes RssIcon.gif

      Perforce password (P4PASSWD) invalid or unset.