MediaWiki Config

From KdjWiki

Jump to: navigation, search

Replace Wiki Logo Image

  • Create your image and save to /wikiroot/skins/common/images
  • Edit /wikiroot/LocalSettings.php:

replace:

 $wgLogo = "$wgStylePath/common/images/wiki.png";

with:

 $wgLogo = "$wgStylePath/common/images/myimagefilename.ext";


Disable Account Creation

Add the following line to the LocalSettings.php file:

 $wgWhitelistAccount = array ( "sysop" => 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.

Disallow Un-Logged-In Users To Edit WiKi

Add the following line to LocalSettings.php:

 $wgWhitelistEdit = true;
Personal tools