Wikibase
MediaWiki Wikibase extension
|
Enables accessing a linked page on a site by providing the item id and site id. More...
Public Member Functions | |
__construct (SiteLookup $siteLookup, SiteLinkLookup $siteLinkLookup, EntityRedirectLookup $redirectLookup, EntityIdParser $idParser, EntityLookup $entityLookup) | |
execute ( $subPage) | |
Public Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
__construct ( $name='', $restriction='', $listed=true) | |
getDescription () | |
setHeaders () | |
Static Public Member Functions | |
static | factory (EntityIdParser $entityIdParser, Store $store) |
Private Member Functions | |
getArguments ( $subPage) | |
getTargetUrl ( $site, $itemString) | |
getItemId ( $itemString) | |
Parses a string to itemId. More... | |
loadLinks ( $site, ItemId $itemId) | |
Load the sitelink using a SiteLinkLookup. More... | |
outputForm (array $sites, $itemString) | |
Output a form via the context's OutputPage object to go to a sitelink (linked page) for an item and site id. More... | |
outputError () | |
Outputs an error message. More... | |
Private Attributes | |
$siteLookup | |
$siteLinkLookup | |
$redirectLookup | |
$idParser | |
$entityLookup | |
$errorMessageKey = null | |
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 | |
Enables accessing a linked page on a site by providing the item id and site id.
Wikibase\Repo\Specials\SpecialGoToLinkedPage::__construct | ( | SiteLookup | $siteLookup, |
SiteLinkLookup | $siteLinkLookup, | ||
EntityRedirectLookup | $redirectLookup, | ||
EntityIdParser | $idParser, | ||
EntityLookup | $entityLookup | ||
) |
SiteLookup | $siteLookup | |
SiteLinkLookup | $siteLinkLookup | |
EntityRedirectLookup | $redirectLookup | |
EntityIdParser | $idParser | |
EntityLookup | $entityLookup |
Wikibase\Repo\Specials\SpecialGoToLinkedPage::execute | ( | $subPage | ) |
string | null | $subPage |
Reimplemented from Wikibase\Repo\Specials\SpecialWikibasePage.
|
static |
|
private |
string | null | $subPage |
|
private |
Parses a string to itemId.
string | $itemString |
|
private |
string | $site | |
string | $itemString |
|
private |
Load the sitelink using a SiteLinkLookup.
Resolves item redirects, if needed.
string | $site | |
ItemId | $itemId |
|
private |
Outputs an error message.
|
private |
Output a form via the context's OutputPage object to go to a sitelink (linked page) for an item and site id.
string[] | $sites | |
string | $itemString |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |