Extension:WikiFarm

WikiFarm extension is a tool for a wiki-farm administrator to automate multiple wikis maintenance.

About
WikiFarm v2.0 is using MediaWiki API, so code was completely rewritten. See for previous versions and release notes.

WikiFarm does not build wiki farm, it was created to watch/manage the existing farms (not just one farm, but several farms), but it can be used for one wiki as well.

There is an "admin wiki" term. Admin wiki could be just a regular wiki. WikiFarm use it to:
 * read user database (used for bot connections. It is optional, since bot can connect anonymously)
 * read interwiki table (optional)
 * write log pages (optional)

Current version has 4 modules:
 * WikiFarmStatistics - main module provides wiki farm statistics. It shows the following information for each wiki in a farm:
 * wiki name (build from table prefix)
 * wiki URL
 * number of pages
 * number of categories
 * number of templates
 * interwiki prefix, if exists in interwiki table

the following is visible in debug info level only:
 * table prefix in DB
 * DB name
 * DB server


 * WikiFarmChanges - shows recent changes from all wikis
 * WikiFarmPages - shows all articles in the project from all wikis
 * WikiFarmLog - provides links to log pages. Bots can write to log. Which is useful to trace their work. Log is a page (s) in "project" namespace


 * + Special script for batch MySQL tables renaming you can find in tools directory

More features are under development and come up in future releases. I am morally ready to use git as soon as there will be others who interested in that.

Prerequisite

 * CURL module for php5. Most likely you have it.

Installation

 * 1) Add to LocalSettings.php the following line:
 * 2) Set variables in /extensions/WikiFarm/WikiFarm_config.php
 * 3) Optionally disable WikiFarm tools at the end of /extensions/WikiFarm/WikiFarm.php

Usage
Visit web page Special:WikiFarm

Issues

 * WikiFarmChanges:
 * Hide my edits -- it is to be implemented pretty soon
 * Show changes since -- this feature has no use to me, so it is with very low priority to implement

Please send me a note if you have found some more.

Samples

 * http://sysadminwiki.ru/wiki/Special:WikiFarm -- a single wiki (Russian)
 * http://ru.teopedia.org/main/Special:WikiFarm -- two wiki farms with 8 wikis each (Russian)