Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |
updateParserOutput (ParserOutput $parserOutput) | |
Update extension data, properties or other data in ParserOutput. | |
processStatement (Statement $statement) | |
Extract some data or do processing on a Statement during parsing. | |
Wikibase\Repo\ParserOutput\StatementDataUpdater::processStatement | ( | Statement | $statement | ) |
Extract some data or do processing on a Statement during parsing.
This method is normally invoked when processing a StatementList for all Statements on a StatementListProvider (e.g. an Item).
Statement | $statement |
Implemented in Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater, Wikibase\Repo\ParserOutput\ExternalLinksDataUpdater, Wikibase\Repo\ParserOutput\GeoDataDataUpdater, Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater, Wikibase\Repo\ParserOutput\ImageLinksDataUpdater, and Wikibase\Repo\ParserOutput\PageImagesDataUpdater.
Wikibase\Repo\ParserOutput\StatementDataUpdater::updateParserOutput | ( | ParserOutput | $parserOutput | ) |
Update extension data, properties or other data in ParserOutput.
These updates are invoked when EntityContent::getParserOutput is called.
ParserOutput | $parserOutput |
Implemented in Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater, Wikibase\Repo\ParserOutput\ExternalLinksDataUpdater, Wikibase\Repo\ParserOutput\GeoDataDataUpdater, Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater, Wikibase\Repo\ParserOutput\ImageLinksDataUpdater, and Wikibase\Repo\ParserOutput\PageImagesDataUpdater.