API module to associate two pages on two different sites with a Wikibase item.
More...
API module to associate two pages on two different sites with a Wikibase item.
Requires API write mode to be enabled.
- Copyright
- GPL-2.0-or-later
- Author
- John Erling Blad < jebla.nosp@m.d@gm.nosp@m.ail.c.nosp@m.om >
-
Addshore
◆ __construct()
◆ buildResult()
Wikibase\Repo\Api\LinkTitles::buildResult |
( |
?Item | $item, |
|
|
Status | $status ) |
|
private |
◆ factory()
◆ getAllowedParams()
Wikibase\Repo\Api\LinkTitles::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getAttemptSaveStatus()
Wikibase\Repo\Api\LinkTitles::getAttemptSaveStatus |
( |
?Item | $item, |
|
|
Summary | $summary, |
|
|
int | $flags ) |
|
private |
◆ getExamplesMessages()
Wikibase\Repo\Api\LinkTitles::getExamplesMessages |
( |
| ) |
|
|
protected |
◆ getSiteAndNormalizedPageName()
Wikibase\Repo\Api\LinkTitles::getSiteAndNormalizedPageName |
( |
SiteList | $sites, |
|
|
string | $site, |
|
|
string | $pageTitle ) |
|
private |
- Parameters
-
SiteList | $sites | |
string | $site | |
string | $pageTitle | |
- Returns
- array ( Site $site, string $pageName ) -return array{0:Site,1:string}
◆ isWriteMode()
Wikibase\Repo\Api\LinkTitles::isWriteMode |
( |
| ) |
|
◆ needsToken()
Wikibase\Repo\Api\LinkTitles::needsToken |
( |
| ) |
|
- See also
- ApiBase::needsToken
- Returns
- string
◆ validateParameters()
Wikibase\Repo\Api\LinkTitles::validateParameters |
( |
array | $params | ) |
|
|
protected |
- See also
- ModifyEntity::validateParameters
- Parameters
-
◆ $entitySavingHelper
Wikibase\Repo\Api\LinkTitles::$entitySavingHelper |
|
private |
◆ $errorReporter
Wikibase\Repo\Api\LinkTitles::$errorReporter |
|
private |
◆ $resultBuilder
Wikibase\Repo\Api\LinkTitles::$resultBuilder |
|
private |
◆ $revisionLookup
Wikibase\Repo\Api\LinkTitles::$revisionLookup |
|
private |
◆ $siteLinkGlobalIdentifiersProvider
Wikibase\Repo\Api\LinkTitles::$siteLinkGlobalIdentifiersProvider |
|
private |
◆ $siteLinkGroups
Wikibase\Repo\Api\LinkTitles::$siteLinkGroups |
|
private |
◆ $siteLinkStore
Wikibase\Repo\Api\LinkTitles::$siteLinkStore |
|
private |
◆ $siteLinkTargetProvider
Wikibase\Repo\Api\LinkTitles::$siteLinkTargetProvider |
|
private |
The documentation for this class was generated from the following file: