Wikibase
MediaWiki Wikibase extension
|
Special page for addressing entity data pages without knowing the namespace. More...
Public Member Functions | |
__construct (EntityIdParser $entityIdParser, EntityTitleLookup $entityTitleLookup) | |
execute ( $subPage) | |
Public Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
__construct ( $name='', $restriction='', $listed=true) | |
getDescription () | |
setHeaders () | |
Private Attributes | |
$entityIdParser | |
$entityTitleLookup | |
$allowedQueryParameters | |
Additional Inherited Members | |
Protected Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
getGroupName () | |
checkBlocked () | |
Checks if user is blocked, and if blocked throws a UserBlocked. More... | |
showErrorHTML ( $error) | |
Protected Attributes inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
$stringNormalizer | |
Special page for addressing entity data pages without knowing the namespace.
This special page redirects to a page that represents the given entity ID. This special page is completely agnostic to what is the page of the entity. This is the responsibility of EntityTitleLookup that can e.g. return local titles for local entities, and use interwikis for foreign entities.
This allows wikis to link to an entity page without needing to know namespace names of entity types configured on the target wiki.
Wikibase\Repo\Specials\SpecialEntityPage::__construct | ( | EntityIdParser | $entityIdParser, |
EntityTitleLookup | $entityTitleLookup | ||
) |
Wikibase\Repo\Specials\SpecialEntityPage::execute | ( | $subPage | ) |
string | null | $subPage |
HttpError |
Reimplemented from Wikibase\Repo\Specials\SpecialWikibasePage.
|
private |
|
private |
|
private |