Join our WikiEducator discussion group or Register now for free skills training
Bots
From WikiEducator
| Work in progress, expect frequent changes. Help and feedback is welcome. See discussion page. |
WikiEducator can be customised to deliver a range of reports using "bots" or "scripts".
Here are links to information about creating bots.
- The http://sf.net/projects/mwclient library for making bots is quite powerful.
- http://www.mediawiki.org/wiki/Extension:DynamicPageList (This looks very interesting... although a little more server load than a bot that generates the stats periodically.)
Examples
These examples use the mwclient library.
| script | description | sample output | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| category.py | Scan all pages in a category (or all pages starting with a given prefix) and build a table showing edits in the last day, 2 days, 90 days, and total edits as well as page creation date and last edit date. It also displays total views for each page.
| Community Media Stats Otago Polytechnic Stats | |||||||||||||||||||||||||||
| masters.py | Look at all user pages for each of the WikiEducator Masters Certifications to find when each person was certified and by whom. | WikiEducator Certifications | |||||||||||||||||||||||||||

