Last modified: 2007-02-02 18:45:22 UTC
Gentlemen, in LocalSettings.php, use both $wgGroupPermissions['*']['edit']=false; $wgGroupPermissions['user']['edit']=false; Now watch as the user first gets a "You have to log in to edit pages." Then when finally accomplishing that, "This page has been locked to prevent editing." Ha ha ha, barrel of laughs.
This is not the way to make a wiki readonly. You should either: - lock the database - set $wgReadOnly with the reason - use $wgReadOnlyFile pointing to a file containing the message.
It *is* the way to make the wiki read-only for non-sysops.
Customize the user interface for your rare and weird usage pattern.