KB wiki-5: Difference between revisions

From SWCP Support Wiki
Jump to navigationJump to search
New page: This is a setting in LocalSettings.php, the primary configuration file. Add the following lines and you should be good. $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*...
 
No edit summary
 
(One intermediate revision by the same user not shown)
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.


Line 6: Line 8:
  $wgGroupPermissions['*']['createaccount'] = false;
  $wgGroupPermissions['*']['createaccount'] = false;


These contrain the non-logged in users from editting pages, or creating accounts.
These constrain the non-logged in users from editting pages, or creating accounts.

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.