User Tools

Site Tools


wiki:lock_down_mediawiki

Lock down Mediawiki

Add following directives to LocalSettings.php.

Disable user account creation

$wgGroupPermissions['*']['createaccount'] = false;

Disable page creation editing

$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createpage'] = false;

Block login of disabled user accounts

$wgBlockDisablesLogin=true;

See also

References

wiki/lock_down_mediawiki.txt · Last modified: 2020/12/17 12:08 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki