Could you not rename index.php to index_old.php and put a new one up with some nice message and then revert after the upgrade?
I just tried it and it appears to work on my dev site. Gives you total control on what people see and can easily be changed back in seconds.
Paul
On 2/26/07 11:29 AM, "Fernando Correia" fernandoacorreia@gmail.com wrote:
2007/2/26, Jan Steinman Jan@bytesmiths.com:
Seriously, if you simply stop MySQL, the user will get such a message. Of course, if MySQL is used for other things, you can't do that.
Thanks, but I'd like to be able to show this message while the upgrade script is updating the database... The solution proposed, to use the read-only message, is probably an acceptable alternative, although during the version upgrade some error message could be generated to the user.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l