python and R scripts that look a the revision history stats for a wikipedia category
Python R
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
categoryStatsPlotter.R
category_customized.py
statsFromCategory.py

README

all code in this folder is CC-BY Max Klein

==To run this script you'll need==
*python 2.7 and pywikipediabot.
*R (I'm using 2.14)
*the category_customized.py class so you don't write the category you get to wikipedia accdientally


==Possible bug in pywikipediabot==
If things dont work, change the line in pywikipediabot in wikipedia.py from:

            if 'query-continue' in result and getAll:
                params['rvstartid'] = result['query-continue']['revisions']['rvstartid']

to 

            if 'query-continue' in result and getAll:
                params['rvstartid'] = result['query-continue']['revisions']['rvcontinue']

==Todo==
*Create a shell script that runs this two scripts in succession.
*Increase the temporal resolution from the month level.