KB wiki-5: Difference between revisions
From SWCP Support Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
===I don't want the public to be able to edit my wiki or create accounts on the fly, how?=== | |||
This is a setting in LocalSettings.php, the primary configuration file. | This is a setting in LocalSettings.php, the primary configuration file. | ||
Latest revision as of 16:46, 6 June 2008
I don't want the public to be able to edit my wiki or create accounts on the fly, how?
This is a setting in LocalSettings.php, the primary configuration file.
Add the following lines and you should be good.
$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createaccount'] = false;
These constrain the non-logged in users from editting pages, or creating accounts.