wiki.techinc.nl/maintenance/update.php
Brion Vibber 3aa17a75a3 Pull the actual series of updater calls into do_all_updaters(), add
the necessary require_all's to updaters.inc, and add a command-line
update.php which runs them without having to pull things out and
run the web installer.
2004-10-13 07:38:43 +00:00

20 lines
386 B
PHP

<?php
/**
* Run all updaters.
*
* @todo document
* @package MediaWiki
* @subpackage Maintenance
*/
/** */
require_once( "commandLine.inc" );
require_once( "updaters.inc" );
$wgTitle = Title::newFromText( "MediaWiki database updater" );
$wgDatabase = Database::newFromParams( $wgDBserver, $wgDBadminuser, $wgDBadminpassword, $wgDBname );
do_all_updates();
print "Done.\n";
?>