Go to the source code of this file.
Definition in file updaters.inc.
add_field | ( | $ | table, | |
$ | field, | |||
$ | patch, | |||
$ | fullpath = false | |||
) |
Definition at line 228 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
Referenced by do_all_updates().
add_index | ( | $ | table, | |
$ | index, | |||
$ | patch, | |||
$ | fullpath = false | |||
) |
Definition at line 245 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
Referenced by do_all_updates().
add_table | ( | $ | name, | |
$ | patch, | |||
$ | fullpath = false | |||
) |
Definition at line 213 of file updaters.inc.
References $name, $wgDatabase, archive(), dbsource(), and wfOut().
Referenced by do_all_updates().
archive | ( | $ | name | ) |
Definition at line 1113 of file updaters.inc.
References $IP, and $wgDBtype.
Referenced by add_field(), add_index(), add_table(), check_bin(), do_archive_user_index(), do_backlinking_indices_update(), do_categorylinks_indices_update(), 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_oldimage_user_index(), do_pagelinks_update(), do_postgres_updates(), do_rc_indices_update(), do_restrictions_update(), 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(), maybe_do_profiling_memory_update(), rename_table(), and sqlite_initial_indexes().
check_bin | ( | $ | table, | |
$ | field, | |||
$ | patchFile | |||
) |
1.4 betas were missing the 'binary' marker from logging.log_title, which causes a collation mismatch error on joins in MySQL 4.1.
Definition at line 443 of file updaters.inc.
References $flags, $res, $wgDatabase, $wgDBtype, archive(), dbsource(), and wfOut().
do_active_users_init | ( | ) |
do_all_updates | ( | $ | shared = false , |
|
$ | purge = true | |||
) |
Definition at line 1059 of file updaters.inc.
References $IP, $purge, $shared, $wgDatabase, $wgDBtype, $wgExtNewFields, $wgExtNewIndexes, $wgExtNewTables, $wgSharedDB, $wgSharedTables, $wgUpdates, add_field(), add_index(), add_table(), deleteDefaultMessages(), do_postgres_updates(), do_stats_init(), purge_cache(), wfOut(), and wfRunHooks().
do_archive_user_index | ( | ) |
Definition at line 325 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_backlinking_indices_update | ( | ) |
Definition at line 971 of file updaters.inc.
References archive(), dbsource(), index_has_field(), and wfOut().
do_category_population | ( | ) |
Definition at line 1197 of file updaters.inc.
References populateCategory(), update_row_exists(), and wfOut().
do_categorylinks_indices_update | ( | ) |
Definition at line 982 of file updaters.inc.
References archive(), dbsource(), index_has_field(), and wfOut().
do_copy_newtalk_to_watchlist | ( | ) |
Definition at line 389 of file updaters.inc.
References $i, $res, $user, $wgCommandLineMode, $wgDatabase, like(), and wfOut().
do_drop_img_type | ( | ) |
Definition at line 727 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_filearchive_indices_update | ( | ) |
Definition at line 991 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_image_index_update | ( | ) |
Definition at line 289 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_image_name_unique_update | ( | ) |
Definition at line 303 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_image_user_index | ( | ) |
Definition at line 336 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_index_update | ( | ) |
Definition at line 275 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_interwiki_update | ( | ) |
Definition at line 260 of file updaters.inc.
References $IP, $wgDatabase, archive(), dbsource(), and wfOut().
do_inverse_timestamp | ( | ) |
Definition at line 627 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_logging_timestamp_index | ( | ) |
Definition at line 314 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_namespace_size | ( | ) |
do_namespace_size_on | ( | $ | table, | |
$ | prefix | |||
) |
Definition at line 664 of file updaters.inc.
References $prefix, $result, $sql, $wgDatabase, $wgDBtype, and wfOut().
Referenced by do_namespace_size().
do_old_links_update | ( | ) |
do_oldimage_user_index | ( | ) |
Definition at line 347 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_page_random_update | ( | ) |
Definition at line 870 of file updaters.inc.
References $page, $rows, $wgDatabase, and wfOut().
do_pagelinks_namespace | ( | $ | namespace | ) |
Definition at line 706 of file updaters.inc.
References $name, $ns, $prefix, $sql, $wgContLang, $wgDatabase, and wfOut().
Referenced by do_pagelinks_update().
do_pagelinks_update | ( | ) |
Definition at line 687 of file updaters.inc.
References $name, $ns, $wgCanonicalNamespaceNames, $wgDatabase, archive(), dbsource(), do_pagelinks_namespace(), and wfOut().
do_populate_parent_id | ( | ) |
Definition at line 1211 of file updaters.inc.
References $wgDatabase, populate_rev_parent_id(), update_row_exists(), and wfOut().
do_postgres_updates | ( | ) |
Definition at line 1378 of file updaters.inc.
References $conf, $key, $ns, $path, $sql, $version, $wgDatabase, $wgDBmwschema, $wgDBts2schema, $wgDBuser, $wgExtNewIndexes, $wgExtNewTables, $wgExtPGNewFields, $wgShowExceptionDetails, $wgVersion, archive(), dbsource(), pg_describe_index(), pg_fkey_deltype(), pg_index_exists(), and wfOut().
Referenced by do_all_updates().
do_rc_indices_update | ( | ) |
Definition at line 934 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_restrictions_update | ( | ) |
Definition at line 1122 of file updaters.inc.
References $count, $name, $res, $row, $type, $wgDatabase, archive(), dbsource(), wfOut(), and wfWaitForSlaves().
do_schema_restructuring | ( | ) |
Definition at line 461 of file updaters.inc.
References $fname, $ns, $page, $revision, $row, $rows, $sql, $t, $text, $wgDatabase, $wgLegacySchemaConversion, wfOut(), and wfTimestamp().
do_stats_init | ( | ) |
Definition at line 1015 of file updaters.inc.
References $IP, $row, $wgDatabase, wfInitStats(), and wfOut().
Referenced by do_all_updates().
do_templatelinks_update | ( | ) |
Definition at line 882 of file updaters.inc.
References $count, $fname, $res, $row, $wgDatabase, archive(), dbsource(), wfOut(), and wfWaitForSlaves().
do_text_id | ( | ) |
Definition at line 638 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_unique_pl_tl_il | ( | ) |
Definition at line 1233 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_user_groups_reformat | ( | ) |
Definition at line 825 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
Referenced by do_user_groups_update().
do_user_groups_update | ( | ) |
Definition at line 776 of file updaters.inc.
References $fname, $result, $row, $wgDatabase, archive(), dbsource(), do_user_groups_reformat(), and wfOut().
do_user_unique_update | ( | ) |
Definition at line 761 of file updaters.inc.
References $duper, $wgDatabase, archive(), dbsource(), and wfOut().
do_user_update | ( | ) |
Definition at line 428 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_watchlist_null | ( | ) |
Definition at line 851 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
do_watchlist_update | ( | ) |
Definition at line 358 of file updaters.inc.
References $fname, $wgDatabase, archive(), dbsource(), and wfOut().
fix_ancient_imagelinks | ( | ) |
Definition at line 748 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
index_has_field | ( | $ | table, | |
$ | index, | |||
$ | field | |||
) |
Definition at line 955 of file updaters.inc.
References $row, $wgDatabase, and wfOut().
Referenced by do_backlinking_indices_update(), and do_categorylinks_indices_update().
maybe_do_profiling_memory_update | ( | ) |
Definition at line 1002 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
pg_describe_index | ( | $ | idx | ) |
Definition at line 1277 of file updaters.inc.
References $res, $wgDatabase, $wgDBmwschema, and END.
Referenced by do_postgres_updates().
pg_describe_table | ( | $ | table | ) |
pg_fkey_deltype | ( | $ | fkey | ) |
Definition at line 1339 of file updaters.inc.
References $row, $wgDatabase, $wgDBmwschema, and END.
Referenced by do_postgres_updates().
pg_index_exists | ( | $ | table, | |
$ | index | |||
) |
Definition at line 1328 of file updaters.inc.
References $wgDatabase, and $wgDBmwschema.
Referenced by do_postgres_updates().
pg_rule_def | ( | $ | table, | |
$ | rule | |||
) |
purge_cache | ( | ) |
Definition at line 1050 of file updaters.inc.
References $wgDatabase, and wfOut().
Referenced by do_all_updates().
rename_table | ( | $ | from, | |
$ | to, | |||
$ | patch | |||
) |
Definition at line 196 of file updaters.inc.
References $wgDatabase, archive(), dbsource(), and wfOut().
sqlite_initial_indexes | ( | ) |
Definition at line 1222 of file updaters.inc.
References $wgDatabase, archive(), update_row_exists(), and wfOut().
update_row_exists | ( | $ | key | ) |
Definition at line 185 of file updaters.inc.
References $dbr, $key, $row, and wfGetDB().
Referenced by do_category_population(), do_populate_parent_id(), and sqlite_initial_indexes().
$wgExtNewFields = array() |
$wgExtNewIndexes = array() |
Definition at line 180 of file updaters.inc.
Referenced by do_all_updates(), and do_postgres_updates().
$wgExtNewTables = array() |
Definition at line 177 of file updaters.inc.
Referenced by do_all_updates(), and do_postgres_updates().
$wgExtPGNewFields = array() |
$wgUpdates |
List of update functions to call for each DB type, in sequence.
First item is function name, rest are parameters to pass.
Definition at line 22 of file updaters.inc.
Referenced by do_all_updates().
Definition at line 7 of file updaters.inc.