Merken für die zentrale Installation:
Setzen von Benutzerrechten:
Setting user rights in MediaWiki
Configuring access restrictions to your wiki
Also see Preventing_Access You can customise user restrictions by placing some
or all of the commands below into LocalSettings.php.
# Specify who can edit: true means only # logged in users may edit pages $wgWhitelistEdit = true; # Pages anonymous (not-logged-in) users # may see $wgWhitelistRead = array ("Main Page", "Special:Userlogin", "Wikipedia:Help"); # Specify who may create new accounts: # 0 means no, 1 means yes $wgWhitelistAccount = array ( 'user' => 0, 'sysop' => 1, 'developer' => 1 );
If new account creation is limited to sysops only, it must be performed by first logging in as a sysop user, and then visiting the Special:Userlogin page. (Note: that page doesn’t seem to appear anywhere as a link once you’re logged in. You actually have to manually enter the address http://<YOUR_WIKI_SERVER_ROOT_HERE> /index.php/Special:Userlogin into the address bar.)
sspence corrects: On our server, this is actually found at http://<YOUR_WIKI_SERVER_ROOT_HERE> /index.php?title=Special:Userlogin
This might be useful for cases where editing (or even read access) should be performed by only a select group. MediaWiki can be a useful group collaboration tool on small as well as large scales.
When creating the whitelist, don’t forget to add the stylesheet pages, for example „MediaWiki:Monobook.css“ and „MediaWiki:Monobook.js“. Also add „-“ for the default style.
$wgSysopUserBans = false; # Allow sysops to ban logged-in users $wgSysopRangeBans = false; # Allow sysops to ban IP ranges