maintenance/update.php File Reference

Run all updaters. More...

Go to the source code of this file.

Variables

 $wgUseMasterForMaintenance = true
 $options = array( 'quick', 'nopurge' )
 $wgTitle = Title::newFromText( "MediaWiki database updater" )
 $dbclass = 'Database' . ucfirst( $wgDBtype )
if(!isset($wgDBadminuser)||!isset($wgDBadminpassword)) $wgDatabase = new $dbclass( $wgDBserver, $wgDBadminuser, $wgDBadminpassword, $wgDBname, 1 )
print Depending on the size of
your database this may take a
while 
n
if(!isset($options['quick'])) $shared = isset( $options['doshared'] )
 $purge = !isset( $options['nopurge'] )


Detailed Description

Run all updaters.

This is used when the database schema is modified and we need to apply patches.

Todo:
document

Definition in file update.php.


Variable Documentation

$dbclass = 'Database' . ucfirst( $wgDBtype )

Definition at line 19 of file update.php.

$options = array( 'quick', 'nopurge' )

Definition at line 15 of file update.php.

$purge = !isset( $options['nopurge'] )

Definition at line 60 of file update.php.

Referenced by FeedUtils::checkPurge(), do_all_updates(), and Article::view().

if (!isset($options['quick'])) $shared = isset( $options['doshared'] )

if (!isset($wgDBadminuser)||!isset($wgDBadminpassword)) $wgDatabase = new $dbclass( $wgDBserver, $wgDBadminuser, $wgDBadminpassword, $wgDBname, 1 )

$wgTitle = Title::newFromText( "MediaWiki database updater" )

Definition at line 18 of file update.php.

$wgUseMasterForMaintenance = true

Definition at line 14 of file update.php.

print Done n

Definition at line 47 of file update.php.


Generated on Sat Sep 5 02:08:28 2009 for MediaWiki by  doxygen 1.5.9