Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\ParserOutput\EntityParserOutputUpdater Interface Reference
+ Inheritance diagram for Wikibase\Repo\ParserOutput\EntityParserOutputUpdater:

Public Member Functions

 updateParserOutput (ParserOutput $parserOutput, EntityDocument $entity)
 Update extension data, properties or other data in ParserOutput. More...
 

Detailed Description

Member Function Documentation

◆ updateParserOutput()

Wikibase\Repo\ParserOutput\EntityParserOutputUpdater::updateParserOutput ( ParserOutput  $parserOutput,
EntityDocument  $entity 
)

Update extension data, properties or other data in ParserOutput.

These updates are invoked when EntityContent::getParserOutput is called.

Parameters
ParserOutput$parserOutput
EntityDocument$entity
Returns
void

Implemented in Wikibase\Repo\ParserOutput\ReferencedEntitiesDataUpdater, Wikibase\Repo\ParserOutput\PropertyParserOutputUpdater, and Wikibase\Repo\ParserOutput\ItemParserOutputUpdater.


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