Maintenance script "dispose­Outdated­Entities.php"

From semantic-mediawiki.org
disposeOutdatedEntities.php
Allows to dispose outdated entities
Further Information
Provided by: Semantic MediaWiki
Added: 3.2.0
Removed: still in use
Location (path): ./extensions/SemanticMediaWiki/maintenance/
Table of Contents

The "disposeOutdatedEntities.php" maintenance script allows to dispose outdated entities, i.e. entities which were marked as deleted. The maintenance script was introduced in Semantic MediaWiki 3.2.0Released on an unknown date and compatible with unknown versions of MediaWiki..1

Depending on the size and editing activity of the respective wiki it is recommended to run this maintenance script either daily or weekly via cron.

Usage[edit]

php disposeOutdatedEntities.php

Using this maintenance script is equivalent to the following script usages in earlier versions of Semantic MediaWiki:

Semantic MediaWiki 2.4.0Released on 9 July 2016 and compatible with MW 1.19.0 - 1.27.x. to Semantic MediaWiki 2.5.8Released on 7 September 2018 and compatible with MW 1.23.0 - 1.30.x.
php rebuildData.php --skip-properties -s 1 -e 1
Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x. to Semantic MediaWiki 3.1.4Released on 8 February 2020 and compatible with MW 1.31.0 - 1.34.x.
php rebuildData.php --skip-properties --dispose-outdated

Parameters[edit]

Maintenance scripts provide generic maintenance parameters, script dependent parameters and depending on the maintenance script script specific parameters which are described on this page if provided.

This script does not provide any script specific parameters.

See also[edit]

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:4484