Wikibase
MediaWiki Wikibase extension
|
Interface for creating views for all different kinds of Wikibase\DataModel\Entity\EntityDocument. More...
Public Member Functions | |
getContent (EntityDocument $entity, $revision) | |
Builds and returns the HTML representing a whole WikibaseEntity. More... | |
getTitleHtml (EntityDocument $entity) | |
Returns the html used for the title of the page. More... | |
Interface for creating views for all different kinds of Wikibase\DataModel\Entity\EntityDocument.
Wikibase\View\EntityDocumentView::getContent | ( | EntityDocument | $entity, |
$revision | |||
) |
Builds and returns the HTML representing a whole WikibaseEntity.
EntityDocument | $entity | the entity to render |
int | $revision | the revision of the entity to render |
Implemented in Wikibase\View\PropertyView, and Wikibase\View\ItemView.
Wikibase\View\EntityDocumentView::getTitleHtml | ( | EntityDocument | $entity | ) |
Returns the html used for the title of the page.
EntityDocument | $entity |
Implemented in Wikibase\View\PropertyView, Wikibase\View\ItemView, and Wikibase\View\EntityView.