Close a wiki

From Wikitech
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
* <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
 
* Remove the wiki from groupOverrides and groupOverrides2 in InitialiseSettings.php
 +
* <tt>touch /home/wikipedia/common/wmf-deployment/wmf-config/InitialiseSettings.php</tt> to trigger the update of the config cache
 
* 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 05:36, 31 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
  • touch /home/wikipedia/common/wmf-deployment/wmf-config/InitialiseSettings.php to trigger the update of the config cache
  • 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.

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox