Translations:Manual:$wgReadOnly/4/en

If set to a string in "LocalSettings.php",  disallows editing, displaying the string given as the reason. The reason provided is preceded by the contents of MediaWiki:Readonlywarning.