Manual:Botclasses.php

Botclasses.php is PHP file with several classes to provide access to MediaWiki API. It was originally made by Chris G in 2008 and updated by others up to 2018.

Site statistics
Updates by 24pm include some functions to get site statistics. You can use function  to get it and place wherever in the skin. For now you can show the number of:
 * activeusers - active users
 * admins - adminstrators
 * articles - articles
 * category - articles in category
 * edits - edits
 * images - uploaded files
 * pages - pages
 * users - users

Installation

 * 1) Download Botclasses.php and wikistat.php from GitHub.
 * 2) Place them in the root directory of the skin.
 * 3) Edit   and assign correct values to the variables: $wikiAPI, $wikiUser and $wikiPass
 * 4) Done


 * Documentation in Russian is available.

Usage
1. Include  in skin code (for Vector skin it is VectorTemplate.php)

2. Add HTML code with PHP function:

More info

 * Manual:Chris G's botclasses - usage of botclasses.php
 * Documentation in Russian on botclasses.php