Creates the parser output for an entity.
More...
|
| __construct (DispatchingEntityViewFactory $entityViewFactory, DispatchingEntityMetaTagsCreatorFactory $entityMetaTagsCreatorFactory, ParserOutputJsConfigBuilder $configBuilder, EntityTitleLookup $entityTitleLookup, LanguageFallbackChain $languageFallbackChain, TemplateFactory $templateFactory, LocalizedTextProvider $textProvider, EntityDataFormatProvider $entityDataFormatProvider, array $dataUpdaters, Language $language) |
|
| getParserOutput (EntityRevision $entityRevision, $generateHtml=true) |
| Creates the parser output for the given entity revision.
|
|
◆ __construct()
- Parameters
-
DispatchingEntityViewFactory | $entityViewFactory | |
DispatchingEntityMetaTagsCreatorFactory | $entityMetaTagsCreatorFactory | |
ParserOutputJsConfigBuilder | $configBuilder | |
EntityTitleLookup | $entityTitleLookup | |
LanguageFallbackChain | $languageFallbackChain | |
TemplateFactory | $templateFactory | |
LocalizedTextProvider | $textProvider | |
EntityDataFormatProvider | $entityDataFormatProvider | |
EntityParserOutputUpdater[] | $dataUpdaters | |
Language | $language | |
◆ 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
-
ParserOutput | $parserOutput | |
EntityId | $entityId | |
◆ 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 |
◆ $languageFallbackChain
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$languageFallbackChain |
|
private |
◆ $repoSettings
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$repoSettings |
|
private |
◆ $templateFactory
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$templateFactory |
|
private |
◆ $textProvider
Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator::$textProvider |
|
private |
The documentation for this class was generated from the following file: