Delete a wiki
Usually, wikis are closed, not deleted.[1] Closing a wiki means that it is not editable anymore, but the content is still available.
When we delete a wiki, we usually only delete it from all.dblist, which makes MediaWiki claim that the wiki does not exist. Actually deleting the data from all of the database servers would be quite a bit more complicated, and is usually not worth doing.
To delete a wiki:
- Read How to do a configuration change
- Remove the wiki from all.dblist, remove all other references from CommonSettings and InitialiseSettings etc., remove the logo from w/static/images/project-logos
- Add the wiki to deleted.dblist
For small wikis it should be possible to clean up the centralauth database manually:
- Run
sql centralauth
- SELECT COUNT(*) FROM localnames WHERE ln_wiki='wikidb';
- If this is less than say 20,000:
- DELETE FROM localuser WHERE lu_wiki='wikidb';
- DELETE FROM localnames WHERE ln_wiki='wikidb';
If you don't do this, the result is T30393.
Notes
- ↑
<bawolff> Shirley: creating a wiki is like creating a baby, yes you should have a good reason to create one, but if you don't for whatever reason, you should have an _extra_ good reason for killing one