Manual:Desinstalação
Desinstalar MediaWiki por completo pode ser realizado em dois passos: removendo a diretoria onde o MediaWiki foi instalado, e eliminar a base de dados do MediaWiki de MySQL ou Postgres.
Eliminação dos ficheiros do MediaWiki
To uninstall the wiki itself, simply delete the directory containing the wiki's files. For example, if you installed MediaWiki to /var/www/mediawiki-xyz, you might do:
rm -rf /var/www/mediawiki-xyz
Eliminação da base de dados
wikidb
below with whatever name you used for your database.MySQL
To remove the MySQL database holding your wiki, use the mysql utility to interactively connect to MySQL as a user with adequate permissions, then issue the following command at the mysql> prompt:
DROP DATABASE wikidb;
Alternatively, you can use a DB administrative tool, such as PHPMyAdmin, to perform the same action.
PostgreSQL
To remove the Postgres database holding your wiki, run the following command:
dropdb wikidb
or connect to the database as a user with the correct permissions and issue:
DROP DATABASE wikidb;