Status: | effective |
Progress: | 100% |
Version: | 3.2.0+ |
Help:Maintenance script updateEntityCountMap.php
MediaWiki file: Maintenance script updateEntityCountMap.php | |
---|---|
Location: | /maintenance/ |
Source code: | script updateEntityCountMap.php master • script updateEntityCountMap.php 1.41.1 • script updateEntityCountMap.php 1.40.3 • script updateEntityCountMap.php 1.39.7 |
Classes: | script updateEntityCountMap.php Find code • script updateEntityCountMap.php Find documentation |
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
The "updateEntityCountMap.php"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.
Example
See also
- Help page on upgrading
- Help page on incomplete upgrade checking
- Help page on database field "smw_countmap"
- Help page on maintenance script "setupStore.php"No description was provided.
- Help page on maintenance script "update.php" (MediaWiki.org)
- Help page on setup information file ".smw.json"
References
- ^ gh:smw:4613