[Mediawiki-l] Locking the Database

Zain Memon zain at voltage.com
Mon Jun 27 18:50:16 UTC 2005


http://meta.wikimedia.org/wiki/MediaWiki_FAQ#How_do_I_completely_lock_my
_database.3F

Set $mgReadOnlyFile in CommonSettings.php to the name of a file, then
put the reason for the lock inside the file. The contents of the file
will be displayed to anyone trying to edit the wiki.

Note that readonlyfile is not guaranteed to be absolutely safe; if you
need to guarantee that MediaWiki will never write to the data, you need
to do this on the database itself (e.g. revoke UPDATE,INSERT,DELETE from
the wiki user, or put MySQL into read-only mode).

-----Original Message-----
From: mediawiki-l-bounces at Wikimedia.org
[mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Arthur Guy
Sent: Monday, June 27, 2005 11:50 AM
To: 'MediaWiki announcements and site admin list'
Subject: [Mediawiki-l] Locking the Database

How do you lock the database from edits, like the en.wikipedia.org is at
the
moment?

I am sure it's just a setting in the default settings file but I can't
find
it

Is it also possible to lock the database from one of the options in the
special name space or from some ware else in on the website?

 

Thanks

Arthur

 

 <mailto:arthur at astarsolutions.co.uk> arthur at astarsolutions.co.uk

 






'a star solutions' disclaimer
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. 
If you are not the intended recipient of this message you are hereby
notified that any use, review, retransmission, dissemination,
distribution, reproduction or any action taken in reliance upon this
message is prohibited.
If you received this in error, please contact the sender and delete the
material from any computer. 
Any views expressed in this message are those of the individual sender
and may not necessarily reflect the views of the company.
We believe that this communication is free from viruses and other
potentially dangerous programmes, but the recipient opens this
communication at their own risk. 
We assume no responsibility for any loss or damage arising from the
receipt or use of this communication

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list