Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander Class Reference
+ Inheritance diagram for Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander:
+ Collaboration diagram for Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander:

Public Member Functions

 __construct (OutputPage $outputPage, TermboxRequestInspector $requestInspector, TermboxRenderer $termboxRenderer, OutputPageEntityIdReader $entityIdReader, RepoSpecialPageLinker $specialPageLinker, LanguageFallbackChainFactory $languageFallbackChainFactory, OutputPageRevisionIdReader $revisionIdReader, bool $enableUserSpecificSSR)
 
 getHtmlForPlaceholder ( $name)
 

Public Attributes

const FALLBACK_HTML = '<div class="wikibase-entitytermsview renderer-fallback"></div>'
 

Private Member Functions

 getHtml ()
 
 rerenderTermbox ()
 

Private Attributes

 $outputPage
 
 $requestInspector
 
 $termboxRenderer
 
 $entityIdReader
 
 $specialPageLinker
 
 $languageFallbackChainFactory
 
 $revisionIdReader
 
 $enableUserSpecificSSR
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::__construct ( OutputPage $outputPage,
TermboxRequestInspector $requestInspector,
TermboxRenderer $termboxRenderer,
OutputPageEntityIdReader $entityIdReader,
RepoSpecialPageLinker $specialPageLinker,
LanguageFallbackChainFactory $languageFallbackChainFactory,
OutputPageRevisionIdReader $revisionIdReader,
bool $enableUserSpecificSSR )

Member Function Documentation

◆ getHtml()

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::getHtml ( )
private

◆ getHtmlForPlaceholder()

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::getHtmlForPlaceholder ( $placeholderName)
Parameters
string$placeholderName
Returns
string html

Implements Wikibase\Repo\ParserOutput\PlaceholderExpander\PlaceholderExpander.

◆ rerenderTermbox()

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::rerenderTermbox ( )
private

Member Data Documentation

◆ $enableUserSpecificSSR

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::$enableUserSpecificSSR
private

◆ $entityIdReader

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::$entityIdReader
private

◆ $languageFallbackChainFactory

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::$languageFallbackChainFactory
private

◆ $outputPage

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::$outputPage
private

◆ $requestInspector

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::$requestInspector
private

◆ $revisionIdReader

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::$revisionIdReader
private

◆ $specialPageLinker

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::$specialPageLinker
private

◆ $termboxRenderer

Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::$termboxRenderer
private

◆ FALLBACK_HTML

const Wikibase\Repo\ParserOutput\PlaceholderExpander\ExternallyRenderedEntityViewPlaceholderExpander::FALLBACK_HTML = '<div class="wikibase-entitytermsview renderer-fallback"></div>'

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