Wikibase
MediaWiki Wikibase extension
Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater Class Reference

Schema updater for SqlUsageTracker. More...

+ Inheritance diagram for Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater:
+ Collaboration diagram for Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater:

Public Member Functions

 onLoadExtensionSchemaUpdates ( $updater)
 Applies any schema updates. More...
 

Static Public Member Functions

static fillUsageTable (DatabaseUpdater $dbUpdater)
 Static wrapper for EntityUsageTableBuilder::fillUsageTable. More...
 

Private Member Functions

 getUpdateScriptPath ( $name, $type)
 
 getScriptPath ( $name, $type)
 

Detailed Description

Schema updater for SqlUsageTracker.

Author
Daniel Kinzler

Member Function Documentation

◆ fillUsageTable()

static Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater::fillUsageTable ( DatabaseUpdater  $dbUpdater)
static

Static wrapper for EntityUsageTableBuilder::fillUsageTable.

Parameters
DatabaseUpdater$dbUpdater

◆ getScriptPath()

Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater::getScriptPath (   $name,
  $type 
)
private

◆ getUpdateScriptPath()

Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater::getUpdateScriptPath (   $name,
  $type 
)
private

◆ onLoadExtensionSchemaUpdates()

Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater::onLoadExtensionSchemaUpdates (   $updater)

Applies any schema updates.

Parameters
DatabaseUpdater$updaterDatabaseUpdater subclass

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