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'] ) |
This is used when the database schema is modified and we need to apply patches.
Definition in file update.php.
$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'] ) |
Definition at line 59 of file update.php.
Referenced by WikiDiff3::diff(), do_all_updates(), UploadDumper::fetchLocal(), UploadDumper::fetchUsed(), UploadDumper::filterItem(), and UploadDumper::outputItem().
if (!isset($wgDBadminuser)||!isset($wgDBadminpassword)) $wgDatabase = new $dbclass( $wgDBserver, $wgDBadminuser, $wgDBadminpassword, $wgDBname, 1 ) |
Definition at line 37 of file update.php.
Referenced by add_field(), add_index(), add_table(), check_bin(), dbsource(), do_active_users_init(), do_all_updates(), do_archive_user_index(), do_copy_newtalk_to_watchlist(), do_drop_img_type(), do_filearchive_indices_update(), do_image_index_update(), do_image_name_unique_update(), do_image_user_index(), do_index_update(), do_interwiki_update(), do_inverse_timestamp(), do_logging_timestamp_index(), do_namespace_size_on(), do_old_links_update(), do_oldimage_user_index(), do_page_random_update(), do_pagelinks_namespace(), do_pagelinks_update(), do_populate_parent_id(), do_postgres_updates(), do_rc_indices_update(), do_restrictions_update(), do_schema_restructuring(), do_stats_init(), do_templatelinks_update(), do_text_id(), do_unique_pl_tl_il(), do_user_groups_reformat(), do_user_groups_update(), do_user_unique_update(), do_user_update(), do_watchlist_null(), do_watchlist_update(), fix_ancient_imagelinks(), index_has_field(), maybe_do_profiling_memory_update(), pg_describe_index(), pg_describe_table(), pg_fkey_deltype(), pg_index_exists(), pg_rule_def(), purge_cache(), rename_table(), and sqlite_initial_indexes().
$wgTitle = Title::newFromText( "MediaWiki database updater" ) |
Definition at line 18 of file update.php.
$wgUseMasterForMaintenance = true |
Definition at line 14 of file update.php.
Definition at line 47 of file update.php.