Wikibase
MediaWiki Wikibase extension
Wikibase\Lib\Formatters\EntityIdLinkFormatter Class Reference

Formats entity IDs by generating a wiki link to the corresponding page title with the id serialization as text. More...

+ Inheritance diagram for Wikibase\Lib\Formatters\EntityIdLinkFormatter:
+ Collaboration diagram for Wikibase\Lib\Formatters\EntityIdLinkFormatter:

Public Member Functions

 formatEntityId (EntityId $entityId)
 
- Public Member Functions inherited from Wikibase\Lib\Formatters\EntityIdTitleFormatter
 __construct (EntityTitleLookup $titleLookup)
 

Additional Inherited Members

- Protected Attributes inherited from Wikibase\Lib\Formatters\EntityIdTitleFormatter
 $titleLookup
 

Detailed Description

Formats entity IDs by generating a wiki link to the corresponding page title with the id serialization as text.

Author
Daniel Kinzler

Member Function Documentation

◆ formatEntityId()

Wikibase\Lib\Formatters\EntityIdLinkFormatter::formatEntityId ( EntityId  $entityId)
See also
EntityIdFormatter::formatEntityId
Parameters
EntityId$entityId
Returns
string Wikitext

Reimplemented from Wikibase\Lib\Formatters\EntityIdTitleFormatter.


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