Huji 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).
To run command line scripts on Wikimedia wikis, we use a special hack in
commandLine.inc which allows you to select the database name on the
command line. This hack is committed, but probably won't work for anyone else.
If you have separate LocalSettings.php files, you can use the --conf
argument specify which wiki you want to run the script on. If, like us,
you have only one, you would have to modify the Wikimedia hack to make it
work for you.
Like Simetrical says, we don't actually run update.php, but we do run a
lot of other command line scripts.
-- Tim Starling