You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
530 B
Markdown

4 years ago
# 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.
4 years ago
![](docs/export.png)
4 years ago
6. Move the downloaded xml file into the same folder as `wiki-stats.py`, and run the script.
## Sample output
4 years ago
<img src="docs/stats.png" width="500">