Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (Title $title, $params=[]) | |
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 | FORCED_UPDATE = 'forcedUpdate' |
const | CHANGE_PROP = 'changeProp' |
const | SEMANTIC_DATA = 'semanticData' |
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 | |
UpdateJob is responsible for the asynchronous update of semantic data using MediaWiki's JobQueue infrastructure.
Update jobs are created if, when saving an article, it is detected that the content of other pages must be re-parsed as well (e.g. due to some type change).
GNU GPL v2+
SMW\MediaWiki\Jobs\UpdateJob::__construct | ( | Title | $title, |
$params = [] |
|||
) |
Title | $title | |
array | $params |
SMW\MediaWiki\Jobs\UpdateJob::run | ( | ) |
const SMW\MediaWiki\Jobs\UpdateJob::CHANGE_PROP = 'changeProp' |
Indicates the use of the _CHGPRO property as base for the SemanticData
const SMW\MediaWiki\Jobs\UpdateJob::FORCED_UPDATE = 'forcedUpdate' |
Enforces an update independent of the update marker status
const SMW\MediaWiki\Jobs\UpdateJob::SEMANTIC_DATA = 'semanticData' |
Indicates the use of the semanticData parameter