Wikibase
MediaWiki Wikibase extension
|
Generates HTML to display the terms of an entity. More...
Public Member Functions | |
getHtml ( $mainLanguageCode, TermList $labels, TermList $descriptions, AliasGroupList $aliasGroups=null, EntityId $entityId=null) | |
getTitleHtml (EntityId $entityId=null) | |
Public Attributes | |
const | TERMS_EDIT_SPECIAL_PAGE = 'SetLabelDescriptionAliases' |
Generates HTML to display the terms of an entity.
Wikibase\View\EntityTermsView::getHtml | ( | $mainLanguageCode, | |
TermList | $labels, | ||
TermList | $descriptions, | ||
AliasGroupList | $aliasGroups = null , |
||
EntityId | $entityId = null |
||
) |
string | $mainLanguageCode | Desired language of the label, description and aliases in the title and header section. Not necessarily identical to the interface language. |
TermList | $labels | |
TermList | $descriptions | |
AliasGroupList | null | $aliasGroups | |
EntityId | null | $entityId | the id of the entity |
Implemented in Wikibase\View\SimpleEntityTermsView, Wikibase\Repo\ParserOutput\TermboxView, and Wikibase\Repo\ParserOutput\PlaceholderEmittingEntityTermsView.
Wikibase\View\EntityTermsView::getTitleHtml | ( | EntityId | $entityId = null | ) |
EntityId | null | $entityId |
Implemented in Wikibase\View\SimpleEntityTermsView, and Wikibase\Repo\ParserOutput\TermboxView.
const Wikibase\View\EntityTermsView::TERMS_EDIT_SPECIAL_PAGE = 'SetLabelDescriptionAliases' |