Extension:MirrorTools

This is the MirrorTools extension and some bots that go with it.

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. You'll want to change the following:

$wgMirrorToolsDynamicParentIDs
Defaults to false. If left to false, MirrorTools will use mirrored parent IDs. Set to true to make rev_parent_id, rc_last_oldid, etc. be sorted chronologically instead. See Extension:MirrorTools/Design_decisions. Note, this feature is not fully implemented so you will want to leave it to false for the foreseeable future.

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

Troubleshooting

 * Call to undefined function curl_init