Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |
updateParserOutput (ParserOutput $parserOutput) | |
Update extension data, properties or other data in ParserOutput. More... | |
processStatement (Statement $statement) | |
Extract some data or do processing on a Statement during parsing. More... | |
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\PageImagesDataUpdater, Wikibase\Repo\ParserOutput\ImageLinksDataUpdater, Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater, Wikibase\Repo\ParserOutput\GeoDataDataUpdater, Wikibase\Repo\ParserOutput\ExternalLinksDataUpdater, and Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater.
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\PageImagesDataUpdater, Wikibase\Repo\ParserOutput\ImageLinksDataUpdater, Wikibase\Repo\ParserOutput\GlobeCoordinateKartographerDataUpdater, Wikibase\Repo\ParserOutput\GeoDataDataUpdater, Wikibase\Repo\ParserOutput\ExternalLinksDataUpdater, and Wikibase\Repo\ParserOutput\CompositeStatementDataUpdater.