Help:Maintenance script updateEntityCountMap.php

From Linux Web Expert

Template:MW file/noslash Template:MW file/noslash The "updateEntityCountMap.php" maintenance script allows to do mass populating of database field "smw_countmap" in the "smw_object_aux" database table when initially upgrading to Semantic MediaWiki 3.2.0Released on an unknown date unknown versions of MediaWiki or later and only has to be run once. As soon as you have successfully upgraded it will no longer be necessary to use it. The maintenance script was introduced in Semantic MediaWiki 3.2.0Released on an unknown date unknown versions of MediaWiki.1

Note

During an upgrade to Semantic MediaWiki 3.2.0Released on an unknown date unknown versions of MediaWiki and later the newly created database field "smw_countmap" in the "smw_object_aux" database table initially needs to be populated with data. However due to the sheer size of the "smw_object_aux" database table the update of database field "smw_countmap" could hog resources making maintenance script "update.php" (MediaWiki.org) or alternatively maintenance script "setupStore.php"No description was provided. run for a considerable time. To mitigate this the initial population using this maintenance script is run in a second step during the upgrade.

The need for running this maintenance script is visibly displayed by an error message on every page of the wiki informing that the wiki's system administrator still has to run the script to complete the upgrade. Once this maintenance script was run as a follow up to "update.php" or alternatively "setupStore.php" the will no longer appear and the upgrade of the software was completed.

Usage

php extensions/SemanticMediaWiki/maintenance/updateEntityCountMap.php

Parameters

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.

Example

See also

#scite could not render a citation text for reference "gh:smw:4613" because type "pullrequest" was not assigned to a template.

References

  1. ^ gh:smw:4613