StatMediaWiki: Difference between revisions
Jump to navigation
Jump to search
m (using an external editor) |
m (using an external editor) |
||
Line 29: | Line 29: | ||
apt-get install python-Matplotlib | apt-get install python-Matplotlib | ||
In addition (optional) you may need [[ | In addition (optional) you may need [[Graphviz]] | ||
=== Create a database user with read-only access to the wiki database === | === Create a database user with read-only access to the wiki database === |
Revision as of 18:07, 26 January 2012
<pageby nominor="false" comments="false"/>
Introduction
StatMediaWiki is a project that creates tools to collect and aggregate information available in a MediaWiki installation. StatMediaWiki is free software under the GPL v3 or higher license. There are currently two versions of this software: Classic (stable software) and Interactive (currently Beta).
Classic StatMediaWiki
Results are static HTML pages including tables and graphics that can help to analyze the wiki status and development.
Installation
(under Ubuntu/Debian)
Get the software
This will retrieve the whole archive
svn checkout https://forja.rediris.es/svn/statmediawiki
Other software needed
(for now, we assume that you already have python installed)
You may have to install some or all of the following:
apt-get install python-gnuplot apt-get install python-MySQLdb apt-get install python-NumPy apt-get install python-SciPy apt-get install python-Matplotlib
In addition (optional) you may need Graphviz
Create a database user with read-only access to the wiki database
- Add a user to the MySQL server
- E.g. user="analysis" password="xxx" with a SELECT priviledge for database "MyWiki"
- Add a .my.cnf configuration file to your home directory
user = analysis password = xxx host = localhost
- Fix some broken code in file statmediawiki/branches/v0.2/
Fix the lines with
/home/emijrp/.my.cnf
by something like what ?
Command line example
- python statmediawiki/branches/v0.2/statmediawiki.py --outputdir="/web/analysis/test" --sitename=DeWiki --siteurl=http://edutechwiki.unige.ch --subdir="/dewiki/" --dbname=dewiki
Links
- Official
- Other
- StatMediaWiki at Meta.Wikimedia.org