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. | |
getTitleHtml (EntityDocument $entity) | |
Returns the html used for the title of the page. | |
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\ItemView, and Wikibase\View\PropertyView.
Wikibase\View\EntityDocumentView::getTitleHtml | ( | EntityDocument | $entity | ) |
Returns the html used for the title of the page.
EntityDocument | $entity |
Implemented in Wikibase\View\EntityView, Wikibase\View\ItemView, and Wikibase\View\PropertyView.