Wikibase
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

 $extensionRegistry
 

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
https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgExtensionFunctions

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ factory()

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

◆ getApiFormatReferenceSpec()

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

◆ getHooks()

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

◆ onExtensionLoad()

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

Member Data Documentation

◆ $extensionRegistry

Wikibase\Client\Hooks\ExtensionLoadHandler::$extensionRegistry
private

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