API module for getting wikis subscribed to changes to given entities.
More...
API module for getting wikis subscribed to changes to given entities.
- Copyright
- GPL-2.0-or-later
- Author
- Amir Sarabadani ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
◆ __construct()
Wikibase\Repo\Api\ListSubscribers::__construct |
( |
ApiQuery |
$mainModule, |
|
|
string |
$moduleName, |
|
|
ApiErrorReporter |
$errorReporter, |
|
|
EntityIdParser |
$idParser, |
|
|
SiteLookup |
$siteLookup |
|
) |
| |
- Parameters
-
ApiQuery | $mainModule | |
string | $moduleName | |
ApiErrorReporter | $errorReporter | |
EntityIdParser | $idParser | |
SiteLookup | $siteLookup | |
- See also
- ApiBase::__construct
◆ addContinue()
Wikibase\Repo\Api\ListSubscribers::addContinue |
( |
string |
$continueParam | ) |
|
|
private |
◆ doQuery()
Wikibase\Repo\Api\ListSubscribers::doQuery |
( |
array |
$idStrings, |
|
|
?string |
$continue, |
|
|
int |
$limit |
|
) |
| |
- Parameters
-
string[] | $idStrings | |
string | null | $continue | |
int | $limit | |
- Returns
- IResultWrapper
◆ execute()
Wikibase\Repo\Api\ListSubscribers::execute |
( |
| ) |
|
◆ formatResult()
Wikibase\Repo\Api\ListSubscribers::formatResult |
( |
IResultWrapper |
$res, |
|
|
int |
$limit, |
|
|
array |
$props |
|
) |
| |
|
private |
- Parameters
-
IResultWrapper | $res | |
int | $limit | |
array | $props | |
◆ getAllowedParams()
Wikibase\Repo\Api\ListSubscribers::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getCacheMode()
Wikibase\Repo\Api\ListSubscribers::getCacheMode |
( |
|
$params | ) |
|
- See also
- ApiQueryBase::getCacheMode
- Parameters
-
- Returns
- string
◆ getEntityUsageUrl()
Wikibase\Repo\Api\ListSubscribers::getEntityUsageUrl |
( |
string |
$subscription, |
|
|
string |
$entityIdString |
|
) |
| |
|
private |
- Parameters
-
string | $subscription | |
string | $entityIdString | |
- Returns
- null|string
◆ getExamplesMessages()
Wikibase\Repo\Api\ListSubscribers::getExamplesMessages |
( |
| ) |
|
|
protected |
◆ getSubscriber()
Wikibase\Repo\Api\ListSubscribers::getSubscriber |
( |
stdClass |
$row, |
|
|
bool |
$url |
|
) |
| |
|
private |
- Parameters
-
- Returns
- string[]
◆ newFromGlobalState()
static Wikibase\Repo\Api\ListSubscribers::newFromGlobalState |
( |
ApiQuery |
$apiQuery, |
|
|
string |
$moduleName |
|
) |
| |
|
static |
◆ setContinueFromRow()
Wikibase\Repo\Api\ListSubscribers::setContinueFromRow |
( |
stdClass |
$row | ) |
|
|
private |
◆ $errorReporter
Wikibase\Repo\Api\ListSubscribers::$errorReporter |
|
private |
◆ $idParser
Wikibase\Repo\Api\ListSubscribers::$idParser |
|
private |
◆ $siteLookup
Wikibase\Repo\Api\ListSubscribers::$siteLookup |
|
private |
The documentation for this class was generated from the following file: