[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/installer/ -> MysqlUpdater.php (summary)

MySQL-specific updater. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 1074 lines (39 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MysqlUpdater:: (30 methods):
  getCoreUpdateList()
  checkBin()
  indexHasField()
  doInterwikiUpdate()
  doIndexUpdate()
  doOldLinksUpdate()
  doFixAncientImagelinks()
  doWatchlistUpdate()
  doSchemaRestructuring()
  doNamespaceSize()
  doPagelinksUpdate()
  doUserUniqueUpdate()
  doUserGroupsUpdate()
  doWatchlistNull()
  doPageRandomUpdate()
  doTemplatelinksUpdate()
  doBacklinkingIndicesUpdate()
  doRestrictionsUpdate()
  doCategorylinksIndicesUpdate()
  doCategoryPopulation()
  doPopulateParentId()
  doEnableProfiling()
  doMaybeProfilingMemoryUpdate()
  doFilearchiveIndicesUpdate()
  doUniquePlTlIl()
  doUpdateMimeMinorField()
  doClFieldsUpdate()
  doLangLinksLengthUpdate()
  doUserNewTalkTimestampNotNull()
  doIwlinksIndexNonUnique()


Class: MysqlUpdater  - X-Ref

Mysql update list and mysql-specific update functions.

getCoreUpdateList()   X-Ref
No description

checkBin( $table, $field, $patchFile )   X-Ref
1.4 betas were missing the 'binary' marker from logging.log_title,
which causes a collation mismatch error on joins in MySQL 4.1.

param: string $table Table name
param: string $field Field name to check
param: string $patchFile Path to the patch to correct the field
return: bool

indexHasField( $table, $index, $field )   X-Ref
Check whether an index contain a field

param: string $table Table name
param: string $index Index name to check
param: string $field Field that should be in the index
return: bool

doInterwikiUpdate()   X-Ref
Check that interwiki table exists; if it doesn't source it


doIndexUpdate()   X-Ref
Check that proper indexes are in place


doOldLinksUpdate()   X-Ref
No description

doFixAncientImagelinks()   X-Ref
No description

doWatchlistUpdate()   X-Ref
Check if we need to add talk page rows to the watchlist


doSchemaRestructuring()   X-Ref
No description

doNamespaceSize()   X-Ref
No description

doPagelinksUpdate()   X-Ref
No description

doUserUniqueUpdate()   X-Ref
No description

doUserGroupsUpdate()   X-Ref
No description

doWatchlistNull()   X-Ref
Make sure wl_notificationtimestamp can be NULL,
and update old broken items.


doPageRandomUpdate()   X-Ref
Set page_random field to a random value where it is equals to 0.


doTemplatelinksUpdate()   X-Ref
No description

doBacklinkingIndicesUpdate()   X-Ref
No description

doRestrictionsUpdate()   X-Ref
Adding page_restrictions table, obsoleting page.page_restrictions.
Migrating old restrictions to new table
-- Andrew Garrett, January 2007.


doCategorylinksIndicesUpdate()   X-Ref
No description

doCategoryPopulation()   X-Ref
No description

doPopulateParentId()   X-Ref
No description

doEnableProfiling()   X-Ref
No description

doMaybeProfilingMemoryUpdate()   X-Ref
No description

doFilearchiveIndicesUpdate()   X-Ref
No description

doUniquePlTlIl()   X-Ref
No description

doUpdateMimeMinorField()   X-Ref
No description

doClFieldsUpdate()   X-Ref
No description

doLangLinksLengthUpdate()   X-Ref
No description

doUserNewTalkTimestampNotNull()   X-Ref
No description

doIwlinksIndexNonUnique()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1