Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Hooks\LoadExtensionSchemaUpdatesHookHandler Class Reference

Handler for the "LoadExtensionSchemaUpdates" hook. More...

+ Inheritance diagram for Wikibase\Client\Hooks\LoadExtensionSchemaUpdatesHookHandler:
+ Collaboration diagram for Wikibase\Client\Hooks\LoadExtensionSchemaUpdatesHookHandler:

Public Member Functions

 onLoadExtensionSchemaUpdates ( $updater)
 Applies any schema updates.
 

Static Public Member Functions

static primeUnexpectedUnconnectedPage (DatabaseUpdater $dbUpdater)
 Static wrapper for UnexpectedUnconnectedPagePrimer::insertPageProp.
 

Public Attributes

const UPDATE_KEY_UNEXPECTED_UNCONNECTED_PAGE = 'Wikibase-Client-primeUnexpectedUnconnectedPage-v3'
 

Detailed Description

Handler for the "LoadExtensionSchemaUpdates" hook.

This can't use dependency injection as this hook is used in a context where the global service locator is not yet initialised.

Author
Marius Hoch mail@.nosp@m.mari.nosp@m.ushoc.nosp@m.h.de

Member Function Documentation

◆ onLoadExtensionSchemaUpdates()

Wikibase\Client\Hooks\LoadExtensionSchemaUpdatesHookHandler::onLoadExtensionSchemaUpdates ( $updater)

Applies any schema updates.

Parameters
DatabaseUpdater$updaterDatabaseUpdater subclass

◆ primeUnexpectedUnconnectedPage()

static Wikibase\Client\Hooks\LoadExtensionSchemaUpdatesHookHandler::primeUnexpectedUnconnectedPage ( DatabaseUpdater $dbUpdater)
static

Static wrapper for UnexpectedUnconnectedPagePrimer::insertPageProp.

Member Data Documentation

◆ UPDATE_KEY_UNEXPECTED_UNCONNECTED_PAGE

const Wikibase\Client\Hooks\LoadExtensionSchemaUpdatesHookHandler::UPDATE_KEY_UNEXPECTED_UNCONNECTED_PAGE = 'Wikibase-Client-primeUnexpectedUnconnectedPage-v3'

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