Job for updating the repo after a page on the client has been moved.
More...
Job for updating the repo after a page on the client has been moved.
- Copyright
- GPL-2.0-or-later
- Author
- Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >
◆ __construct()
Wikibase\Repo\UpdateRepo\UpdateRepoOnMoveJob::__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\UpdateRepoOnMoveJob::applyChanges |
( |
Item |
$item | ) |
|
|
protected |
◆ getNormalizedPageName()
Wikibase\Repo\UpdateRepo\UpdateRepoOnMoveJob::getNormalizedPageName |
( |
| ) |
|
|
private |
- Returns
- string|bool False in case the normalization failed
◆ getSiteLink()
Wikibase\Repo\UpdateRepo\UpdateRepoOnMoveJob::getSiteLink |
( |
Item |
$item, |
|
|
string |
$globalId |
|
) |
| |
|
private |
Get a SiteLink for a specific item and site.
◆ getSummary()
Wikibase\Repo\UpdateRepo\UpdateRepoOnMoveJob::getSummary |
( |
| ) |
|
◆ initRepoJobServicesFromGlobalState()
Wikibase\Repo\UpdateRepo\UpdateRepoOnMoveJob::initRepoJobServicesFromGlobalState |
( |
| ) |
|
|
protected |
◆ initServices()
◆ verifyValid()
Wikibase\Repo\UpdateRepo\UpdateRepoOnMoveJob::verifyValid |
( |
Item |
$item | ) |
|
|
protected |
◆ $normalizedPageName
Wikibase\Repo\UpdateRepo\UpdateRepoOnMoveJob::$normalizedPageName = null |
|
private |
◆ $siteLookup
Wikibase\Repo\UpdateRepo\UpdateRepoOnMoveJob::$siteLookup |
|
private |
The documentation for this class was generated from the following file: