Manual:Lock the database/ja

MediaWiki 1.5から を内に追加できるようになりました. 読み取り専用モードの理由を記述する文字列に設定することができます. (Usual wiki markup is allowed in this string.) これはウィキでの編集を制限するためです.

例:

Alternatively, set  in the "LocalSettings.php" file 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 the read-only mode does not prevent all writes to the database. If you need to prevent all writes, 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).