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.
20 lines
386 B
PHP
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";
|
|
|
|
?>
|