________________________________
From: mediawiki-l-bounces@lists.wikimedia.org on behalf of Emufarmers Sangly Sent: Tue 10/07/2007 03:19 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] proper update procedure
On 7/9/07, Hiram Clawson hiram@soe.ucsc.edu wrote:
Good Afternoon MediaWiki Fans:
I'm curious what procedures folks use to safely update a MediaWiki installation that is in use.
Do you disable the system temporarily while running the update procedure ?
Or create a copy of the site and do the update there, then switch ?
Or simply run the update procedure and cross your fingers and hope nothing goes wrong ?
It isn't clear to me how to properly update a running system.
--Hiram
I just set the wiki to read-only (with Special:Lockdb) and run the update. I don't know if it would actually mess anything up if I didn't set it to read-only, but I figure better safe than sorry.
-- Arr, ye emus, http://emufarmers.com
======
When I use Special:Lockdb I get a pemission error:
Permission error
http://mike2.openmethodology.org/index.php/Special:Lockdb#searchInput You are not allowed to execute the action you have requested.
So what I have doing is setting the following variable in LocalSettings.php
$wgReadOnly = "The wiki software is currently being updated bla bla bla.";
The message is displayed on the edit page where all edit functionality is disabled. You can use HTML tags within the quotes to improve the visibility of the message (e.g. <b>The wiki ....</b>).
-Andi
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
*************************************************************************************************** The information in this email is confidential and may be legally privileged. Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system. ***************************************************************************************************