Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
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 newFromGlobalState ()
 
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

◆ getApiFormatReferenceSpec()

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

◆ getHooks()

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

◆ newFromGlobalState()

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

◆ 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: