Close a wiki
From Wikitech
(Difference between revisions)
(update) |
(quicker way to close a wiki, no need to run sync-common-all) |
||
| 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 the wiki from groupOverrides and groupOverrides2 in InitialiseSettings.php | * Remove the wiki from groupOverrides and groupOverrides2 in InitialiseSettings.php | ||
| − | * If you didn't modify InitialiseSettings.php in the previous step, run <tt>touch /home/wikipedia/common/ | + | * If you didn't modify InitialiseSettings.php in the previous step, run <tt>touch /home/wikipedia/common/php/wmf-config/InitialiseSettings.php</tt> to trigger the update of the config cache |
| − | * | + | * <tt>sync-common-file closed.dblist</tt> |
| − | + | * <tt>sync-file wmf-config/InitialiseSettings.php</tt> | |
[[Category:How-To]] | [[Category:How-To]] | ||
Revision as of 23:49, 18 April 2011
In order to lock a wiki, do the following:
- Add the wiki to /home/wikipedia/common/closed.dblist
- Remove the wiki from groupOverrides and groupOverrides2 in InitialiseSettings.php
- If you didn't modify InitialiseSettings.php in the previous step, run touch /home/wikipedia/common/php/wmf-config/InitialiseSettings.php to trigger the update of the config cache
- sync-common-file closed.dblist
- sync-file wmf-config/InitialiseSettings.php