Question
- We want to move our wiki from one server to another.
- How can we easily lock the whole wiki? We do not want anybody to loose changes if somebody is just editing when we are moving the wiki.
- Can we recognize which topis are in edit mode?
- Can we block the edit script?
- Thanks for your help.
Environment
--
KirstinWeber - 25 Jul 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
A very simple solution might be to post on the main page of your wiki that the server will be down for maintenance at a certain time (i.e. early in the morning / late in the evening). You can change the preferences of each web so that only
TWikiAdmins can log in - thus preventing people from viewing any information / editing any information. Then switch back the user rights later on.
An example of the configuration you may want to do in
WebPreferences could be:
Set DENYWEBVIEW =
Set ALLOWWEBVIEW = TWikiAdminGroup
Set DENYWEBCHANGE =
Set ALLOWWEBCHANGE =
Set DENYWEBRENAME =
Set ALLOWWEBRENAME =
--
BrianMahoney - 25 Jul 2007
You could use the following in
Main.TWikiPreferences to display a message at the top of each page:
- Set BROADCASTMESSAGE =
| NOTE: Edit and Attach will be disabled today between 05:00 PM and 06:00 PM PDT (00:00 to 01:00 GMT) for a scheduled TWiki maintenance. |
Assuming your skin supports that.
You could also use Apache to deny access to the
edit and
attach scripts, which might be easier if you have a lot of webs and don't want to set the preferences of each one.
--
AndrewRJones - 26 Jul 2007
Thanks for your help.
--
KirstinWeber - 27 Jul 2007