Wikibase
MediaWiki Wikibase extension
Wikibase\Client\UpdateRepo\UpdateRepoOnDelete Class Reference

Provides logic to update the repo after page deletes in the client. More...

+ Inheritance diagram for Wikibase\Client\UpdateRepo\UpdateRepoOnDelete:
+ Collaboration diagram for Wikibase\Client\UpdateRepo\UpdateRepoOnDelete:

Protected Member Functions

 getJobName ()
 Get the name of the Job that should be run on the repo. More...
 
 getJobParameters ()
 Get the parameters for creating a new JobSpecification. More...
 
- Protected Member Functions inherited from Wikibase\Client\UpdateRepo\UpdateRepo
 getEntityId ()
 Get the EntityId that we want to update. More...
 
 getJobDelay ()
 Get the time (in seconds) for which the job execution should be delayed (if delayed jobs are enabled). More...
 

Additional Inherited Members

- Public Member Functions inherited from Wikibase\Client\UpdateRepo\UpdateRepo
 __construct (SiteLinkLookup $siteLinkLookup, LoggerInterface $logger, ClientDomainDb $clientDb, 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...
 
- Protected Attributes inherited from Wikibase\Client\UpdateRepo\UpdateRepo
 $user
 
 $siteId
 
 $title
 

Detailed Description

Provides logic to update the repo after page deletes in the client.

Author
Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >

Member Function Documentation

◆ getJobName()

Wikibase\Client\UpdateRepo\UpdateRepoOnDelete::getJobName ( )
protected

Get the name of the Job that should be run on the repo.

Returns
string

Reimplemented from Wikibase\Client\UpdateRepo\UpdateRepo.

◆ getJobParameters()

Wikibase\Client\UpdateRepo\UpdateRepoOnDelete::getJobParameters ( )
protected

Get the parameters for creating a new JobSpecification.

Returns
array

Reimplemented from Wikibase\Client\UpdateRepo\UpdateRepo.


The documentation for this class was generated from the following file: