smw.entityIdDisposer

From semantic-mediawiki.org
< Jobs
Administrator manualJobssmw.entityIdDisposer

smw.entityIdDisposer

Usage

use SMW\Services\ServicesFactory;

$jobFactory = ServicesFactory::getInstance()->newJobFactory();

$entityIdDisposerJob = $jobFactory->newEntityIdDisposerJob(
    $title,
    $parameters
);

$entityIdDisposerJob->insert();

Notes

The job is expected to be executed only when called from the command line (waitOnCommandLine) to avoid having the MediaWiki scheduler to dispatch the job while running on GET requests.