Close a wiki
Appearance
This page may be outdated or contain incorrect details. Please update it if you can.
In order to lock a wiki, do the following.
Wikimedia configuration
- Read How to do a configuration change
- Run
composer manage-dblist close <dbname> - Remove the wiki from groupOverrides and groupOverrides2 in
wmf-config/core-Permissions.php - Search
wmf-config/InitialiseSettings.phpfor the language code and the wiki db name, and consider removing it. - Remove the wiki from the wikimedia/portal repository.
Parsoid
Parsoid has its own copy of SiteMatrix, which needs updating using tools/fetch-sitematrix.js in mediawiki/services/parsoid.git.
Then, once merged, it must be deployed; if not, switch to visual editor will trigger Failed to load resource: the server responded with a status of 404 () errors.
Cxserver
- Remove wiki from
cxserver/config/languages.yaml
CentralAuth
- Remove wiki from all wiki sets via m:Special:WikiSets (or ask on m:SRM).
AbuseFilter
- Check whether the
abuse_filter_logtable has any entries:- If it does, then list the wiki explicitly in
wmgUseAbuseFilterinInitialiseSettings.phpas enabled, so these entries can be viewed post wiki closure - If it does not, then consider uninstalling AbuseFilter from the wiki and dropping all the database tables to save space on the closed wikis
- If it does, then list the wiki explicitly in
CheckUser
- Check whether the
cu_logtable has any entries:- If it does not, then consider uninstalling the extension and dropping the database tables for the extension. You may want to wait for a few weeks for this in case there is a need to run a check on edits made before the closure
SecurePoll
Check whether Special:SecurePoll has any local elections defined. If so, then update wmgUseSecurePoll to ensure that SecurePoll remains enabled. If not, then consider dropping the SecurePoll tables to save space