| Status: | effective |
| Progress: | 100% |
| Version: | 3.2.0+ |
Maintenance scripts are used to perform various administrative, import, maintenance and upgrade tasks. The scripts are deployed in the maintenance sub-directory of the Semantic MediaWiki software.
The following table lists the 16 maintenance scripts are made available by Semantic MediaWiki:
| Name | Description | Help | Added |
|---|---|---|---|
| disposeOutdatedEntities.php | Allows to dispose outdated entities | help page | 3.2.0 |
| dumpRDF.php | Allows to do an RDF export of existing triples | help page | 2.0.0 |
| populateHashField.php | Allows to do mass populating of database field "smw_hash" when initially upgrading to Semantic MediaWiki 3.0.1 and later | help page | 3.0.1 |
| purgeEntityCache.php | Allows to purge all cache entries including associates of entities at once. | help page | 3.1.0 |
| rebuildConceptCache.php | Allows to rebuild (create, update, and delete) concept caches | help page | 1.9.2 |
| rebuildData.php | Allows to rebuild all the semantic data for a selected data backend/store | help page | 1.9.2 |
| rebuildElasticIndex.php | Allows to rebuild all the semantic data for the Elasticsearch index | help page | 3.0.0 |
| rebuildElasticMissingDocuments.php | Allows to find missing entities (aka documents) from Elasticsearch and schedule "smw.update" jobs for those identified subjects | help page | 3.1.0 |
| rebuildFulltextSearchTable.php | Allows to rebuild the full text search data table | help page | 2.5.0 |
| rebuildPropertyStatistics.php | Allows to rebuild the property usage statistics | help page | 1.9.0 |
| removeDuplicateEntities.php | Allows to remove all duplicate entities with no reference in any other table from the entity table | help page | 3.0.0 |
| runImport.php | Allows the import of content from import files | help page | 3.2.0 |
| setupStore.php | Allows to set up the data backend/store | help page | 2.0.0 |
| updateEntityCollation.php | Allows to do mass updates of database field "smw_sort" on the occasion that setting for the entity collation was changed | help page | 3.0.0 |
| updateEntityCountMap.php | Allows to do mass populating of database field "smw_countmap" when initially upgrading to Semantic MediaWiki 3.2.0 and later | help page | 3.2.0 |
| updateQueryDependencies.php | Allows to update all entities that hold embedded queries | help page | 3.1.0 |