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 (LangLinkHandlerFactory $langLinkHandlerFactory, NamespaceChecker $namespaceChecker, ClientParserOutputDataUpdater $parserOutputDataUpdater, UsageAccumulatorFactory $usageAccumulatorFactory)
 
 onContentAlterParserOutput ( $content, $title, $parserOutput)
 Handler for the ContentAlterParserOutput hook, which runs after internal parsing.
 
 doContentAlterParserOutput (Content $content, Title $title, ParserOutput $parserOutput)
 

Private Attributes

 $namespaceChecker
 
 $langLinkHandlerFactory
 
 $parserOutputDataUpdater
 
 $usageAccumulatorFactory
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ doContentAlterParserOutput()

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

◆ 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

◆ $langLinkHandlerFactory

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

◆ $namespaceChecker

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

◆ $parserOutputDataUpdater

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

◆ $usageAccumulatorFactory

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

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