Mailing List Archive

quick software question...
Does the current software have a quick mechanism to make the site
read-only?

Also, is there anything that would make it easy to have "articles and
searching only". That is, no user logins or anything fancy, just the
ability to read the articles and search through them.

--
"Jason C. Richey" <jasonr@bomis.com>
Re: quick software question... [ In reply to ]
On Fri, 7 Feb 2003, Jason Richey wrote:
> Does the current software have a quick mechanism to make the site
> read-only?

Yes, there's a special file under the uploads directory such that if it
exists, the wiki is in read-only mode. Someone logged in with developer
access can switch it in and out via special pages; or it can be manually
created/deleted. The location and name of the file are set in
LocalSettings.php.

> Also, is there anything that would make it easy to have "articles and
> searching only". That is, no user logins or anything fancy, just the
> ability to read the articles and search through them.

Read-only mode blocks logins IIRC, but if someone is already logged in it
doesn't ignore their cookies.

To disable many of the special pages, set $wgMiserMode = true in
LocalSettings; and probably change the message in language*.php. Hmm,
though it might be useful to remove them from the menus to.

-- brion vibber (brion @ pobox.com)