Provides logic to update the repo after page moves in the client.
More...
|
| __construct ( $repoDB, SiteLinkLookup $siteLinkLookup, LoggerInterface $logger, UserIdentity $user, $siteId, Title $oldTitle, Title $newTitle) |
|
| __construct ( $repoDB, SiteLinkLookup $siteLinkLookup, LoggerInterface $logger, UserIdentity $user, $siteId, Title $title) |
|
| isApplicable () |
| Whether the update can be applied to repo. More...
|
|
| injectJob (JobQueueGroup $jobQueueGroup) |
| Inject the current job into the job queue of the repo. More...
|
|
Provides logic to update the repo after page moves in the client.
- Copyright
- GPL-2.0-or-later
- Author
- Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >
◆ __construct()
Wikibase\Client\UpdateRepo\UpdateRepoOnMove::__construct |
( |
|
$repoDB, |
|
|
SiteLinkLookup |
$siteLinkLookup, |
|
|
LoggerInterface |
$logger, |
|
|
UserIdentity |
$user, |
|
|
|
$siteId, |
|
|
Title |
$oldTitle, |
|
|
Title |
$newTitle |
|
) |
| |
- Parameters
-
string | $repoDB | Database name of the repo |
SiteLinkLookup | $siteLinkLookup | |
LoggerInterface | $logger | |
UserIdentity | $user | |
string | $siteId | Global id of the client wiki |
Title | $oldTitle | |
Title | $newTitle | |
◆ getJobName()
Wikibase\Client\UpdateRepo\UpdateRepoOnMove::getJobName |
( |
| ) |
|
|
protected |
◆ getJobParameters()
Wikibase\Client\UpdateRepo\UpdateRepoOnMove::getJobParameters |
( |
| ) |
|
|
protected |
◆ $newTitle
Wikibase\Client\UpdateRepo\UpdateRepoOnMove::$newTitle |
|
private |
The documentation for this class was generated from the following file: