Provides logic to update the repo after page moves in the client.
More...
|
| __construct ( $repoDB, SiteLinkLookup $siteLinkLookup, LoggerInterface $logger, User $user, $siteId, Title $oldTitle, Title $newTitle) |
|
| __construct ( $repoDB, SiteLinkLookup $siteLinkLookup, LoggerInterface $logger, User $user, $siteId, Title $title) |
|
| isApplicable () |
| Whether the update can be applied to repo.
|
|
| injectJob (JobQueueGroup $jobQueueGroup) |
| Inject the current job into the job queue of the repo.
|
|
|
| getJobName () |
| Get the name of the Job that should be run on the repo.
|
|
| getJobParameters () |
| Get the parameters for creating a new JobSpecification.
|
|
| getEntityId () |
| Get the EntityId that we want to update.
|
|
| getJobDelay () |
| Get the time (in seconds) for which the job execution should be delayed (if delayed jobs are enabled).
|
|
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, |
|
|
User |
$user, |
|
|
|
$siteId, |
|
|
Title |
$oldTitle, |
|
|
Title |
$newTitle |
|
) |
| |
- Parameters
-
string | $repoDB | Database name of the repo |
SiteLinkLookup | $siteLinkLookup | |
LoggerInterface | $logger | |
User | $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: