Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Formatters\NonExistingEntityIdHtmlBrokenLinkFormatter Class Reference
+ Inheritance diagram for Wikibase\Lib\Formatters\NonExistingEntityIdHtmlBrokenLinkFormatter:
+ Collaboration diagram for Wikibase\Lib\Formatters\NonExistingEntityIdHtmlBrokenLinkFormatter:

Public Member Functions

 __construct (string $deletedEntityMessagePrefix, EntityTitleTextLookup $entityTitleTextLookup, EntityUrlLookup $entityUrlLookup)
 
 formatEntityId (EntityId $entityId)
 
- Public Member Functions inherited from Wikibase\Lib\Formatters\NonExistingEntityIdHtmlFormatter
 __construct (string $deletedEntityMessagePrefix)
 

Private Attributes

 $entityTitleTextLookup
 
 $entityUrlLookup
 

Additional Inherited Members

- Protected Member Functions inherited from Wikibase\Lib\Formatters\NonExistingEntityIdHtmlFormatter
 getUndefinedInfoMessage (EntityId $entityId)
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Formatters\NonExistingEntityIdHtmlBrokenLinkFormatter::__construct ( string $deletedEntityMessagePrefix,
EntityTitleTextLookup $entityTitleTextLookup,
EntityUrlLookup $entityUrlLookup )
Parameters
string$deletedEntityMessagePrefixE.g. 'wikibase-deletedentity-'
EntityTitleTextLookup$entityTitleTextLookup
EntityUrlLookup$entityUrlLookup

Member Function Documentation

◆ formatEntityId()

Wikibase\Lib\Formatters\NonExistingEntityIdHtmlBrokenLinkFormatter::formatEntityId ( EntityId $entityId)
Parameters
EntityId$entityId
Returns
string HTML

Reimplemented from Wikibase\Lib\Formatters\NonExistingEntityIdHtmlFormatter.

Member Data Documentation

◆ $entityTitleTextLookup

Wikibase\Lib\Formatters\NonExistingEntityIdHtmlBrokenLinkFormatter::$entityTitleTextLookup
private

◆ $entityUrlLookup

Wikibase\Lib\Formatters\NonExistingEntityIdHtmlBrokenLinkFormatter::$entityUrlLookup
private

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