Maintenance script "setupStore.php" example (--delete parameter)

From semantic-mediawiki.org
< Maintenance script "setup­Store.php"
Maintenance script "setup­Store.php"Maintenance script "setupStore.php" example (--delete parameter)

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 an unknown date and compatible with unknown versions of MediaWiki. 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

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