Wikibase
MediaWiki Wikibase extension
|
Formats entity IDs by generating HTML for when the entity ID does not exist. More...
Public Member Functions | |
__construct (string $deletedEntityMessagePrefix) | |
formatEntityId (EntityId $entityId) | |
Protected Member Functions | |
getUndefinedInfoMessage (EntityId $entityId) | |
Private Attributes | |
$deletedEntityMessagePrefix | |
Formats entity IDs by generating HTML for when the entity ID does not exist.
Wikibase\Lib\Formatters\NonExistingEntityIdHtmlFormatter::__construct | ( | string | $deletedEntityMessagePrefix | ) |
string | $deletedEntityMessagePrefix | E.g. 'wikibase-deletedentity-' |
Wikibase\Lib\Formatters\NonExistingEntityIdHtmlFormatter::formatEntityId | ( | EntityId | $entityId | ) |
EntityId | $entityId |
Implements Wikibase\DataModel\Services\EntityId\EntityIdFormatter.
Reimplemented in Wikibase\Lib\Formatters\NonExistingEntityIdHtmlBrokenLinkFormatter.
|
protected |
EntityId | $entityId |
|
private |