Semantic MediaWiki and related extensions
|
ID_TABLE
with the help of the PropertyTableIdReferenceDisposer.php
(removes all remaining references from other tables for a particular ID).EntityIdDisposerJob.php
use SMW;
$jobFactory = ServicesFactory::getInstance()->newJobFactory();
$entityIdDisposerJob = $jobFactory->newEntityIdDisposerJob( $title, $parameters );
$entityIdDisposerJob->insert();
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.