# wiki-usage

Generate usage stats on a mediawiki site.

## Usage

1.  Get list of all wiki pages with the script `wiki_pages.py`

2.  Go to this wiki page:  
    <http://wiki.wrl.unsw.edu.au/index.php/Special:Export>

3.  Paste the list of page titles.
4.  Uncheck the box 'Include only the current revision, not the full history'.
5.  Click export.

![](docs/export.png)

6.  Move the downloaded xml file into the same folder as `wiki-stats.py`, and run the script.

## Sample output

![](docs/stats.png)