Manual:Configuration tips and tricks

<-MediaWiki User's Guide


 * In order to prevent new user registrations, the following line could be added to the LocalSettings.php file:


 * $wgWhitelistAccount = array ( "sysop" => 1, "developer" => 1 );


 * Note: New users will still be able to be created by sysops, in the following manner:


 * Go to Special:Userlogin, when logged in as a sysop. Enter a username and an email address, and click the "by email" button.  The account will be created with a random password which is then emailed to the given address.


 * By adding the following line to LocalSettings.php, it is possible to entirely disable anonymous editions:


 * $wgWhitelistEdit = true;


 * To prevent a special page from being listed at Special:Specialpages, edit SpecialPage.php and change the relevant entry to be an instance of UnlistedSpecialPage instead of SpecialPage.


 * Question: I want to be tyrannical (just registered users can edit) on the page itself, but still allow general access to Discuss this page/Post a comment. Can this be done?

Next page: FAQ >