On 1/2/08, Huji huji.huji@gmail.com wrote:
Hi
According to http://www.mediawiki.org/wiki/Wiki_farm , on wiki farms created using symlinks we can run update.php for each wiki separately. The question is, is there a way to run update.php for other types of wiki farms? To my knowledge Wikimedia doesn't use symlinks for its wikis; how do they get updated (and we have hundreds of them so there must be an easy way to do it).
I doubt Wikipedia does use update.php. It would be fairly disastrous to just send an ALTER TABLE to the master, which in any case would presumably not propagate to the slaves. Schema changes are applied manually. If they're big enough, they're applied by taking each slave out of rotation one by one, applying the change, and re-adding it to rotation, then switching the master and doing the same to the former master.