Enables accessing items by providing the identifier of a site and the title of the corresponding page on that site.
More...
|
| getSiteOptions () |
| Return options for the site input field.
|
|
| switchForm ( $siteId, $page) |
| Output a form to allow searching for a page.
|
|
Enables accessing items by providing the identifier of a site and the title of the corresponding page on that site.
- Copyright
- GPL-2.0-or-later
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
-
Daniel Kinzler
◆ __construct()
- See also
- SpecialWikibasePage::__construct
- Parameters
-
EntityTitleLookup | $titleLookup | |
LanguageNameLookup | $languageNameLookup | |
SiteLookup | $siteLookup | |
SiteLinkLookup | $siteLinkLookup | |
SiteLinkTargetProvider | $siteLinkTargetProvider | |
LoggerInterface | $logger | |
string[] | $siteLinkGroups | |
◆ execute()
Wikibase\Repo\Specials\SpecialItemByTitle::execute |
( |
|
$subPage | ) |
|
◆ getSiteOptions()
Wikibase\Repo\Specials\SpecialItemByTitle::getSiteOptions |
( |
| ) |
|
|
private |
Return options for the site input field.
- Returns
- array
◆ newFromGlobalState()
static Wikibase\Repo\Specials\SpecialItemByTitle::newFromGlobalState |
( |
| ) |
|
|
static |
◆ switchForm()
Wikibase\Repo\Specials\SpecialItemByTitle::switchForm |
( |
|
$siteId, |
|
|
|
$page |
|
) |
| |
|
private |
Output a form to allow searching for a page.
- Parameters
-
string | $siteId | |
string | $page | |
◆ $groups
Wikibase\Repo\Specials\SpecialItemByTitle::$groups |
|
private |
◆ $languageNameLookup
Wikibase\Repo\Specials\SpecialItemByTitle::$languageNameLookup |
|
private |
◆ $logger
Wikibase\Repo\Specials\SpecialItemByTitle::$logger |
|
private |
◆ $siteLinkLookup
Wikibase\Repo\Specials\SpecialItemByTitle::$siteLinkLookup |
|
private |
◆ $siteLinkTargetProvider
Wikibase\Repo\Specials\SpecialItemByTitle::$siteLinkTargetProvider |
|
private |
◆ $sites
Wikibase\Repo\Specials\SpecialItemByTitle::$sites |
|
private |
◆ $titleLookup
Wikibase\Repo\Specials\SpecialItemByTitle::$titleLookup |
|
private |
The documentation for this class was generated from the following file: