Maintenance script "updateEntityCountMap.php" example (no parameter)

From semantic-mediawiki.org
< Maintenance script "update­Entity­Count­Map.php"
Maintenance script "update­Entity­Count­Map.php"Maintenance script "updateEntityCountMap.php" example (no parameter)

The following command does mass populating of database field "smw_countmap" in the "smw_object_aux" database table when initially upgrading to Semantic MediaWiki 3.2.0Released on 7 September 2020 and compatible with MW 1.31.0 - 1.35.x. or later:

Shell command
php path/to/extensions/SemanticMediaWiki/maintenance/updateEntityCountMap.php
Prompt shown

The prompt shown gives an example of the output by Semantic MediaWiki 3.2.0Released on 7 September 2020 and compatible with MW 1.31.0 - 1.35.x. and later1:

Semantic MediaWiki:                                             3.2.0-alpha
MediaWiki:                                                           1.34.0

--- About -----------------------------------------------------------------

This script runs an update on the `smw_countmap` field.

--- Field update ----------------------------------------------------------

Fetching fields ...
   ... estimating required updates ...                         83324 (rows)
   ... updating (current/last) ...                   244985 / 244985 (100%)
   ... done.

References

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