$wgReadOnly only needs a text string to enable it. My experience is that editing is still
allowed but when you go to save you will get the $wgReadOnly string above the editor
telling you that the wiki is readonly. I understand why that may be frustrating for some
who spend time editing only to find the wiki is readonly for some period of time. But you
also must consider that some people may be in the middle of editing when $wgReadOnly is
From: Steve VanSlyck [mailto:firstname.lastname@example.org]
Sent: Monday, April 04, 2011 9:01 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Any ideas why $wgReadOnly doesn't work ?
I'm not the most experienced here but I assume $wgReadOnly would require a
TRUE/FALSE argument rather than a text string.
----- Original Message -----
> I want to move my wiki to another server (and
upgrade at the same time
from 1.14 to 1.16.2).
> I simply need to make the old wiki readonly,
while I move, upgrade and
change the redirect URL - so I placed $wgReadOnly =
> In the localsettings.php file.
MediaWiki-l mailing list