StatMediaWiki: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{stub}} == Introduction == == Installation == (under Ubuntu/Debian) === Get the software === This will retrieve the whole archive svn checkout https://forja.rediris.es...") |
m (using an external editor) |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
<pageby nominor="false" comments="false"/> | |||
== Introduction == | == 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 == | == Installation == | ||
Line 18: | Line 24: | ||
You may have to install some or all of the following: | You may have to install some or all of the following: | ||
apt-get install python-gnuplot | apt-get install python-gnuplot | ||
apt-get install python-MySQLdb | |||
=== 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 == | == Links == | ||
Line 29: | Line 57: | ||
* [http://meta.wikimedia.org/wiki/StatMediaWiki StatMediaWiki] at Meta.Wikimedia.org | * [http://meta.wikimedia.org/wiki/StatMediaWiki StatMediaWiki] at Meta.Wikimedia.org | ||
[[Category: | [[Category: Wikis]] | ||
[[Category: Wikimedia]] |
Revision as of 18:04, 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
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