Maintenance script "setupStore.php" example (--delete
parameter)
From semantic-mediawiki.org
The following command deletes an existing Storage Engine used with Semantic MediaWiki. Usually the --delete
parameter is chosen if you either want to deinstall Semantic MediaWiki or if you would like to migrate from one store to another one, e.g. from a relational database to a RDF database. In the latter case you also use the --backend
parameter to specify which of the existing backends should be deleted.
- Shell command
php path/to/extensions/SemanticMediaWiki/maintenance/setupStore.php --delete
- 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
--- Notice ----------------------------------------------------------------
You are about to delete all data stored in the SMW backend. To undo this
operation later on, a complete rebuild of the data will be needed.
If you are sure you want to proceed, type DELETE.
>
References
- ^ Semantic MediaWiki: GitHub pull request gh:smw:4403