Close a wiki

From Wikitech
Jump to navigation Jump to search
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
  • Add the wiki to closed.dblist
  • Remove the wiki from groupOverrides and groupOverrides2 in wmf-config/core-Permissions.php
  • Search touch wmf-config/InitialiseSettings.php for the language code and the wiki db name, and consider removing it.
  • If you didn't modify InitialiseSettings.php in the previous steps, run touch wmf-config/InitialiseSettings.php on the deployment server to trigger the update of the config cache
  • 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

See also