-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Benjamin Lees wrote:
On Wed, Oct 29, 2008 at 2:55 PM, Evelyn Yoder wrote:
fyi, I figured it out.... I wanted to lock the
database from changes, and
used this command in localsettings.php
$wgReadOnly = 'site maintenance';
Unexpectedly, this is the reason for the problem. Nothing in the MediaWiki
documentation warns that the database will be unusable. I expected that
users could continue to use the site in read-only mode. If anyone has a
reason for this, I'd be interested to hear your explanation.
To solve the issue, I revoked user editing rights to lock it down. All is
well now.
Bug 11533:
https://bugzilla.wikimedia.org/show_bug.cgi?id=11533
Bah! That was a depressing one-line fix that never got applied. :)
Applied now to trunk:
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/42796
To fix this on your local copy quickly:
* open includes/BagOStuff.php
* find the wfReadOnly() call
* replace it with "false", changing this:
function _readonly(){
return wfReadOnly();
}
to this:
function _readonly(){
return false;
}
- -- brion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iEYEARECAAYFAkkJCw0ACgkQwRnhpk1wk44KIgCgllNiH7orHkDUgWRzB4UJrp4g
TLkAn225fS4aXSrtSXPd9K1IAsY0Rkod
=dB4i
-----END PGP SIGNATURE-----