smw.entityIdDisposer
- Description: The job is responsible for removing all outdated entities from the
ID_TABLE
with the help of thePropertyTableIdReferenceDisposer.php
(removes all remaining references from other tables for a particular ID). - Reference class:
EntityIdDisposerJob.php
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.