Close a wiki
From Wikitech
(Difference between revisions)
(Removing from all.dblist would be "Delete a wiki") |
|||
| Line 1: | Line 1: | ||
In order to lock a wiki, do the following: | In order to lock a wiki, do the following: | ||
* Add the wiki to <tt>/home/wikipedia/common/closed.dblist</tt> | * Add the wiki to <tt>/home/wikipedia/common/closed.dblist</tt> | ||
| − | * Remove it from <tt>/home/wikipedia/common/all.dblist</tt> | + | * <s>Remove it from <tt>/home/wikipedia/common/all.dblist</tt></s> |
* 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 10:02, 21 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 - 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.