MediaWiki Wikibase extension
Wikibase\Client\Hooks\ExtensionLoadHandler Class Reference

Do special hook registrations. More...

Public Member Functions

 __construct (ExtensionRegistry $extensionRegistry)
 getHooks ()
 getApiFormatReferenceSpec (array $clientSettings)

Static Public Member Functions

static factory ()
static onExtensionLoad ()

Private Attributes


Detailed Description

Do special hook registrations.

These are affected by ordering issues and/or conditional on another extension being registered.

Strictly speaking, this isn’t a hook handler (it’s called through $wgExtensionFunctions, not $wgHooks), but it behaves very similarly so it’s grouped with the real hook handlers.

See also$wgExtensionFunctions

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Hooks\ExtensionLoadHandler::__construct ( ExtensionRegistry  $extensionRegistry)

Member Function Documentation

◆ factory()

static Wikibase\Client\Hooks\ExtensionLoadHandler::factory ( )

◆ getApiFormatReferenceSpec()

Wikibase\Client\Hooks\ExtensionLoadHandler::getApiFormatReferenceSpec ( array  $clientSettings)

◆ getHooks()

Wikibase\Client\Hooks\ExtensionLoadHandler::getHooks ( )

◆ onExtensionLoad()

static Wikibase\Client\Hooks\ExtensionLoadHandler::onExtensionLoad ( )

Member Data Documentation

◆ $extensionRegistry


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