Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (Title $title, $params=[], $jobType=null) | |
run () | |
Public Member Functions inherited from SMW\MediaWiki\Job | |
setStore (Store $store) | |
isEnabledJobQueue ( $enableJobQueue=true) | |
pushToJobQueue () | |
getType () | |
getJobCount () | |
hasParameter ( $key) | |
getParameter ( $key, $default=false) | |
setParameter ( $key, $value) | |
insert () | |
lazyPush () | |
setDelay ( $delay) | |
ignoreDuplicates () | |
waitOnCommandLineMode () | |
Public Attributes | |
const | JOB_COMMAND = 'smw.changePropagationUpdate' |
Additional Inherited Members | |
Static Public Member Functions inherited from SMW\MediaWiki\Job | |
static | batchInsert ( $jobs) |
static | newRootJobParams ( $key='', $title='') |
Protected Member Functions inherited from SMW\MediaWiki\Job | |
getJobQueue () | |
Protected Attributes inherited from SMW\MediaWiki\Job | |
$isEnabledJobQueue = true | |
$jobQueue | |
$jobs = [] | |
$store = null | |
Make sufficient use of the job table by only tracking remaining jobs without any detail on an individual update count.
Use ChangePropagationUpdateJob
to easily count the jobs and distinguish them from other UpdateJob
.
`JobQueueGroup::singleton()->get( 'SMW' )->getSize()`
GNU GPL v2+
SMW\MediaWiki\Jobs\ChangePropagationUpdateJob::__construct | ( | Title | $title, |
$params = [] , |
|||
$jobType = null |
|||
) |
Title | $title | |
array | $params | job parameters |
SMW\MediaWiki\Jobs\ChangePropagationUpdateJob::run | ( | ) |
const SMW\MediaWiki\Jobs\ChangePropagationUpdateJob::JOB_COMMAND = 'smw.changePropagationUpdate' |
Identifies the job queue command