In localsettings.php
# Disallow edits by non-authenticated users $wgWhitelistEdit = true;
al.
-----Original Message----- From: Josh Santangelo [mailto:joshs@smashingideas.com] Sent: Wednesday, 6 April 2005 1:59 p.m. To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] registered only
This is probably a dumb question, but I'm not finding the answer anywhere. Is there a way to lock down mediawiki so that nothing can be edited if you're not registered and logged in?
-josh
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Great, thank you. Is there a list somewhere of all the settings you can put in there? That wasn't in mine by default.
When I set up my mediawiki for the first time, it was generating JavaScript errors all over the place. I just had to stumble upon...
$wgUseSiteJs = false; $wgAllowUserJs = false;
...to get that sorted out.
-josh
Alistair Johnson wrote:
In localsettings.php
# Disallow edits by non-authenticated users $wgWhitelistEdit = true;
al.
-----Original Message----- From: Josh Santangelo [mailto:joshs@smashingideas.com] Sent: Wednesday, 6 April 2005 1:59 p.m. To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] registered only
This is probably a dumb question, but I'm not finding the answer anywhere. Is there a way to lock down mediawiki so that nothing can be edited if you're not registered and logged in?
Great, thank you. Is there a list somewhere of all the settings you can put in there? That wasn't in mine by default.
The $wgWhitelistEdit = true setting is documented here:
http://meta.wikimedia.org/wiki/Setting_user_rights_in_MediaWiki
Which you can get to by going here:
http://meta.wikimedia.org/wiki/Help:Contents
and clicking on For system administrators and then Security.5 "Setting user rights (inside wiki environment)".
mediawiki-l@lists.wikimedia.org