Creates the parser output for an entity.
More...
|
| __construct (DispatchingEntityViewFactory $entityViewFactory, DispatchingEntityMetaTagsCreatorFactory $entityMetaTagsCreatorFactory, ParserOutputJsConfigBuilder $configBuilder, EntityTitleLookup $entityTitleLookup, TermLanguageFallbackChain $termLanguageFallbackChain, TemplateFactory $templateFactory, LocalizedTextProvider $textProvider, EntityDataFormatProvider $entityDataFormatProvider, array $dataUpdaters, Language $language) |
|
| getParserOutput (EntityRevision $entityRevision, $generateHtml=true) |
| Creates the parser output for the given entity revision. More...
|
|
◆ __construct()
◆ addAlternateLinks()
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::addAlternateLinks |
( |
ParserOutput |
$parserOutput, |
|
|
EntityId |
$entityId |
|
) |
| |
|
private |
Add alternate links as extension data.
OutputPageBeforeHTMLHookHandler will add these to the OutputPage.
- Parameters
-
◆ addHtmlToParserOutput()
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::addHtmlToParserOutput |
( |
ParserOutput |
$parserOutput, |
|
|
EntityRevision |
$entityRevision |
|
) |
| |
|
private |
◆ addModules()
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::addModules |
( |
ParserOutput |
$parserOutput | ) |
|
|
private |
◆ getParserOutput()
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::getParserOutput |
( |
EntityRevision |
$entityRevision, |
|
|
|
$generateHtml = true |
|
) |
| |
◆ $configBuilder
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$configBuilder |
|
private |
◆ $dataUpdaters
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$dataUpdaters |
|
private |
◆ $entityDataFormatProvider
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$entityDataFormatProvider |
|
private |
◆ $entityMetaTagsCreatorFactory
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$entityMetaTagsCreatorFactory |
|
private |
◆ $entityTitleLookup
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$entityTitleLookup |
|
private |
◆ $entityViewFactory
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$entityViewFactory |
|
private |
◆ $language
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$language |
|
private |
◆ $languageCode
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$languageCode |
|
private |
◆ $templateFactory
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$templateFactory |
|
private |
◆ $termLanguageFallbackChain
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$termLanguageFallbackChain |
|
private |
◆ $textProvider
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$textProvider |
|
private |
The documentation for this class was generated from the following file: