Close a wiki
From Wikitech
(Difference between revisions)
(Removing from all.dblist would be "Delete a wiki") |
|||
| Line 2: | Line 2: | ||
* Add the wiki to <tt>/home/wikipedia/common/closed.dblist</tt> | * Add the wiki to <tt>/home/wikipedia/common/closed.dblist</tt> | ||
* <s>Remove it from <tt>/home/wikipedia/common/all.dblist</tt></s> | * <s>Remove it from <tt>/home/wikipedia/common/all.dblist</tt></s> | ||
| + | * Remove the wiki from groupOverrides and groupOverrides2 in InitialiseSettings.php | ||
* Run <tt>sync-common-all</tt> (needed to refresh the [[dblist]] files and the interwiki cache, scap is not enough!) | * Run <tt>sync-common-all</tt> (needed to refresh the [[dblist]] files and the interwiki cache, scap is not enough!) | ||
Revision as of 19:22, 23 March 2010
In order to lock a wiki, do the following:
- Add the wiki to /home/wikipedia/common/closed.dblist
-
Remove it from /home/wikipedia/common/all.dblist - Remove the wiki from groupOverrides and groupOverrides2 in InitialiseSettings.php
- Run sync-common-all (needed to refresh the dblist files and the interwiki cache, scap is not enough!)
The wiki will no longer be accessible, attempts to access it will show the "This wiki does not exist" error. Cached pages may remain in Squid and be served to anonymous users for some time.