WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter Class Reference
+ Inheritance diagram for Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter:
+ Collaboration diagram for Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter:

Public Member Functions

 __construct (EntityTitleLookup $titleLookup, EntityRevisionLookup $revisionLookup, LocalizedTextProvider $localizedTextProvider, TermLanguageFallbackChain $termLanguageFallbackChain, LanguageFallbackIndicator $languageFallbackIndicator, LanguageFactory $languageFactory, EntityIdFormatter $entityIdLabelFormatter)
 

Private Member Functions

 getTextWrappedInLink (string $linkContents, Title $title)
 
 buildSenseLinkContents (TermList $lemmas, string $languageLabel, TermFallback $gloss)
 
 buildGlossMarkup (TermFallback $gloss)
 
 buildLemmasMarkup (TermList $lemmas)
 

Private Attributes

EntityTitleLookup $titleLookup
 
EntityRevisionLookup $revisionLookup
 
LocalizedTextProvider $localizedTextProvider
 
TermLanguageFallbackChain $termLanguageFallbackChain
 
LanguageFallbackIndicator $languageFallbackIndicator
 
LanguageFactory $languageFactory
 
EntityIdFormatter $entityIdLabelFormatter
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::__construct ( EntityTitleLookup $titleLookup,
EntityRevisionLookup $revisionLookup,
LocalizedTextProvider $localizedTextProvider,
TermLanguageFallbackChain $termLanguageFallbackChain,
LanguageFallbackIndicator $languageFallbackIndicator,
LanguageFactory $languageFactory,
EntityIdFormatter $entityIdLabelFormatter )

Member Function Documentation

◆ buildGlossMarkup()

Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::buildGlossMarkup ( TermFallback $gloss)
private

◆ buildLemmasMarkup()

Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::buildLemmasMarkup ( TermList $lemmas)
private

◆ buildSenseLinkContents()

Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::buildSenseLinkContents ( TermList $lemmas,
string $languageLabel,
TermFallback $gloss )
private

◆ getTextWrappedInLink()

Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::getTextWrappedInLink ( string $linkContents,
Title $title )
private

Member Data Documentation

◆ $entityIdLabelFormatter

EntityIdFormatter Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::$entityIdLabelFormatter
private

◆ $languageFactory

LanguageFactory Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::$languageFactory
private

◆ $languageFallbackIndicator

LanguageFallbackIndicator Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::$languageFallbackIndicator
private

◆ $localizedTextProvider

LocalizedTextProvider Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::$localizedTextProvider
private

◆ $revisionLookup

EntityRevisionLookup Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::$revisionLookup
private

◆ $termLanguageFallbackChain

TermLanguageFallbackChain Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::$termLanguageFallbackChain
private

◆ $titleLookup

EntityTitleLookup Wikibase\Lexeme\Presentation\Formatters\SenseIdHtmlFormatter::$titleLookup
private

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