Wikimedia sync script

It is possible to keep your MediaWiki install automatically synced with the Wikimedia wikis by way of a script. This can be a good idea because your wikis are automatically up to date and you will have the same functionality as the Wikimedia wikis (without the terror of absolute bleeding edge).


 * 1) Save the script below as
 * 2) Add a job to your crontab for it to run as often as you want (once a day should be fine):
 * 1) Add a job to your crontab for it to run as often as you want (once a day should be fine):

It's probably a good idea to add a script that creates backups on a regular basis as well…

Script
By Andrew Garrett, under a "do whatever you want with it" license: