Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater Class Reference
+ Inheritance diagram for Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater:
+ Collaboration diagram for Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater:

Public Member Functions

 onLoadExtensionSchemaUpdates ( $updater)
 Schema update to set up the needed database tables.
 

Static Public Member Functions

static rebuildPropertyTerms (DatabaseUpdater $updater)
 
static rebuildItemTerms (DatabaseUpdater $updater)
 
static fillSubscriptionTable (DatabaseUpdater $dbUpdater, string $table)
 Static wrapper for EntityUsageTableBuilder::fillUsageTable.
 

Private Member Functions

 updateChangesSubscriptionTable (DatabaseUpdater $dbUpdater)
 
 addChangesTable (DatabaseUpdater $updater, string $type)
 
 updateItemsPerSiteTable (DatabaseUpdater $updater, IDatabase $db)
 
 updateChangesTable (DatabaseUpdater $updater, IDatabase $db)
 
 registerPropertyInfoTableUpdates (DatabaseUpdater $updater)
 
 getUpdateScriptPath ( $name, $type)
 
 getScriptPath ( $name, $type)
 

Static Private Member Functions

static newItemIdIterator (int $highestId)
 

Detailed Description

Author
Daniel Kinzler
Marius Hoch

Member Function Documentation

◆ addChangesTable()

Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::addChangesTable ( DatabaseUpdater $updater,
string $type )
private

◆ fillSubscriptionTable()

static Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::fillSubscriptionTable ( DatabaseUpdater $dbUpdater,
string $table )
static

Static wrapper for EntityUsageTableBuilder::fillUsageTable.

◆ getScriptPath()

Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::getScriptPath ( $name,
$type )
private

◆ getUpdateScriptPath()

Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::getUpdateScriptPath ( $name,
$type )
private

◆ newItemIdIterator()

static Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::newItemIdIterator ( int $highestId)
staticprivate

◆ onLoadExtensionSchemaUpdates()

Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::onLoadExtensionSchemaUpdates ( $updater)

Schema update to set up the needed database tables.

See also
https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates
Parameters
DatabaseUpdater$updater

◆ rebuildItemTerms()

static Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::rebuildItemTerms ( DatabaseUpdater $updater)
static

◆ rebuildPropertyTerms()

static Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::rebuildPropertyTerms ( DatabaseUpdater $updater)
static

◆ registerPropertyInfoTableUpdates()

Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::registerPropertyInfoTableUpdates ( DatabaseUpdater $updater)
private

◆ updateChangesSubscriptionTable()

Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::updateChangesSubscriptionTable ( DatabaseUpdater $dbUpdater)
private

◆ updateChangesTable()

Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::updateChangesTable ( DatabaseUpdater $updater,
IDatabase $db )
private

◆ updateItemsPerSiteTable()

Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::updateItemsPerSiteTable ( DatabaseUpdater $updater,
IDatabase $db )
private

The documentation for this class was generated from the following file: