Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Hooks\ParserOutputUpdateHookHandler Class Reference
+ Inheritance diagram for Wikibase\Client\Hooks\ParserOutputUpdateHookHandler:
+ Collaboration diagram for Wikibase\Client\Hooks\ParserOutputUpdateHookHandler:

Public Member Functions

 __construct (NamespaceChecker $namespaceChecker, LangLinkHandlerFactory $langLinkHandlerFactory, ClientParserOutputDataUpdater $parserOutputDataUpdater, EntityUsageFactory $entityUsageFactory)
 
 onContentAlterParserOutput ( $content, $title, $parserOutput)
 Handler for the ContentAlterParserOutput hook, which runs after internal parsing.
 
 doContentAlterParserOutput (Title $title, ParserOutput $parserOutput)
 

Static Public Member Functions

static newFromGlobalState ()
 

Private Attributes

 $namespaceChecker
 
 $langLinkHandlerFactory
 
 $parserOutputDataUpdater
 
 $entityUsageFactory
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Hooks\ParserOutputUpdateHookHandler::__construct ( NamespaceChecker  $namespaceChecker,
LangLinkHandlerFactory  $langLinkHandlerFactory,
ClientParserOutputDataUpdater  $parserOutputDataUpdater,
EntityUsageFactory  $entityUsageFactory 
)

Member Function Documentation

◆ doContentAlterParserOutput()

Wikibase\Client\Hooks\ParserOutputUpdateHookHandler::doContentAlterParserOutput ( Title  $title,
ParserOutput  $parserOutput 
)

◆ newFromGlobalState()

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

◆ onContentAlterParserOutput()

Wikibase\Client\Hooks\ParserOutputUpdateHookHandler::onContentAlterParserOutput (   $content,
  $title,
  $parserOutput 
)

Handler for the ContentAlterParserOutput hook, which runs after internal parsing.

See also
https://www.mediawiki.org/wiki/Manual:Hooks/ContentAlterParserOutput
Parameters
Content$content
Title$title
ParserOutput$parserOutput

Member Data Documentation

◆ $entityUsageFactory

Wikibase\Client\Hooks\ParserOutputUpdateHookHandler::$entityUsageFactory
private

◆ $langLinkHandlerFactory

Wikibase\Client\Hooks\ParserOutputUpdateHookHandler::$langLinkHandlerFactory
private

◆ $namespaceChecker

Wikibase\Client\Hooks\ParserOutputUpdateHookHandler::$namespaceChecker
private

◆ $parserOutputDataUpdater

Wikibase\Client\Hooks\ParserOutputUpdateHookHandler::$parserOutputDataUpdater
private

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