MediaWiki master
MediaWiki\JobQueue\GenericParameterJob Interface Reference

Interface for generic jobs only uses the parameters field and are JSON serializable. More...

Inherits MediaWiki\JobQueue\IJobSpecification.

Inherited by MediaWiki\JobQueue\Jobs\AssembleUploadChunksJob, MediaWiki\JobQueue\Jobs\CdnPurgeJob, MediaWiki\JobQueue\Jobs\DeletePageJob, MediaWiki\JobQueue\Jobs\DuplicateJob, MediaWiki\JobQueue\Jobs\NullJob, MediaWiki\JobQueue\Jobs\PublishStashedFileJob, MediaWiki\JobQueue\Jobs\RevertedTagUpdateJob, MediaWiki\JobQueue\Jobs\UploadFromUrlJob, MediaWiki\Watchlist\ClearUserWatchlistJob, MediaWiki\Watchlist\ClearWatchlistNotificationsJob, UserEditCountInitJob, UserGroupExpiryJob, and UserOptionsUpdateJob.

Collaboration diagram for MediaWiki\JobQueue\GenericParameterJob:

Public Member Functions

 __construct (array $params)
 
- Public Member Functions inherited from MediaWiki\JobQueue\IJobSpecification
 getDeduplicationInfo ()
 Subclasses may need to override this to make duplication detection work.
 
 getParams ()
 
 getReleaseTimestamp ()
 
 getRootJobParams ()
 
 getType ()
 
 hasRootJobParams ()
 
 ignoreDuplicates ()
 
 isRootJob ()
 

Detailed Description

Interface for generic jobs only uses the parameters field and are JSON serializable.

Jobs using this interface require needsPage: false to be set in the JobClasses configuration of their extension.json declaration.

Stability: stable
to implement
Since
1.33

Definition at line 32 of file GenericParameterJob.php.

Constructor & Destructor Documentation

◆ __construct()


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