Sunday, April 8, 2007

How to make Mediawiki readonly?

This is usually very useful when you want to freeze the database changes to do migrations, upgrades, etc.

  1. make sure the /image directory is writable
  2. go to /image directory and write whatever reason for a readonly wiki in lock_yBgMBwiR.


  1. Change $wgReadOnly in LocalSettings.php to the reason for a readonly wiki.

No comments: