Job for updating the repo after a page on the client has been deleted.
More...
Job for updating the repo after a page on the client has been deleted.
- Copyright
- GPL-2.0-or-later
- Author
- Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >
◆ __construct()
Wikibase\Repo\UpdateRepo\UpdateRepoOnDeleteJob::__construct |
( |
Title |
$title, |
|
|
array |
$params = [] |
|
) |
| |
Constructs a UpdateRepoOnMoveJob propagating a page move to the repo.
- Note
- This is for use by Job::factory, don't call it directly; use newFrom*() instead.
-
the constructor's signature is dictated by Job::factory, so we'll have to live with it even though it's rather ugly for our use case.
- See also
- Job::factory
-
UpdateRepoJob::__construct
- Parameters
-
◆ applyChanges()
Wikibase\Repo\UpdateRepo\UpdateRepoOnDeleteJob::applyChanges |
( |
Item |
$item | ) |
|
|
protected |
◆ getSiteLink()
Wikibase\Repo\UpdateRepo\UpdateRepoOnDeleteJob::getSiteLink |
( |
Item |
$item, |
|
|
string |
$globalId |
|
) |
| |
|
private |
Get a SiteLink for a specific item and site.
◆ getSummary()
Wikibase\Repo\UpdateRepo\UpdateRepoOnDeleteJob::getSummary |
( |
| ) |
|
◆ initRepoJobServicesFromGlobalState()
Wikibase\Repo\UpdateRepo\UpdateRepoOnDeleteJob::initRepoJobServicesFromGlobalState |
( |
| ) |
|
|
protected |
◆ initServices()
◆ verifyValid()
Wikibase\Repo\UpdateRepo\UpdateRepoOnDeleteJob::verifyValid |
( |
Item |
$item | ) |
|
|
protected |
◆ $siteLookup
Wikibase\Repo\UpdateRepo\UpdateRepoOnDeleteJob::$siteLookup |
|
private |
The documentation for this class was generated from the following file: