Force logins to mediawiki: Difference between revisions
Jump to navigation
Jump to search
Created page with "LocalSettings.php <pre> $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createaccount'] = true; $wgGroupPermissions['*']['read'] = false; </pre>" |
No edit summary |
||
Line 2: | Line 2: | ||
<pre> | <pre> | ||
$wgGroupPermissions['*']['edit'] = false; | $wgGroupPermissions['*']['edit'] = false; | ||
$wgGroupPermissions['*']['createaccount'] = true; | $wgGroupPermissions['*']['createpage'] = false; | ||
$wgGroupPermissions['*']['createaccount'] = false; | |||
#$wgGroupPermissions['*']['suppressrevision'] = true; | |||
#$wgGroupPermissions['*']['deletedtext'] = false; | |||
$wgGroupPermissions['*']['read'] = false; | $wgGroupPermissions['*']['read'] = false; | ||
</pre> | </pre> |
Latest revision as of 19:11, 22 January 2017
LocalSettings.php
$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['*']['createaccount'] = false; #$wgGroupPermissions['*']['suppressrevision'] = true; #$wgGroupPermissions['*']['deletedtext'] = false; $wgGroupPermissions['*']['read'] = false;