Wikibase
MediaWiki Wikibase extension
|
Interface for creating meta tags (e.g. More...
Public Member Functions | |
getMetaTags (EntityDocument $entity) | |
Creates an entity meta tags array with keys as follows: array['title'] string The title e.g. | |
Interface for creating meta tags (e.g.
title and description) for all different kinds of EntityDocument.
Wikibase\View\EntityMetaTagsCreator::getMetaTags | ( | EntityDocument | $entity | ) |
Creates an entity meta tags array with keys as follows: array['title'] string The title e.g.
for the html page title of an entity. array['description'] string|null The description which may not always be set.
EntityDocument | $entity |
Implemented in Wikibase\View\DefaultMetaTagsCreator.