Extension:MirrorTools

This is the MirrorTools extension and some bots that go with it. The largest use case will be Inclupedia.

What can this extension do?
This extension extends various API classes to allow revisions to be added with arbitrary user names (and, in a later version, timestamps). This aids in mirroring of another wiki's content.

Requirements
MirrorTools only works properly on 64-bit systems, because it uses bigint.

Installation
Then run update.php to install the tables. For the bot, see https://github.com/Inclumedia/MirrorBot

Configuration
See the api.php on your wiki for more details on parameters for the various MirrorTools API modules.

To get the bot to work:
 * Get the files for Chris G's botclasses and put them in a directory which, in the next step, you will specify by $botClassesPath in mirrorbot_passwords.php. Specifically, get botclasses.php, http.php, lyricswiki.php, and mediawiki.php.
 * Put your usernames, passwords, database info, etc. in Extension:MirrorTools/mirrorbot_defaults.php. You'll want to change the following:
 * Change your passwords in Extension:MirrorTools/mirrorbot_passwords.php.

Usage
See Extension:MirrorTools/mirrorPullBot.php, Extension:MirrorTools/mirrorPushBot.php, etc.

Troubleshooting

 * Call to undefined function curl_init